-
Notifications
You must be signed in to change notification settings - Fork 407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visual studio code workspace settings for java #1289
base: master
Are you sure you want to change the base?
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
Signed-off-by: Julien Vermillard [email protected]