thSoft / elysium

LilyPond IDE for Eclipse
http://elysium.thsoft.hu
14 stars 3 forks source link

update syntax does not work on Windows #128

Closed nittka closed 6 years ago

nittka commented 8 years ago

The update syntax compiler preference does not work on Windows. I guess this is because the file used is a python script and not immediately executable.

nittka commented 6 years ago

I have tried to modify the command such that convert-ly is invoked. I get the output

convert-ly.py (GNU LilyPond) 2.18.2

convert-ly.py: Processing `score.ly'... Applying conversion:

and a score.ly~ file is created. However, it is identical to the original file. The missing verion is not added. What is the syntax updater supposed to do?

nittka commented 6 years ago

Another question concerning the current implementation. CompilerJob#updateSyntax always adds the --edit option and a potentially open file is closed (and then reopened). So isn't adding that option in SyntaxUpdaterProcessBuilderFactory redundant?

thSoft commented 6 years ago

Thank you, the --edit option was indeed added twice. I removed it as well as the commented out code.