diff --git a/schemas/jdtls.json b/schemas/jdtls.json index 0c4baf0..0aae192 100644 --- a/schemas/jdtls.json +++ b/schemas/jdtls.json @@ -765,7 +765,11 @@ "node_modules", "\\.git" ], - "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\"].", + "items": { + "pattern": "^(?!\\*).*", + "type": "string" + }, + "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\"].", "scope": "window", "type": "array" }, diff --git a/types/lsp.lua b/types/lsp.lua index c23a047..cf19be7 100644 --- a/types/lsp.lua +++ b/types/lsp.lua @@ -3638,12 +3638,12 @@ -- default = { "lib/**/*.jar" } -- ``` ---@field referencedLibraries any[]|table --- 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"]. +-- 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"]. -- -- ```lua -- default = { "node_modules", "\\.git" } -- ``` ----@field resourceFilters any[] +---@field resourceFilters string[] -- Relative paths to the workspace where stores the source files. `Only` effective in the `WORKSPACE` scope. The setting will `NOT` affect Maven or Gradle project. -- -- ```lua