You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -197,6 +197,7 @@ The following settings are supported:
197
197
New in 1.1.0:
198
198
*`java.quickfix.showAt` : Show quickfixes at the problem or line level.
199
199
*`java.configuration.workspaceCacheLimit` : The number of days (if enabled) to keep unused workspace cache data. Beyond this limit, cached workspace data may be removed.
200
+
*`java.import.generatesMetadataFilesAtProjectRoot` : Specify whether the project metadata files(.project, .classpath, .factorypath, .settings/) will be generated at the project root. Defaults to `false`.
We use the setting `java.import.generatesMetadataFilesAtProjectRoot` to control where the project metadata files(.project, .classpath, .factorypath, .settings/) will be generated:
4
+
-`true`: Metadata files will be generated at the project's root.
5
+
-`false`: Metadata files will be generated at the workspace storage. To be specifc, the path will be: `<WORKSPACE_STORAGE_PATH>/redhat.java/jdt_ws/.metadata/.plugins/org.eclipse.core.resources/.projects/<PROJECT_NAME>/`.
6
+
7
+
By default, the setting is set to `false`.
8
+
9
+
> If the metadata files exist in both the project root and the workspace storage, the extension will pick the files in the project root.
10
+
11
+
## Change the setting value
12
+
13
+
Depending on how you change the setting, some extra steps need to be taken to make the change take effect.
14
+
15
+
### Change from `false` to `true`
16
+
You need to restart the client.
17
+
18
+
### Change from `true` to `false`
19
+
1. Close the client.
20
+
2. Remove the metadata files in the project by your own.
"markdownDescription": "Specify whether the project metadata files(.project, .classpath, .factorypath, .settings/) will be generated at the project root. Click [HERE](command:_java.metadataFilesGeneration) to learn how to change the setting to make it take effect.",
0 commit comments