blob: 71de4001271e5ee912b6e37bc7ee9bd17d8670e5 [file] [log] [blame]
{
"name": "apache-netbeans-java",
"displayName": "Apache NetBeans Language Server",
"description": "Apache NetBeans Language Server Extension for Visual Studio Code",
"author": "Apache NetBeans",
"license": "Apache 2.0",
"version": "12.2.1",
"preview": true,
"repository": {
"type": "git",
"url": "https://github.com/apache/netbeans"
},
"publisher": "asf",
"icon": "images/Apache_NetBeans_Logo.png",
"categories": [
"Programming Languages",
"Debuggers",
"Other"
],
"keywords": [
"multi-root ready"
],
"engines": {
"vscode": "^1.47.0"
},
"activationEvents": [
"onLanguage:java",
"workspaceContains:**/*.java",
"workspaceContains:pom.xml",
"workspaceContains:build.gradle",
"onDebug"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "javascript",
"mimetypes": [
"text/javascript",
"application/javascript"
]
}
],
"configuration": {
"title": "Java",
"properties": {
"netbeans.jdkhome": {
"type": [
"string",
"null"
],
"default": null,
"description": "Specifies JDK for the Apache NetBeans Language Server"
},
"netbeans.verbose": {
"type": "boolean",
"default": false,
"description": "Enables verbose messages from the Apache NetBeans Language Server"
},
"netbeans.conflict.check": {
"type": "boolean",
"default": true,
"description": "Avoid conflicts with other Java extensions"
},
"java.test.editor.enableShortcuts": {
"type": "boolean",
"default": false,
"description": "Enable Run/Debug test in editor"
}
}
},
"breakpoints": [
{
"language": "java"
}
],
"debuggers": [
{
"type": "java8+",
"label": "Java 8+",
"runtime": "node",
"languages": [
"java"
],
"configurationAttributes": {
"launch": {
"required": [
"mainClass"
],
"properties": {
"mainClass": {
"type": "string",
"description": "Absolute path to the program main class.",
"default": "${file}"
},
"classPaths": {
"type": "array",
"items": {
"type": "string"
},
"description": "The classpaths for launching the JVM.",
"default": []
},
"console": {
"type": "string",
"enum": [
"internalConsole"
],
"description": "The specified console to launch the program.",
"default": "internalConsole"
}
}
}
},
"initialConfigurations": [
{
"type": "java8+",
"request": "launch",
"name": "Launch Java 8+ App",
"mainClass": "${file}"
}
],
"configurationSnippets": [
{
"label": "Java 8+: Launch Java 8+ Application",
"description": "Launch a Java 8+ Application in debug mode",
"body": {
"type": "java8+",
"request": "launch",
"name": "Launch Java 8+ App",
"mainClass": "^\"${1:\\${file\\}}\""
}
}
]
}
],
"commands": [
{
"command": "java.workspace.compile",
"title": "Compile Workspace",
"category": "Java"
},
{
"command": "graalvm.pause.script",
"title": "Pause in Script",
"category": "GraalVM"
}
],
"keybindings": [
{
"command": "java.workspace.compile",
"key": "shift+alt+b",
"when": "nbJavaLSReady"
}
],
"menus": {
"commandPalette": [
{
"command": "java.workspace.compile",
"when": "nbJavaLSReady"
},
{
"command": "graalvm.pause.script",
"when": "nbJavaLSReady"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"test": "node ./out/test/runTest.js",
"nbcode": "node ./out/nbcode.js",
"nbjavac": "node ./out/nbcode.js -J-Dnetbeans.close=true --modules --install .*nbjavac.*"
},
"devDependencies": {
"@types/vscode": "^1.47.0",
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^13.11.0",
"glob": "^7.1.6",
"mocha": "^7.1.2",
"typescript": "^3.8.3",
"vscode-test": "^1.3.0"
},
"dependencies": {
"vscode-languageclient": "6.1.3",
"vscode-debugadapter": "1.42.1"
}
}