Visual studio code workspace settings for java#1289
Visual studio code workspace settings for java#1289jvermillard wants to merge 1 commit intomasterfrom
Conversation
Signed-off-by: Julien Vermillard <[email protected]>
|
Does it need to install anything (some vscode plugin) or it works out of the box ? |
|
you need the official java extension (IIRC there is a popup proposing to install the first time you open a java file) |
|
I didn't get the popup but I guess this should be this one : https://marketplace.visualstudio.com/items?itemName=redhat.java |
| @@ -0,0 +1,6 @@ | |||
| { | |||
| "java.format.settings.url": "https://raw.githubusercontent.com/eclipse/leshan/master/eclipse/eclipse-code-style.xml", | |||
There was a problem hiding this comment.
Why not using the file in local repository ?
| "java.format.settings.url": "https://raw.githubusercontent.com/eclipse/leshan/master/eclipse/eclipse-code-style.xml", | |
| "java.format.settings.url": "./eclipse/eclipse-code-style.xml", |
|
Looking at : https://github.com/redhat-developer/vscode-java/wiki/Formatter-settings I see that
Currently this is possible to create those files with : But I guess, the root |
|
I need to re-check but the last time I tried that it was not working. Apparently it a bug which was fixed in vscode long time ago 🤔 |
8e7cd35 to
2efb924
Compare
|
|
What do we do with that ? |
|
@jvermillard what should we do with that ? We close it ? or we make it works ? 😉 |



Signed-off-by: Julien Vermillard [email protected]