Closed nittka closed 6 years ago
I reused the console as it is (including the static getter) because it was not a public class. Moving the job would require opening up the console API (make FACTORY public... etc.). Would this be fine with you? I would not like to duplicate the console code...
How about renaming CompilerConsole to LilyPondConsole, placing it an a "console" package and keep the static getter methods there (getCompilerConsole(IFile) and getSyntaxUpdaterConsole())? This seems a clean approach to me.
I will make the changes after the other PR is finished - as the CompilerJob is involved in both, I want to keep the merge conflicts to a minimum.
How about renaming CompilerConsole to LilyPondConsole, placing it an a "console" package and keep the static getter methods there (getCompilerConsole(IFile) and getSyntaxUpdaterConsole())?
Yes, this would be the cleanest approach. Could you please perform these refactorings?
Of course - will be done soon.
I have rebased the branch on master and made the console refactoring as discussed.
Cool, thanks!
This PR addresses #167. Syntax update is removed from the compilation. A separate syntax update job is introduced. The syntax updater preferences are separated from the compiler preferences.