1 Star 0 Fork 0

zhucoding/vscode-java

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 36.70 KB
一键复制 编辑 原始数据 按行查看 历史
Snjezana Peco 提交于 2021-03-18 02:13 +08:00 . Add support for Java 16
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068
{
"name": "java",
"displayName": "Language Support for Java(TM) by Red Hat",
"description": "Java Linting, Intellisense, formatting, refactoring, Maven/Gradle support and more...",
"author": "Red Hat",
"icon": "icons/icon128.png",
"license": "EPL-2.0",
"version": "0.77.0",
"publisher": "redhat",
"bugs": "https://github.com/redhat-developer/vscode-java/issues",
"preview": true,
"enableProposedApi": false,
"engines": {
"vscode": "^1.53.2"
},
"repository": {
"type": "git",
"url": "https://github.com/redhat-developer/vscode-java"
},
"categories": [
"Programming Languages",
"Linters",
"Formatters",
"Snippets"
],
"keywords": [
"multi-root ready"
],
"activationEvents": [
"onLanguage:java",
"workspaceContains:pom.xml",
"workspaceContains:build.gradle",
"workspaceContains:.classpath",
"onCommand:_java.templateVariables"
],
"main": "./dist/extension",
"contributes": {
"semanticTokenTypes": [
{
"id": "annotation",
"superType": "type",
"description": "Style for annotations."
},
{
"id": "annotationMember",
"superType": "function",
"description": "Style for annotation members."
},
{
"id": "modifier",
"superType": "keyword",
"description": "Style for modifier keywords."
}
],
"semanticTokenModifiers": [
{
"id": "public",
"description": "Style for symbols with the public access modifier."
},
{
"id": "private",
"description": "Style for symbols with the private access modifier."
},
{
"id": "protected",
"description": "Style for symbols with the protected access modifier."
},
{
"id": "native",
"description": "Style for symbols with the native modifier."
},
{
"id": "generic",
"description": "Style for symbols that are generic (have type parameters)."
},
{
"id": "typeArgument",
"description": "Style for symbols that are type arguments for a generic symbol."
},
{
"id": "importDeclaration",
"description": "Style for symbols that are part of an import declaration."
}
],
"semanticTokenScopes": [
{
"language": "java",
"scopes": {
"annotation": [
"storage.type.annotation.java"
],
"annotationMember": [
"entity.name.annotationMember.java",
"constant.other.key.java"
],
"modifier": [
"storage.modifier.java"
],
"keyword.documentation": [
"keyword.other.documentation.javadoc.java"
]
}
}
],
"languages": [
{
"id": "java",
"extensions": [
".java",
".class"
],
"configuration": "./language-configuration.json"
}
],
"snippets": [
{
"language": "java",
"path": "./snippets/java.json"
}
],
"grammars": [
{
"language": "java",
"scopeName": "source.java",
"path": "./syntaxes/java.tmLanguage.json"
}
],
"jsonValidation": [
{
"fileMatch": "package.json",
"url": "./schemas/package.schema.json"
}
],
"configuration": {
"type": "object",
"title": "Java",
"properties": {
"java.home": {
"type": [
"string",
"null"
],
"default": null,
"description": "Specifies the folder path to the JDK (11 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\\\\jdk11.0_8\"",
"scope": "machine-overridable"
},
"java.jdt.ls.vmargs": {
"type": [
"string",
"null"
],
"default": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m",
"description": "Specifies extra VM arguments used to launch the Java Language Server. Eg. use `-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m ` to optimize memory usage for container environments with the parallel garbage collector",
"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": "Controls whether to exclude extension-generated project settings files (.project, .classpath, .factorypath, .settings/) 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.maven.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable the Maven importer.",
"scope": "window"
},
"java.import.gradle.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable the Gradle importer.",
"scope": "window"
},
"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.downloadSources": {
"type": "boolean",
"default": false,
"description": "Enable/disable download of Maven source artifacts as part of importing Maven projects.",
"scope": "window"
},
"java.eclipse.downloadSources": {
"type": "boolean",
"default": false,
"description": "Enable/disable download of Maven source artifacts for Eclipse projects.",
"scope": "window"
},
"java.maven.updateSnapshots": {
"type": "boolean",
"default": false,
"description": "Force update of Snapshots/Releases.",
"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 user settings.xml",
"scope": "window"
},
"java.configuration.maven.globalSettings": {
"type": "string",
"default": null,
"description": "Path to Maven's global 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.project.outputPath": {
"type": [
"string",
"null"
],
"markdownDescription": "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": "",
"scope": "window"
},
"java.project.sourcePaths": {
"type": "array",
"items": {
"type": "string"
},
"markdownDescription": "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": [],
"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.recommendations.dependency.analytics.show": {
"type": "boolean",
"default": true,
"description": "Show the recommended Dependency Analytics extension.",
"scope": "window"
},
"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.*",
"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.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.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",
"markdownDescription": "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.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 VS Code built-in word-based and bracket-based smart selection.",
"scope": "window"
},
"java.showBuildStatusOnStart.enabled": {
"type": "boolean",
"description": "Automatically show build status on startup.",
"default": false,
"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"
],
"description": "Java Execution Environment name. Must be unique."
},
"path": {
"type": "string",
"pattern": ".*(?<!\\/bin|\\/bin\\/|\\\\bin|\\\\bin\\\\)$",
"description": "JDK home path. Should be the JDK installation directory, not the Java bin path.\n On 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.server.launchMode": {
"type": "string",
"enum": [
"Standard",
"LightWeight",
"Hybrid"
],
"enumDescriptions": [
"Provides full features such as intellisense, refactoring, building, Maven/Gradle support etc.",
"Starts a syntax server with lower start-up cost. Only provides syntax features such as outline, navigation, javadoc, syntax errors.",
"Provides full features with better responsiveness. It starts a standard language server and a secondary syntax server. The syntax server provides syntax features until the standard server is ready."
],
"description": "The launch mode for the Java extension",
"default": "Hybrid",
"scope": "window"
},
"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.semanticHighlighting.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable the semantic highlighting.",
"scope": "window"
},
"java.refactor.renameFromFileExplorer": {
"type": "string",
"enum": [
"never",
"autoApply",
"preview",
"prompt"
],
"enumDescriptions": [
"Don't enable refactoring for rename operations on File Explorer.",
"Always automatically update the imports and package declarations.",
"Always preview the changes before applying.",
"Ask user to confirm whether to bypass refactor preview."
],
"description": "Specifies whether to update imports and package declarations when renaming files from File Explorer.",
"default": "prompt",
"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": [],
"scope": "application"
},
"java.project.importOnFirstTimeStartup": {
"type": "string",
"enum": [
"disabled",
"interactive",
"automatic"
],
"default": "interactive",
"description": "Specifies whether to import the Java projects, when opening the folder in Hybrid mode for the first time.",
"scope": "application"
},
"java.project.importHint": {
"type": "boolean",
"description": "Enable/disable the server-mode switch information, when Java projects import is skipped on startup.",
"default": true,
"scope": "application"
},
"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"
},
"java.references.includeDecompiledSources": {
"type": "boolean",
"default": true,
"description": "Include the decompiled sources when finding references.",
"scope": "window"
},
"java.typeHierarchy.lazyLoad": {
"type": "boolean",
"default": false,
"description": "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.",
"scope": "window"
}
}
},
"configurationDefaults": {
"[java]": {
"editor.suggest.snippetsPreventQuickSuggestions": false
}
},
"commands": [
{
"command": "java.server.mode.switch",
"title": "Switch to Standard Mode",
"category": "Java"
},
{
"command": "java.projectConfiguration.update",
"title": "Update Project",
"category": "Java"
},
{
"command": "java.project.import",
"title": "Import Java Projects into Workspace",
"category": "Java"
},
{
"command": "java.open.serverLog",
"title": "Open Java Language Server Log File",
"category": "Java"
},
{
"command": "java.open.clientLog",
"title": "Open Java Extension Log File",
"category": "Java"
},
{
"command": "java.open.logs",
"title": "Open All Log Files",
"category": "Java"
},
{
"command": "java.workspace.compile",
"title": "Force Java Compilation",
"category": "Java"
},
{
"command": "java.open.formatter.settings",
"title": "Open Java Formatter Settings",
"category": "Java"
},
{
"command": "java.clean.workspace",
"title": "Clean Java Language Server Workspace",
"category": "Java"
},
{
"command": "java.project.updateSourceAttachment",
"title": "Attach Source",
"category": "Java"
},
{
"command": "java.project.addToSourcePath",
"title": "Add Folder to Java Source Path",
"category": "Java"
},
{
"command": "java.project.removeFromSourcePath",
"title": "Remove Folder from Java Source Path",
"category": "Java"
},
{
"command": "java.project.listSourcePaths",
"title": "List All Java Source Paths",
"category": "Java"
},
{
"command": "java.show.server.task.status",
"title": "Show Build Job Status",
"category": "Java"
},
{
"command": "java.action.navigateToSuperImplementation",
"title": "Go to Super Implementation",
"category": "Java"
},
{
"command": "java.action.showTypeHierarchy",
"title": "Show Type Hierarchy",
"category": "Java"
},
{
"command": "java.action.showClassHierarchy",
"title": "Show Class Hierarchy",
"icon": "$(type-hierarchy)",
"enablement": "typeHierarchyDirection != both && typeHierarchySymbolKind != 10",
"category": "Java"
},
{
"command": "java.action.showSupertypeHierarchy",
"title": "Show Supertype Hierarchy",
"icon": "$(type-hierarchy-super)",
"enablement": "typeHierarchyDirection != parents",
"category": "Java"
},
{
"command": "java.action.showSubtypeHierarchy",
"title": "Show Subtype Hierarchy",
"icon": "$(type-hierarchy-sub)",
"enablement": "typeHierarchyDirection != children",
"category": "Java"
},
{
"command": "java.action.changeBaseType",
"title": "Base on this Type",
"category": "Java"
}
],
"keybindings": [
{
"command": "java.projectConfiguration.update",
"key": "shift+alt+u",
"when": "editorFocus"
},
{
"command": "java.workspace.compile",
"key": "shift+alt+b"
},
{
"command": "java.action.clipboardPasteAction",
"key": "ctrl+shift+v",
"mac": "cmd+shift+v",
"when": "javaLSReady && editorLangId == java"
}
],
"menus": {
"explorer/context": [
{
"command": "java.projectConfiguration.update",
"when": "resourceFilename =~ /(.*\\.gradle)|(pom.xml)$/",
"group": "1_javaactions"
},
{
"when": "explorerResourceIsFolder&&javaLSReady",
"command": "java.project.addToSourcePath",
"group": "1_javaactions@1"
},
{
"when": "explorerResourceIsFolder&&javaLSReady",
"command": "java.project.removeFromSourcePath",
"group": "1_javaactions@2"
}
],
"editor/context": [
{
"command": "java.project.updateSourceAttachment",
"when": "editorReadonly && editorLangId == java",
"group": "1_javaactions"
},
{
"command": "java.projectConfiguration.update",
"when": "resourceFilename =~ /(.*\\.gradle)|(pom.xml)$/",
"group": "1_javaactions"
},
{
"command": "java.action.navigateToSuperImplementation",
"when": "javaLSReady && editorTextFocus && editorLangId == java",
"group": "navigation@90"
},
{
"command": "java.action.showTypeHierarchy",
"when": "javaLSReady && editorTextFocus && editorLangId == java",
"group": "0_navigation@3"
}
],
"commandPalette": [
{
"command": "java.projectConfiguration.update",
"when": "javaLSReady"
},
{
"command": "java.project.import",
"when": "javaLSReady"
},
{
"command": "java.action.navigateToSuperImplementation",
"when": "javaLSReady && editorLangId == java"
},
{
"command": "java.workspace.compile",
"when": "javaLSReady"
},
{
"command": "java.project.listSourcePaths",
"when": "javaLSReady"
},
{
"command": "java.action.showTypeHierarchy",
"when": "javaLSReady && editorIsOpen"
},
{
"command": "java.action.showClassHierarchy",
"when": "false"
},
{
"command": "java.action.showSubtypeHierarchy",
"when": "false"
},
{
"command": "java.action.showSupertypeHierarchy",
"when": "false"
},
{
"command": "java.action.changeBaseType",
"when": "false"
},
{
"command": "java.project.updateSourceAttachment",
"when": "false"
},
{
"command": "java.project.addToSourcePath",
"when": "false"
},
{
"command": "java.project.removeFromSourcePath",
"when": "false"
},
{
"command": "java.show.server.task.status",
"when": "java:serverMode != LightWeight"
},
{
"command": "java.server.mode.switch",
"when": "java:serverMode == LightWeight"
}
],
"view/title": [
{
"command": "java.action.showClassHierarchy",
"group": "navigation@-1",
"when": "view == references-view.tree && reference-list.hasResult && reference-list.source == javaTypeHierarchy && typeHierarchySymbolKind != 10"
},
{
"command": "java.action.showSupertypeHierarchy",
"group": "navigation@0",
"when": "view == references-view.tree && reference-list.hasResult && reference-list.source == javaTypeHierarchy"
},
{
"command": "java.action.showSubtypeHierarchy",
"group": "navigation@1",
"when": "view == references-view.tree && reference-list.hasResult && reference-list.source == javaTypeHierarchy"
}
],
"view/item/context": [
{
"command": "java.action.changeBaseType",
"group": "1",
"when": "view == references-view.tree && reference-list.hasResult && reference-list.source == javaTypeHierarchy && viewItem != 'false'"
}
]
}
},
"resolutions": {
"minimist": "^1.2.5",
"yargs-parser": "^18.1.2"
},
"scripts": {
"preinstall": "npx npm-force-resolutions",
"vscode:prepublish": "webpack --mode production",
"compile": "tsc -p ./&webpack --mode development",
"watch": "webpack --mode development --watch --info-verbosity verbose",
"pretest": "npm run compile",
"test": "node ./out/test/runtest.js",
"build-server": "./node_modules/.bin/gulp build_server",
"watch-server": "./node_modules/.bin/gulp watch_server",
"tslint": "tslint -p ."
},
"devDependencies": {
"@types/fs-extra": "^8.0.0",
"@types/glob": "5.0.30",
"@types/lodash.findindex": "^4.6.6",
"@types/mocha": "^5.2.5",
"@types/node": "^8.10.51",
"@types/vscode": "^1.53.0",
"@types/winreg": "^1.2.30",
"@types/winston": "^2.4.4",
"gulp": "^4.0.2",
"gulp-decompress": "^3.0.0",
"gulp-download": "0.0.1",
"lodash.findindex": "^4.6.0",
"lodash.template": ">=4.5.0",
"minimist": ">=1.2.5",
"mocha": "^8.1.1",
"ts-loader": "^5.3.1",
"tslint": "^5.11.0",
"typescript": "^3.7.3",
"typescript-tslint-plugin": "^0.3.1",
"vscode-test": "^1.4.0",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.11"
},
"dependencies": {
"expand-home-dir": "^0.0.3",
"find-java-home": "1.1.0",
"fmtr": "^1.1.2",
"fs-extra": "^8.1.0",
"glob": "^7.1.3",
"vscode-languageclient": "6.0.0-next.9",
"winreg-utf8": "^0.1.1",
"winston": "^3.2.1",
"winston-daily-rotate-file": "^3.10.0"
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhucoding/vscode-java.git
git@gitee.com:zhucoding/vscode-java.git
zhucoding
vscode-java
vscode-java
master

搜索帮助