diff --git a/README.md b/README.md index a7669b992..b18426e23 100644 --- a/README.md +++ b/README.md @@ -202,6 +202,11 @@ The following settings are supported: - `afterCursor`: Insert the generated code after the member where the cursor is located. - `beforeCursor`: Insert the generated code before the member where the cursor is located. - `lastMember`: Insert the generated code as the last member of the target type. +* `java.codeGeneration.addFinalForNewDeclaration`: Whether to generate the 'final' modifer for code actions that create new declarations. Defaults to `none`. + - `none`: Do not generate final modifier + - `fields`: Generate 'final' modifier only for new field declarations + - `variables`: Generate 'final' modifier only for new variable declarations + - `all`: Generate 'final' modifier for all new declarations * `java.settings.url` : Specifies the url or file path to the workspace Java settings. See [Setting Global Preferences](https://github.com/redhat-developer/vscode-java/wiki/Settings-Global-Preferences) * `java.symbols.includeSourceMethodDeclarations` : Include method declarations from source files in symbol search. Defaults to `false`. * `java.quickfix.showAt` : Show quickfixes at the problem or line level. @@ -244,13 +249,6 @@ The following settings are supported: * `java.configuration.detectJdksAtStart`: Automatically detect JDKs installed on local machine at startup. If you have specified the same JDK version in `java.configuration.runtimes`, the extension will use that version first. Defaults to `true`. * `java.completion.collapseCompletionItems`: Enable/disable the collapse of overloaded methods in completion items. Overrides `java.completion.guessMethodArguments`. Defaults to `false`. -New in 1.30.0 -* `java.codeGeneration.addFinalForNewDeclaration`: Whether to generate the 'final' modifer for code actions that create new declarations. Defaults to `none`. - - `none`: Do not generate final modifier - - `fields`: Generate 'final' modifier only for new field declarations - - `variables`: Generate 'final' modifier only for new variable declarations - - `all`: Generate 'final' modifier for all new declarations - Semantic Highlighting =============== [Semantic Highlighting](https://github.com/redhat-developer/vscode-java/wiki/Semantic-Highlighting) fixes numerous syntax highlighting issues with the default Java Textmate grammar. However, you might experience a few minor issues, particularly a delay when it kicks in, as it needs to be computed by the Java Language server, when opening a new file or when typing. Semantic highlighting can be disabled for all languages using the `editor.semanticHighlighting.enabled` setting, or for Java only using [language-specific editor settings](https://code.visualstudio.com/docs/getstarted/settings#_languagespecific-editor-settings). diff --git a/package-lock.json b/package-lock.json index f41429311..3c068ef99 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "java", - "version": "1.30.0", + "version": "1.31.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "java", - "version": "1.30.0", + "version": "1.31.0", "license": "EPL-2.0", "dependencies": { "@redhat-developer/vscode-extension-proposals": "0.0.22", diff --git a/package.json b/package.json index 63fcd4d58..d6b98e510 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "author": "Red Hat", "icon": "icons/icon128.png", "license": "EPL-2.0", - "version": "1.30.0", + "version": "1.31.0", "publisher": "redhat", "bugs": "https://github.com/redhat-developer/vscode-java/issues", "preview": false,