blob: 221b2620d84a92e07818e19e32e341ce1d039e0b [file]
{
"name": "apache-netbeans-java",
"displayName": "Apache Netbeans Java for VSCode",
"description": "An Apache NetBeans Java plugin for Visual Studio Code",
"author": "Apache NetBeans",
"license": "Apache 2.0",
"version": "0.1.0",
"repository": {
"type": "git",
"url": "https://github.com/apache/netbeans"
},
"publisher": "jlahoda",
"categories": [],
"keywords": [
"multi-root ready"
],
"engines": {
"vscode": "^1.47.0"
},
"activationEvents": [
"onLanguage:java",
"workspaceContains:pom.xml",
"workspaceContains:build.gradle",
"onDebug"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "Java",
"properties": {
"netbeans.jdkhome": {
"type": [
"string",
"null"
],
"default": null,
"description": "Specifies the JDK on which the Java language server should be run"
}
}
},
"breakpoints": [
{
"language": "java"
}
],
"debuggers": [
{
"type": "java-polyglot",
"label": "Java (Polyglot)",
"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": "java-polyglot",
"request": "launch",
"name": "Java (Polyglot)",
"mainClass": "${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 ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js",
"nbcode": "node ./out/nbcode.js"
},
"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": "4.4.2",
"vscode-debugadapter": "1.33.0"
}
}