Skip to content

Commit 4cb7a84

Browse files
authored
Add pattern to avoid resource filter start with '*' (#3345)
Signed-off-by: Sheng Chen <sheche@microsoft.com>
1 parent f598b79 commit 4cb7a84

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,11 +913,15 @@
913913
},
914914
"java.project.resourceFilters": {
915915
"type": "array",
916+
"items": {
917+
"type": "string",
918+
"pattern": "^(?!\\*).*"
919+
},
916920
"default": [
917921
"node_modules",
918922
"\\.git"
919923
],
920-
"description": "Excludes files and folders from being refreshed by the Java Language Server, which can improve the overall performance. For example, [\"node_modules\",\"\\.git\"] will exclude all files and folders named 'node_modules' or '.git'. Pattern expressions must be compatible with `java.util.regex.Pattern`. Defaults to [\"node_modules\",\"\\.git\"].",
924+
"markdownDescription": "Excludes files and folders from being refreshed by the Java Language Server, which can improve the overall performance. For example, [\"node_modules\",\"\\.git\"] will exclude all files and folders named `node_modules` or `.git`. Pattern expressions must be compatible with `java.util.regex.Pattern`. Defaults to [\"node_modules\",\"\\.git\"].",
921925
"scope": "window"
922926
},
923927
"java.templates.fileHeader": {

0 commit comments

Comments
 (0)