eclipse / lsp4e

Language Server Protocol support in Eclipse IDE
Eclipse Public License 2.0
60 stars 53 forks source link

Make formatting operations available to consumers #942

Closed ava-fred closed 5 months ago

ava-fred commented 5 months ago

This commit adds org.eclipse.lsp4e.operations.format to the list of exported packages to enable consumers to implement formatting for objects which do not readily adapt to an IFile. There is also a small refactor of the LSPFormatFilesHandler class with the same goal.

rubenporras commented 5 months ago

@mickaelistria , any class that you want to make private before exporting the package?

mickaelistria commented 5 months ago

any class that you want to make private before exporting the package?

No, I've become very laxist on this topic ;)