Skip to content

Commit

Permalink
Automatically add Protobuf output source directories to clsspath (#2629)
Browse files Browse the repository at this point in the history
Signed-off-by: sheche <sheche@microsoft.com>
  • Loading branch information
jdneo committed Aug 22, 2022
1 parent ab3e745 commit 60b41ea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,9 @@ The following settings are supported:
* `java.inlayHints.parameterNames.enabled`: Enable/disable inlay hints for parameter names. Supported values are: `none`(disable parameter name hints), `literals`(Enable parameter name hints only for literal arguments) and `all`(Enable parameter name hints for literal and non-literal arguments). Defaults to `literals`.

New in 1.10.0
* `java.import.maven.offline.enabled` : Enable/disable the Maven offline mode. Defaults to `false`.
* `java.import.maven.offline.enabled`: Enable/disable the Maven offline mode. Defaults to `false`.
* `java.codeAction.sortMembers.avoidVolatileChanges`: Reordering of fields, enum constants, and initializers can result in semantic and runtime changes due to different initialization and persistence order. This setting prevents this from occurring. Defaults to `true`.
* `java.jdt.ls.protobufSupport.enabled`: Specify whether to automatically add Protobuf output source directories to the classpath. **Note:** Only works for Gradle `com.google.protobuf` plugin `0.8.4` or higher. Defaults to `true`.

Semantic Highlighting
===============
Expand Down
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -918,6 +918,12 @@
"description": "Whether to load lombok processors from project classpath",
"scope": "window"
},
"java.jdt.ls.protobufSupport.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Specify whether to automatically add Protobuf output source directories to the classpath.\n\n**Note:** Only works for Gradle `com.google.protobuf` plugin `0.8.4` or higher.",
"scope": "window"
},
"java.codeAction.sortMembers.avoidVolatileChanges": {
"type": "boolean",
"default": true,
Expand Down

0 comments on commit 60b41ea

Please sign in to comment.