Updates to Stratego-X.sdf only become visible after Eclipse restart
When I update my meta sdf file, e.g. by adding a new meta variable, these changes do not become available in the editor until an Eclipse restart. Compiling and reopening a stratego file that uses does not work. Maybe it’s being cached somewhere?
Submitted by Zef Hemel on 4 August 2010 at 15:56
Issue Log
The parse table only gets reloaded after it is refreshed. See https://mailman.st.ewi.tudelft.nl/pipermail/users/2010-June/000193.html for a manual fix in the build file. It would be nice if this was automated somehow though ;)
Yeah… as discussed, that doesn’t work (for me).
Not sure what could be causing this. Whenever a new/updated parse table appears in the workspace, all editor descriptors that can be used with that table should be reloaded (e.g., a table
Stratego-JS.tbl
would reload the Stratego editor since it specifies it can be used forStratego*
tables). Needs further investigation. I added this issue to the list of Spoofax/55.
Fixed in
r21168
. May have been caused by Eclipse 3.6 sending different resource change events.
Unfortunately this issue is still present for me. (Eclipse 3.6.1 w/ Spoofax 0.5.3.7)
Any change to Stratego-X.sdf needs a restart of eclipse to get reflected in the .str files.
What I tried (after suggestions from Lennart too) and doesn’t help:
- Re-opening .str files
- Refreshing the parse table
- Deleting the parse table, refreshing, and then rebuilding the project
- Modifying .str files in the editor to trigger editor-analyze
- Closing the project and reopening it
The only thing I found that does work is restarting Eclipse.
Log in to post comments