Open geoff-m opened 2 months ago
Indeed the language server needs a java file to exist in order to perform. Now, you can try creating a new empty file, save it as a .java file, then paste your java code, formatting should work without resaving the file.
Formatting the document does not work when the document is not saved to disk.
Environment
Steps To Reproduce
Current Result
Nothing happens.
Expected Result
The code gets formatted.