Commit b96ca41e authored by Mehran Mahmoudi's avatar Mehran Mahmoudi Committed by Commit Bot

Edit Java instructions on vscode.md

This adds a missing step to the Java instructions on vscode.md.

Change-Id: Ica35ba46b8046595efad668734eb1eb9db84968a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2121315Reviewed-by: default avatarMichael Thiessen <mthiesse@chromium.org>
Commit-Queue: Michael Thiessen <mthiesse@chromium.org>
Cr-Commit-Position: refs/heads/master@{#753388}
parent 2d6619bd
...@@ -208,12 +208,18 @@ disable the Maven for Java extension so it stops nagging you as we won't need ...@@ -208,12 +208,18 @@ disable the Maven for Java extension so it stops nagging you as we won't need
it. it.
#### Setting up code completion/reference finding/etc. #### Setting up code completion/reference finding/etc.
You'll need to locate the .classpath file redhat generates for you. Its You'll need to generate a placeholder .classpath file and locate it. In order
location will depend on whether you're doing local or remote development. to generate it, right click on any Java source folder in the left panel and
Local path on linux will look something like: choose "Add folder to java source path". Its location will depend on whether
you're doing local or remote development. Local path on linux will look
something like:
`~/.vscode/data/User/workspaceStorage/<hash>/redhat.java/jdt_ws/<project>/.classpath` `~/.vscode/data/User/workspaceStorage/<hash>/redhat.java/jdt_ws/<project>/.classpath`
You might find multiple folders when looking for `<project>`. Choose anything except
`jdt.ls-java-project`. If you only see `jdt.ls-java-project`, try using the
"Add folder to java source path" option again.
If doing remote development, the file will be under `~/.vscode-server/` on your If doing remote development, the file will be under `~/.vscode-server/` on your
remote machine. remote machine.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment