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

On 4 August 2010 at 16:05 Lennart Kats commented:

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 ;)


On 4 August 2010 at 16:19 Zef Hemel commented:

Yeah… as discussed, that doesn’t work (for me).


On 10 August 2010 at 19:53 Lennart Kats commented:

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 for Stratego* tables). Needs further investigation. I added this issue to the list of Spoofax/55.


On 13 August 2010 at 15:49 Lennart Kats closed this issue.

On 13 August 2010 at 15:49 Lennart Kats commented:

Fixed in r21168. May have been caused by Eclipse 3.6 sending different resource change events.


On 4 October 2010 at 12:40 Tobi Vollebregt reopened this issue.

On 4 October 2010 at 12:45 Tobi Vollebregt commented:

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:

  1. Re-opening .str files
  2. Refreshing the parse table
  3. Deleting the parse table, refreshing, and then rebuilding the project
  4. Modifying .str files in the editor to trigger editor-analyze
  5. Closing the project and reopening it

The only thing I found that does work is restarting Eclipse.


On 8 January 2013 at 16:11 Eelco Visser removed tag @lennartkats

On 9 January 2013 at 10:53 Gabriël Konat tagged concrete-syntax

Log in to post comments