Skip to content

Commit 8aadf21

Browse files
authored
Deprecate 'java.configuration.checkProjectSettingsExclusions' (#2311)
- If users want to change the place to generate metadata files they can use 'java.import.generatesMetadataFilesAtProjectRoot'. - If users just want to hide the metadata files at the file explorer, they can use 'files.exclude' directly. Signed-off-by: Sheng Chen <[email protected]>
1 parent d0f1f11 commit 8aadf21

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ The following settings are supported:
116116
* `java.trace.server` : Traces the communication between VS Code and the Java language server.
117117
* `java.configuration.updateBuildConfiguration` : Specifies how modifications on build files update the Java classpath/configuration. Supported values are `disabled` (nothing happens), `interactive` (asks about updating on every modification), `automatic` (updating is automatically triggered).
118118
* `java.configuration.maven.userSettings` : Path to Maven's user settings.xml.
119-
* `java.configuration.checkProjectSettingsExclusions`: Controls whether to exclude extension-generated project settings files (`.project`, `.classpath`, `.factorypath`, `.settings/`) from the file explorer. Defaults to `true`.
119+
* `java.configuration.checkProjectSettingsExclusions`: **Deprecated, please use 'java.import.generatesMetadataFilesAtProjectRoot' to control whether to generate the project metadata files at the project root. And use 'files.exclude' to control whether to hide the project metadata files from the file explorer.** Controls whether to exclude extension-generated project settings files (`.project`, `.classpath`, `.factorypath`, `.settings/`) from the file explorer. Defaults to `false`.
120120
* `java.referencesCodeLens.enabled` : Enable/disable the references code lenses.
121121
* `java.implementationsCodeLens.enabled` : Enable/disable the implementations code lenses.
122122
* `java.signatureHelp.enabled` : Enable/disable signature help support (triggered on `(`).

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,9 @@
207207
"scope": "window"
208208
},
209209
"java.configuration.checkProjectSettingsExclusions": {
210+
"deprecationMessage": "Please use 'java.import.generatesMetadataFilesAtProjectRoot' to control whether to generate the project metadata files at the project root. And use 'files.exclude' to control whether to hide the project metadata files from the file explorer.",
210211
"type": "boolean",
211-
"default": true,
212+
"default": false,
212213
"description": "Controls whether to exclude extension-generated project settings files (.project, .classpath, .factorypath, .settings/) from the file explorer.",
213214
"scope": "window"
214215
},

0 commit comments

Comments
 (0)