You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if the Xtend Eclipse Editor could be configured to apply the formatting whenever a file is save (like Preferences / Java / Editor / Save Actions / Format source code for Java).
I am not sure if this happens as part of formatting automatically, but it should also be configurable to remove trailing whitespaces as part of this.
The text was updated successfully, but these errors were encountered:
We have something similiar in our product by hooking into XtextDocumentProvider.doSaveDocument() but this has some quirks with regards to cursor placement after the format on save and saving during refactoring. An upstream solution would be welcome.
I am looking for the same feature.
Additionally it would be great to be able to only "Format edited lines", which is also an option of the Java Save Actions. This way old code will not be formatted to avoid lots of changes in version control systems.
It would be great if the Xtend Eclipse Editor could be configured to apply the formatting whenever a file is save (like Preferences / Java / Editor / Save Actions / Format source code for Java).
I am not sure if this happens as part of formatting automatically, but it should also be configurable to remove trailing whitespaces as part of this.
The text was updated successfully, but these errors were encountered: