diff options
Diffstat (limited to '.config/coc/extensions/node_modules/coc-java/package.json')
| -rw-r--r-- | .config/coc/extensions/node_modules/coc-java/package.json | 653 |
1 files changed, 653 insertions, 0 deletions
diff --git a/.config/coc/extensions/node_modules/coc-java/package.json b/.config/coc/extensions/node_modules/coc-java/package.json new file mode 100644 index 0000000..c38f370 --- /dev/null +++ b/.config/coc/extensions/node_modules/coc-java/package.json @@ -0,0 +1,653 @@ +{ + "name": "coc-java", + "version": "1.5.5", + "description": "Java language extension for coc.nvim", + "main": "lib/index.js", + "publisher": "chemzqm", + "engines": { + "coc": ">=0.0.79" + }, + "keywords": [ + "coc.nvim", + "languageserver" + ], + "repository": { + "type": "git", + "url": "https://github.com/neoclide/coc-java" + }, + "bugs": "https://github.com/neoclide/coc-java/issues", + "scripts": { + "build": "webpack", + "prepare": "webpack" + }, + "activationEvents": [ + "onLanguage:java", + "workspaceContains:pom.xml", + "workspaceContains:build.gradle", + "workspaceContains:build.gradle.kts", + "workspaceContains:.classpath" + ], + "contributes": { + "rootPatterns": [ + { + "filetype": "java", + "patterns": [ + "package.json", + ".project", + ".classpath", + "build.gradle.kts", + "build.gradle" + ] + } + ], + "snippets": [ + { + "language": "java", + "path": "./snippets/java.json" + } + ], + "configuration": { + "type": "object", + "title": "Java configuration", + "properties": { + "java.enabled": { + "type": "boolean", + "default": true, + "description": "When false, coc-java is disabled." + }, + "java.home": { + "type": [ + "string", + "null" + ], + "default": null, + "description": "Specifies the folder path to the JDK (8 or more recent) used to launch the Java Language Server.\nOn Windows, backslashes must be escaped, i.e.\n\"java.home\":\"C:\\\\Program Files\\\\Java\\\\jdk1.8.0_161\"", + "scope": "window" + }, + "java.jdt.ls.vmargs": { + "type": [ + "string", + "null" + ], + "default": "-noverify -Xmx1G -XX:+UseG1GC -XX:+UseStringDeduplication", + "description": "Specifies extra VM arguments used to launch the Java Language Server. Eg. use `-noverify -Xmx1G -XX:+UseG1GC -XX:+UseStringDeduplication` to bypass class verification, increase the heap size to 1GB and enable String deduplication with the G1 Garbage collector", + "scope": "window" + }, + "java.jdt.ls.home": { + "type": "string", + "default": null, + "description": "Absolute path to eclipse.jdt.ls server home, which contains plugins folder. Bundled eclipse.jdt.ls is used by default.", + "scope": "window" + }, + "java.errors.incompleteClasspath.severity": { + "type": [ + "string" + ], + "enum": [ + "ignore", + "info", + "warning", + "error" + ], + "default": "warning", + "description": "Specifies the severity of the message when the classpath is incomplete for a Java file", + "scope": "window" + }, + "java.configuration.checkProjectSettingsExclusions": { + "type": "boolean", + "default": true, + "description": "Checks if the extension-generated project settings files (.project, .classpath, .factorypath, .settings/) should be excluded from the file explorer.", + "scope": "window" + }, + "java.configuration.updateBuildConfiguration": { + "type": [ + "string" + ], + "enum": [ + "disabled", + "interactive", + "automatic" + ], + "default": "interactive", + "description": "Specifies how modifications on build files update the Java classpath/configuration", + "scope": "window" + }, + "java.trace.server": { + "type": "string", + "enum": [ + "off", + "messages", + "verbose" + ], + "default": "off", + "description": "Traces the communication between VS Code and the Java language server.", + "scope": "window" + }, + "java.import.gradle.enabled": { + "type": "boolean", + "default": true, + "description": "Enable/disable the Gradle importer.", + "scope": "window" + }, + "java.imports.gradle.wrapper.checksums": { + "type": "array", + "items": { + "type": "object", + "default": {}, + "required": [ + "sha256" + ], + "properties": { + "sha256": { + "type": "string", + "label": "SHA-256 checksum." + }, + "allowed": { + "type": "boolean", + "default": true, + "label": "Is allowed?" + } + }, + "additionalProperties": false, + "uniqueItems": true + }, + "description": "Defines allowed/disallowed SHA-256 checksums of Gradle Wrappers", + "default": null, + "scope": "application" + }, + "java.import.gradle.wrapper.enabled": { + "type": "boolean", + "default": true, + "description": "Use Gradle from the 'gradle-wrapper.properties' file.", + "scope": "window" + }, + "java.import.gradle.version": { + "type": "string", + "default": null, + "description": "Use Gradle from the specific version if the Gradle wrapper is missing or disabled.", + "scope": "window" + }, + "java.import.gradle.home": { + "type": "string", + "default": null, + "description": "Use Gradle from the specified local installation directory or GRADLE_HOME if the Gradle wrapper is missing or disabled and no 'java.import.gradle.version' is specified.", + "scope": "window" + }, + "java.import.gradle.java.home": { + "type": "string", + "default": null, + "description": "The location to the JVM used to run the Gradle daemon.", + "scope": "machine" + }, + "java.import.gradle.offline.enabled": { + "type": "boolean", + "default": false, + "description": "Enable/disable the Gradle offline mode.", + "scope": "window" + }, + "java.import.gradle.arguments": { + "type": "string", + "default": null, + "description": "Arguments to pass to Gradle.", + "scope": "machine" + }, + "java.import.gradle.jvmArguments": { + "type": "string", + "default": null, + "description": "JVM arguments to pass to Gradle.", + "scope": "machine" + }, + "java.import.gradle.user.home": { + "type": "string", + "default": null, + "description": "Setting for GRADLE_USER_HOME.", + "scope": "window" + }, + "java.maven.updateSnapshots": { + "type": "boolean", + "default": false, + "description": "Force update of Snapshots/Releases.", + "scope": "window" + }, + "java.import.maven.enabled": { + "type": "boolean", + "default": true, + "description": "Enable/disable the Maven importer.", + "scope": "window" + }, + "java.referencesCodeLens.enabled": { + "type": "boolean", + "default": false, + "description": "Enable/disable the references code lens.", + "scope": "window" + }, + "java.signatureHelp.enabled": { + "type": "boolean", + "default": false, + "description": "Enable/disable the signature help.", + "scope": "window" + }, + "java.implementationsCodeLens.enabled": { + "type": "boolean", + "default": false, + "description": "Enable/disable the implementations code lens.", + "scope": "window" + }, + "java.configuration.maven.userSettings": { + "type": "string", + "default": null, + "description": "Path to Maven's settings.xml", + "scope": "window" + }, + "java.format.enabled": { + "type": "boolean", + "default": true, + "description": "Enable/disable default Java formatter", + "scope": "window" + }, + "java.saveActions.organizeImports": { + "type": "boolean", + "default": false, + "description": "Enable/disable auto organize imports on save action", + "scope": "window" + }, + "java.import.exclusions": { + "type": "array", + "description": "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/**" + ], + "scope": "window" + }, + "java.project.referencedLibraries": { + "type": [ + "array", + "object" + ], + "description": "Configure glob patterns for referencing local libraries to a Java project.", + "default": [ + "lib/**/*.jar" + ], + "properties": { + "include": { + "type": "array" + }, + "exclude": { + "type": "array" + }, + "sources": { + "type": "object" + } + }, + "required": [ + "include" + ], + "additionalProperties": false, + "scope": "window" + }, + "java.contentProvider.preferred": { + "type": "string", + "description": "Preferred content provider (a 3rd party decompiler id, usually)", + "default": null, + "scope": "window" + }, + "java.autobuild.enabled": { + "type": "boolean", + "default": true, + "description": "Enable/disable the 'auto build'", + "scope": "window" + }, + "java.maxConcurrentBuilds": { + "type": "integer", + "default": 1, + "description": "Max simultaneous project builds", + "scope": "window", + "minimum": 1 + }, + "java.completion.maxResults": { + "type": "integer", + "default": 0, + "markdownDescription": "Maximum number of completion results (not including snippets).\n`0` (the default value) disables the limit, all results are returned. In case of performance problems, consider setting a sensible limit.", + "scope": "window" + }, + "java.completion.enabled": { + "type": "boolean", + "default": true, + "description": "Enable/disable code completion support", + "scope": "window" + }, + "java.completion.overwrite": { + "type": "boolean", + "default": true, + "description": "When set to true, code completion overwrites the current text. When set to false, code is simply added instead.", + "scope": "window" + }, + "java.completion.guessMethodArguments": { + "type": "boolean", + "default": false, + "description": "When set to true, method arguments are guessed when a method is selected from as list of code assist proposals.", + "scope": "window" + }, + "java.completion.favoriteStaticMembers": { + "type": "array", + "description": "Defines a list of static members or types with static members. Content assist will propose those static members even if the import is missing.", + "default": [ + "org.junit.Assert.*", + "org.junit.Assume.*", + "org.junit.jupiter.api.Assertions.*", + "org.junit.jupiter.api.Assumptions.*", + "org.junit.jupiter.api.DynamicContainer.*", + "org.junit.jupiter.api.DynamicTest.*", + "org.mockito.Mockito.*", + "org.mockito.ArgumentMatchers.*", + "org.mockito.Answers.*" + ], + "scope": "window" + }, + "java.completion.filteredTypes": { + "type": "array", + "description": "Defines the type filters. All types whose fully qualified name matches the selected filter strings will be ignored in content assist or quick fix proposals and when organizing imports. For example 'java.awt.*' will hide all types from the awt packages.", + "default": [ + "java.awt.*", + "com.sun.*" + ], + "scope": "window" + }, + "java.completion.importOrder": { + "type": "array", + "description": "Defines the sorting order of import statements. A package or type name prefix (e.g. 'org.eclipse') is a valid entry. An import is always added to the most specific group.", + "default": [ + "java", + "javax", + "com", + "org" + ], + "scope": "window" + }, + "java.progressReports.enabled": { + "type": "boolean", + "description": "[Experimental] Enable/disable progress reports from background processes on the server.", + "default": true, + "scope": "window" + }, + "java.format.settings.url": { + "type": "string", + "description": "Specifies the url or file path to the [Eclipse formatter xml settings](https://github.com/redhat-developer/vscode-java/wiki/Formatter-settings).", + "default": null, + "scope": "window" + }, + "java.format.settings.profile": { + "type": "string", + "description": "Optional formatter profile name from the Eclipse formatter settings.", + "default": null, + "scope": "window" + }, + "java.format.comments.enabled": { + "type": "boolean", + "description": "Includes the comments during code formatting.", + "default": true, + "scope": "window" + }, + "java.format.onType.enabled": { + "type": "boolean", + "description": "Enable/disable automatic block formatting when typing `;`, `<enter>` or `}`", + "default": true, + "scope": "window" + }, + "java.format.onType.fixComment.enabled": { + "type": "boolean", + "description": "Complete comment blocks when typing `/*`", + "default": true, + "scope": "window" + }, + "java.foldingRange.enabled": { + "type": "boolean", + "default": true, + "description": "Enable/disable smart folding range support. If disabled, it will use the default indentation-based folding range provided by VS Code.", + "scope": "window" + }, + "java.maven.downloadSources": { + "type": "boolean", + "default": false, + "description": "Enable/disable eager download of Maven source artifacts.", + "scope": "window" + }, + "java.codeGeneration.hashCodeEquals.useJava7Objects": { + "type": "boolean", + "description": "Use Objects.hash and Objects.equals when generating the hashCode and equals methods. This setting only applies to Java 7 and higher.", + "default": false, + "scope": "window" + }, + "java.codeGeneration.hashCodeEquals.useInstanceof": { + "type": "boolean", + "description": "Use 'instanceof' to compare types when generating the hashCode and equals methods.", + "default": false, + "scope": "window" + }, + "java.codeGeneration.useBlocks": { + "type": "boolean", + "description": "Use blocks in 'if' statements when generating the methods.", + "default": false, + "scope": "window" + }, + "java.codeGeneration.generateComments": { + "type": "boolean", + "description": "Generate method comments when generating the methods.", + "default": false, + "scope": "window" + }, + "java.codeGeneration.toString.template": { + "type": "string", + "description": "The template for generating the toString method.", + "default": "${object.className} [${member.name()}=${member.value}, ${otherMembers}]" + }, + "java.codeGeneration.toString.codeStyle": { + "type": "string", + "enum": [ + "STRING_CONCATENATION", + "STRING_BUILDER", + "STRING_BUILDER_CHAINED", + "STRING_FORMAT" + ], + "enumDescriptions": [ + "String concatenation", + "StringBuilder/StringBuffer", + "StringBuilder/StringBuffer - chained call", + "String.format/MessageFormat" + ], + "description": "The code style for generating the toString method.", + "default": "STRING_CONCATENATION" + }, + "java.codeGeneration.toString.skipNullValues": { + "type": "boolean", + "description": "Skip null values when generating the toString method.", + "default": false, + "scope": "window" + }, + "java.codeGeneration.toString.listArrayContents": { + "type": "boolean", + "description": "List contents of arrays instead of using native toString().", + "default": true, + "scope": "window" + }, + "java.codeGeneration.toString.limitElements": { + "type": "integer", + "description": "Limit number of items in arrays/collections/maps to list, if 0 then list all.", + "default": 0, + "scope": "window" + }, + "java.selectionRange.enabled": { + "type": "boolean", + "default": true, + "description": "Enable/disable Smart Selection support for Java. Disabling this option will not affect the coc java built-in word-based and bracket-based smart selection.", + "scope": "window" + }, + "java.import.callback": { + "type": "string", + "description": "Name of vim function to call for choosing import candidates", + "scope": "window" + }, + "java.configuration.runtimes": { + "type": "array", + "description": "Map Java Execution Environments to local JDKs.", + "items": { + "type": "object", + "default": {}, + "required": [ + "path", + "name" + ], + "properties": { + "name": { + "type": "string", + "enum": [ + "J2SE-1.5", + "JavaSE-1.6", + "JavaSE-1.7", + "JavaSE-1.8", + "JavaSE-9", + "JavaSE-10", + "JavaSE-11", + "JavaSE-12", + "JavaSE-13", + "JavaSE-14", + "JavaSE-15", + "JavaSE-16", + "JavaSE-17" + ], + "description": "Java Execution Environment name. Must be unique." + }, + "path": { + "type": "string", + "description": "JDK path.\nOn Windows, backslashes must be escaped, i.e.\n\"path\":\"C:\\\\Program Files\\\\Java\\\\jdk1.8.0_161\"." + }, + "sources": { + "type": "string", + "description": "JDK sources path." + }, + "javadoc": { + "type": "string", + "description": "JDK javadoc path." + }, + "default": { + "type": "boolean", + "description": "Is default runtime? Only one runtime can be default." + } + }, + "additionalProperties": false + }, + "default": [], + "scope": "machine" + }, + "java.sources.organizeImports.starThreshold": { + "type": "integer", + "description": "Specifies the number of imports added before a star-import declaration is used.", + "default": 99, + "scope": "window" + }, + "java.sources.organizeImports.staticStarThreshold": { + "type": "integer", + "description": "Specifies the number of static imports added before a star-import declaration is used.", + "default": 99 + }, + "java.project.resourceFilters": { + "type": "array", + "default": [ + "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'. Defaults to [\"node_modules\",\".git\"].", + "scope": "window" + }, + "java.templates.fileHeader": { + "type": "array", + "markdownDescription": "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).", + "scope": "window", + "default": [] + }, + "java.templates.typeComment": { + "type": "array", + "markdownDescription": "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).", + "scope": "window", + "default": [] + }, + "java.references.includeAccessors": { + "type": "boolean", + "default": true, + "description": "Include getter, setter and builder/constructor when finding references.", + "scope": "window" + } + } + }, + "commands": [ + { + "command": "java.updateLanguageServer", + "title": "Download latest snapshots of jdt.ls from eclipse.org.", + "category": "Java" + }, + { + "command": "java.projectConfiguration.update", + "title": "Update project configuration", + "category": "Java" + }, + { + "command": "java.open.serverLog", + "title": "Open Java Language Server log file", + "category": "Java" + }, + { + "command": "java.workspace.compile", + "title": "Force Java compilation", + "category": "Java" + }, + { + "command": "java.action.organizeImports", + "title": "Organize Imports", + "category": "Java" + }, + { + "command": "java.open.formatter.settings", + "title": "Open Java formatter settings", + "category": "Java" + }, + { + "command": "java.clean.workspace", + "title": "Clean the Java language server workspace", + "category": "Java" + } + ] + }, + "author": "chemzqm@gmail.com", + "license": "EPL-1.0", + "devDependencies": { + "@chemzqm/tsconfig": "^0.0.3", + "@types/glob": "7.1.1", + "@types/got": "^9.4.4", + "@types/mkdirp": "^0.5.2", + "@types/mocha": "^5.2.7", + "@types/node": "^12.0.5", + "@types/tunnel": "^0.0.0", + "coc.nvim": "^0.0.79-next.11", + "compressing": "^1.4.0", + "decompress": "^4.2.0", + "expand-home-dir": "^0.0.3", + "find-java-home": "1.2.1", + "glob": "^7.1.4", + "got": "^9.6.0", + "mkdirp": "^0.5.1", + "mocha": "^6.1.4", + "path-exists": "^4.0.0", + "rimraf": "^2.6.3", + "ts-loader": "^6.0.3", + "tslint": "^5.17.0", + "tunnel": "^0.0.6", + "typescript": "^4.1.3", + "vscode-languageserver-protocol": "^3.15.3", + "webpack": "^4.34.0", + "webpack-cli": "^3.3.4" + }, + "dependencies": {} +} |
