Skip to content

Commit

Permalink
Merge pull request #7578 from petrovic-d/GCN-4643-update-readme
Browse files Browse the repository at this point in the history
Update readme with source level java compatibility check
  • Loading branch information
MartinBalin authored Jul 17, 2024
2 parents 1b31400 + 3391c54 commit a6911ed
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions java/java.lsp.server/vscode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,15 @@ following locations:

As soon as one of the settings is changed, the Language Server is restarted.

## Checking JDK compatibility

The extension will check if source level Java (defined in the project) is compatible
with the one used by extension. It checks if the source level Java version is lower or equal
to the Java version used by extension, and if this condition is not fulfilled, it will show
warning message.

It will not perform the check if the RedHat extension is installed.

## Running Language Server per VSCode workspace or for user
It is possible to run Apache NetBeans Language Server per workspace (VSCode window). This allows separation of Language Server for given project as Language Server JVM is not shared for more VSCode open workspaces (projects).
It is possible to change this in `Preferences | Settings | Netbeans: Userdir`. Set to `local` to use dedicated Language Server per workspace or set to `global` (this is default) to have one Language Server for all VSCode workspaces.
Expand Down

0 comments on commit a6911ed

Please sign in to comment.