Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ The following coc.nvim settings are supported (checkout `:h coc-configuration` f
- `java.format.enabled`: Enable/disable default Java formatter Default: `true`
- `java.saveActions.organizeImports`: Enable/disable auto organize imports on save action Default: `false`
- `java.import.exclusions`: Configure glob patterns for excluding folders. Use `!` to negate patterns to allow subfolders imports. You have to include a parent directory. The order is important. Default: `["**/node_modules/**","**/.metadata/**","**/archetype-resources/**","**/META-INF/maven/**"]`
- `java.import.generatesMetadataFilesAtProjectRoot`: 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. Default: `false`
- `java.import.generatesMetadataFilesAtProjectRoot`: Specify whether the project metadata files(.project, .classpath, .factorypath, .settings/) will be generated at the project root. Click [HERE](document/_java.metadataFilesGeneration.md) to learn how to change the setting to make it take effect. Default: `false`
- `java.project.referencedLibraries`: Configure glob patterns for referencing local libraries to a Java project. Default: `["lib/**/*.jar"]`
- `java.project.outputPath`: A relative path to the workspace where stores the compiled output. `Only` effective in the `WORKSPACE` scope. The setting will `NOT` affect Maven or Gradle project. Default: `""`
- `java.project.sourcePaths`: 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. Default: `[]`
Expand Down Expand Up @@ -210,8 +210,8 @@ The following coc.nvim settings are supported (checkout `:h coc-configuration` f
Valid options: ["disabled","interactive","automatic"]
- `java.project.importHint`: Enable/disable the server-mode switch information, when Java projects import is skipped on startup. Default: `true`
- `java.project.resourceFilters`: 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"]. Default: `["node_modules","\\.git"]`
- `java.templates.fileHeader`: Specifies the file header comment for new Java file. Supports configuring multi-line comments with an array of strings, and using ${variable} to reference the [predefined variables](command:_java.templateVariables). Default: `[]`
- `java.templates.typeComment`: Specifies the type comment for new Java type. Supports configuring multi-line comments with an array of strings, and using ${variable} to reference the [predefined variables](command:_java.templateVariables). Default: `[]`
- `java.templates.fileHeader`: Specifies the file header comment for new Java file. Supports configuring multi-line comments with an array of strings, and using ${variable} to reference the [predefined variables](document/_java.templateVariables.md). Default: `[]`
- `java.templates.typeComment`: Specifies the type comment for new Java type. Supports configuring multi-line comments with an array of strings, and using ${variable} to reference the [predefined variables](document/_java.templateVariables.md). Default: `[]`
- `java.references.includeAccessors`: Include getter, setter and builder/constructor when finding references. Default: `true`
- `java.references.includeDecompiledSources`: Include the decompiled sources when finding references. Default: `true`
- `java.typeHierarchy.lazyLoad`: Enable/disable lazy loading the content in type hierarchy. Lazy loading could save a lot of loading time but every type should be expanded manually to load its content. Default: `false`
Expand All @@ -233,7 +233,7 @@ The following coc.nvim settings are supported (checkout `:h coc-configuration` f
- `java.compile.nullAnalysis.nullable`: Specify the Nullable annotation types to be used for null analysis. If more than one annotation is specified, then the topmost annotation will be used first if it exists in project dependencies. This setting will be ignored if `java.compile.nullAnalysis.mode` is set to `disabled` Default: `["javax.annotation.Nullable","org.eclipse.jdt.annotation.Nullable","org.springframework.lang.Nullable"]`
- `java.compile.nullAnalysis.mode`: Specify how to enable the annotation-based null analysis. Default: `"interactive"`
Valid options: ["disabled","interactive","automatic"]
- `java.cleanup.actionsOnSave`: The list of clean ups to be run on the current document when it's saved. Clean ups can automatically fix code style or programming mistakes. Click [HERE](command:_java.learnMoreAboutCleanUps) to learn more about what each clean up does. Default: `[]`
- `java.cleanup.actionsOnSave`: The list of clean ups to be run on the current document when it's saved. Clean ups can automatically fix code style or programming mistakes. Click [HERE](document/_java.learnMoreAboutCleanUps.md) to learn more about what each clean up does. Default: `[]`
- `java.sharedIndexes.enabled`: [Experimental] Specify whether to share indexes between different workspaces. When set to `auto`, shared indexes will be enabled in Visual Studio Code - Insiders. Default: `"auto"`
Valid options: ["auto","on","off"]
- `java.sharedIndexes.location`: Specifies a common index location for all workspaces. See default values as follows: Windows: First use `"$APPDATA\\.jdt\\index"`, or `"~\\.jdt\\index"` if it does not exist macOS: `"~/Library/Caches/.jdt/index"` Linux: First use `"$XDG_CACHE_HOME/.jdt/index"`, or `"~/.cache/.jdt/index"` if it does not exist Default: `""`
Expand Down