| { |
| "name": "apache-netbeans-java", |
| "displayName": "Language Server for Java by Apache NetBeans", |
| "description": "Apache NetBeans Language Server Extension for Visual Studio Code", |
| "author": "Apache NetBeans", |
| "license": "Apache 2.0", |
| "version": "0.1.0", |
| "preview": false, |
| "repository": { |
| "type": "git", |
| "url": "https://github.com/apache/netbeans" |
| }, |
| "publisher": "asf", |
| "icon": "images/Apache_NetBeans_Logo.png", |
| "categories": [ |
| "Programming Languages", |
| "Debuggers", |
| "Testing", |
| "Other" |
| ], |
| "keywords": [ |
| "multi-root ready" |
| ], |
| "engines": { |
| "vscode": "^1.67.0" |
| }, |
| "activationEvents": [ |
| "onLanguage:java", |
| "onCommand:java.workspace.newproject", |
| "workspaceContains:**/*.java", |
| "workspaceContains:pom.xml", |
| "workspaceContains:build.gradle", |
| "onDebug", |
| "onDebugDynamicConfigurations" |
| ], |
| "main": "./out/extension.js", |
| "contributes": { |
| "languages": [ |
| { |
| "id": "javascript", |
| "mimetypes": [ |
| "text/javascript", |
| "application/javascript" |
| ] |
| }, |
| { |
| "id": "jackpot-hint", |
| "extensions": [ |
| ".hint" |
| ], |
| "aliases": [ |
| "Java Hints" |
| ] |
| } |
| ], |
| "grammars": [ |
| { |
| "language": "jackpot-hint", |
| "scopeName": "source.java", |
| "path": "./syntaxes/java.tmLanguage.json" |
| } |
| ], |
| "views": { |
| "explorer": [ |
| { |
| "id": "foundProjects", |
| "name": "Projects", |
| "when": "nbJavaLSReady && config.netbeans.javaSupport.enabled" |
| }, |
| { |
| "id": "database.connections", |
| "name": "Databases", |
| "when": "nbJavaLSReady" |
| }, |
| { |
| "id": "cloud.resources", |
| "name": "Cloud", |
| "when": "nbJavaLSReady && config.netbeans.javaSupport.enabled" |
| }, |
| { |
| "id": "run-config", |
| "name": "Run Configuration", |
| "contextualTitle": "Run Configuration", |
| "when": "runConfigurationInitialized" |
| } |
| ] |
| }, |
| "viewsWelcome": [ |
| { |
| "view": "database.connections", |
| "contents": "No Database Connections found.\n[Add a new connection](command:db.add.connection)" |
| } |
| ], |
| "configuration": { |
| "title": "Java", |
| "properties": { |
| "netbeans.jdkhome": { |
| "type": [ |
| "string", |
| "null" |
| ], |
| "default": null, |
| "description": "Specifies JDK for the Apache NetBeans Language Server", |
| "scope": "machine" |
| }, |
| "netbeans.verbose": { |
| "type": "boolean", |
| "default": false, |
| "description": "Enables verbose messages from the Apache NetBeans Language Server" |
| }, |
| "netbeans.userdir": { |
| "description": "Keep settings and caches as 'global' or 'local' per workspace?", |
| "type": "string", |
| "enum": [ |
| "global", |
| "local" |
| ], |
| "enumDescriptions": [ |
| "Share data between all workspaces (more effective)", |
| "Each workspace has its own data (more isolated)" |
| ], |
| "default": "local" |
| }, |
| "netbeans.conflict.check": { |
| "type": "boolean", |
| "default": true, |
| "description": "Avoid conflicts with other Java extensions" |
| }, |
| "netbeans.revealActiveInProjects": { |
| "type": "boolean", |
| "default": false, |
| "description": "Reveals active text editor in Projects view" |
| }, |
| "java.test.editor.enableShortcuts": { |
| "type": "boolean", |
| "default": false, |
| "description": "Enable Run/Debug test in editor" |
| }, |
| "netbeans.javaSupport.enabled": { |
| "type": "boolean", |
| "default": true, |
| "description": "Enables Java support in Language Server" |
| }, |
| "netbeans.groovySupport.enabled": { |
| "type": "boolean", |
| "default": true, |
| "description": "Enables experimental Groovy and Spock support in Language Server" |
| }, |
| "netbeans.javadoc.load.timeout": { |
| "type": "integer", |
| "default": 100, |
| "description": "Timeout (in milliseconds) for loading Javadoc in code completion (-1 for unlimited)" |
| }, |
| "netbeans.format.codeFormatter": { |
| "type": "string", |
| "enum": [ |
| "NetBeans", |
| "Eclipse", |
| "Google", |
| "Spring" |
| ], |
| "enumDescriptions": [ |
| "Internal NetBeans Code Formatter", |
| "Eclipse Code Formatter", |
| "Goolge Code Formatter", |
| "Spring Code Formatter" |
| ], |
| "description": "Code formatter to use", |
| "default": "NetBeans" |
| }, |
| "netbeans.format.settingsPath": { |
| "type": "string", |
| "description": "Path to the file containing exported formatter settings", |
| "default": null |
| }, |
| "netbeans.java.onSave.organizeImports": { |
| "type": "boolean", |
| "default": true, |
| "description": "Enable organize imports action on a document save" |
| }, |
| "netbeans.java.imports.groups": { |
| "type": "array", |
| "description": "Groups of import statements (specified by their package prefixes) and their sorting order. Import statements within a group are ordered alphabetically", |
| "default": [ |
| "java", |
| "javax", |
| "org", |
| "com", |
| "" |
| ] |
| }, |
| "netbeans.java.imports.countForUsingStarImport": { |
| "type": "integer", |
| "description": "Class count to use a star-import", |
| "default": 999, |
| "minimum": 1 |
| }, |
| "netbeans.java.imports.countForUsingStaticStarImport": { |
| "type": "integer", |
| "description": "Members count to use a static star-import", |
| "default": 999, |
| "minimum": 1 |
| }, |
| "java8+.runConfig.arguments": { |
| "type": "string", |
| "default": "", |
| "description": "Arguments" |
| }, |
| "java8+.runConfig.vmOptions": { |
| "type": "string", |
| "default": "", |
| "description": "VM options" |
| }, |
| "java8+.runConfig.env": { |
| "type": "string", |
| "default": "", |
| "description": "Environment variables" |
| }, |
| "java8+.runConfig.cwd": { |
| "type": "string", |
| "default": "", |
| "description": "Working directory" |
| } |
| } |
| }, |
| "breakpoints": [ |
| { |
| "language": "java" |
| }, |
| { |
| "language": "groovy" |
| } |
| ], |
| "debuggers": [ |
| { |
| "type": "java8+", |
| "label": "Java 8+", |
| "runtime": "node", |
| "when": "config.netbeans.javaSupport.enabled", |
| "languages": [ |
| "java", |
| "groovy" |
| ], |
| "configurationAttributes": { |
| "launch": { |
| "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" |
| }, |
| "args": { |
| "type": [ |
| "string", |
| "null" |
| ], |
| "description": "Arguments for the executed class", |
| "default": null |
| }, |
| "vmArgs": { |
| "type": [ |
| "string", |
| "null" |
| ], |
| "description": "Arguments for the Java VM", |
| "default": null |
| }, |
| "cwd": { |
| "type": [ |
| "string", |
| "null" |
| ], |
| "description": "Working directory for the program execution", |
| "default": null |
| }, |
| "env": { |
| "type": [ |
| "object" |
| ], |
| "description": "Environment variables for the program execution", |
| "default": {} |
| }, |
| "launchConfiguration": { |
| "type": [ |
| "string", |
| "null" |
| ], |
| "description": "Mode and default behaviour for launch" |
| } |
| } |
| }, |
| "attach": { |
| "properties": { |
| "hostName": { |
| "type": "string", |
| "default": "localhost", |
| "description": "Host name or IP address to which to attach" |
| }, |
| "port": { |
| "type": "string", |
| "default": "8000", |
| "description": "Port number to which to attach" |
| }, |
| "sharedMemoryName": { |
| "type": "string", |
| "description": "Shared memory name of the debuggee" |
| }, |
| "processId": { |
| "type": "string", |
| "default": "${command:java.attachDebugger.pickProcess}", |
| "description": "Process Id of the debuggee" |
| }, |
| "timeout": { |
| "type": "string", |
| "default": "30000", |
| "description": "Timeout while waiting to attach" |
| } |
| } |
| } |
| }, |
| "initialConfigurations": [ |
| { |
| "type": "java8+", |
| "request": "launch", |
| "name": "Launch Java 8+ App" |
| } |
| ], |
| "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" |
| } |
| } |
| ] |
| }, |
| { |
| "type": "nativeimage", |
| "label": "Native Image", |
| "runtime": "node", |
| "languages": [ |
| "java" |
| ], |
| "configurationAttributes": { |
| "launch": { |
| "required": [ |
| "nativeImagePath" |
| ], |
| "properties": { |
| "nativeImagePath": { |
| "type": "string", |
| "description": "Absolute path to the application native image.", |
| "default": "${workspaceFolder}/build/native-image/application" |
| }, |
| "miDebugger": { |
| "type": "string", |
| "description": "MI Debugger", |
| "default": "gdb" |
| }, |
| "console": { |
| "type": "string", |
| "enum": [ |
| "internalConsole" |
| ], |
| "description": "The specified console to launch the program.", |
| "default": "internalConsole" |
| } |
| } |
| }, |
| "attach": { |
| "properties": { |
| "nativeImagePath": { |
| "type": "string", |
| "description": "Absolute path to the application native image.", |
| "default": "${workspaceFolder}/build/native-image/application" |
| }, |
| "processId": { |
| "type": "string", |
| "default": "${command:nativeImage.attachDebugger.pickProcess}", |
| "description": "Process Id of the native image" |
| }, |
| "miDebugger": { |
| "type": "string", |
| "description": "MI Debugger", |
| "default": "gdb" |
| } |
| } |
| } |
| }, |
| "initialConfigurations": [ |
| { |
| "type": "nativeimage", |
| "request": "launch", |
| "name": "Launch Native Image", |
| "nativeImagePath": "${workspaceFolder}/build/native-image/application" |
| } |
| ], |
| "configurationSnippets": [ |
| { |
| "label": "Native Image: Launch", |
| "description": "Launch a native image with MI debugger.", |
| "body": { |
| "type": "nativeimage", |
| "request": "launch", |
| "name": "Launch Native Image", |
| "nativeImagePath": "^\"${1:\\${workspaceFolder\\}/build/native-image/application}\"" |
| } |
| }, |
| { |
| "label": "Native Image: Attach to Process", |
| "description": "Attach to a native image process with MI debugger.", |
| "body": { |
| "type": "nativeimage", |
| "request": "attach", |
| "name": "Attach to Native Image", |
| "processId": "^\"\\${command:nativeImage.attachDebugger.pickProcess\\}\"", |
| "nativeImagePath": "" |
| } |
| } |
| ] |
| } |
| ], |
| "commands": [ |
| { |
| "command": "nbls.workspace.compile", |
| "title": "Compile Workspace", |
| "category": "Java" |
| }, |
| { |
| "command": "nbls.workspace.clean", |
| "title": "Clean Workspace", |
| "category": "Java" |
| }, |
| { |
| "command": "java.workspace.new", |
| "title": "New from Template...", |
| "category": "Java", |
| "icon": "$(new-file)" |
| }, |
| { |
| "command": "java.workspace.newproject", |
| "title": "New Project...", |
| "category": "Java", |
| "icon": "$(new-folder)" |
| }, |
| { |
| "command": "java.goto.super.implementation", |
| "title": "Go to Super Implementation", |
| "category": "Java" |
| }, |
| { |
| "command": "java.open.type", |
| "title": "Open Type...", |
| "category": "Java" |
| }, |
| { |
| "command": "graalvm.pause.script", |
| "title": "Pause in Script", |
| "category": "GraalVM" |
| }, |
| { |
| "command": "foundProjects.deleteEntry", |
| "title": "Delete" |
| }, |
| { |
| "command": "db.add.connection", |
| "title": "Add Database Connection", |
| "category": "Database", |
| "icon": "$(add)" |
| }, |
| { |
| "command": "nbls:Database:netbeans.db.explorer.action.Connect", |
| "title": "Connect to Database" |
| }, |
| { |
| "command": "nbls:Database:netbeans.db.explorer.action.Disconnect", |
| "title": "Disconnect" |
| }, |
| { |
| "command": "nbls:Database:netbeans.db.explorer.action.Refresh", |
| "title": "Refresh" |
| }, |
| { |
| "command": "nbls:Tools:org.netbeans.modules.cloud.oracle.actions.CreateBuildRun", |
| "title": "Run", |
| "icon": "$(run)" |
| }, |
| { |
| "command": "nbls:Tools:org.netbeans.modules.cloud.oracle.actions.AddRepository", |
| "title": "Add Repository", |
| "icon": "$(github-alt)" |
| }, |
| { |
| "command": "nbls:Tools:org.netbeans.modules.cloud.oracle.actions.AddToProject", |
| "title": "Add To Project", |
| "icon": "$(star-empty)" |
| }, |
| { |
| "command": "nbls:Tools:org.netbeans.modules.cloud.oracle.actions.CloudRefresh", |
| "title": "Refresh", |
| "icon": "$(refresh)" |
| }, |
| { |
| "command": "nbls:Edit:org.openide.actions.DeleteAction", |
| "title": "Delete" |
| }, |
| { |
| "command": "workbench.action.debug.run", |
| "title": "Run Without Debugging", |
| "icon": "$(run)" |
| }, |
| { |
| "command": "workbench.action.debug.start", |
| "title": "Start Debugging", |
| "icon": "$(debug-alt)" |
| }, |
| { |
| "command": "java.project.run", |
| "category": "Project", |
| "title": "Run Project Without Debugging", |
| "icon": "$(run)" |
| }, |
| { |
| "command": "java.project.debug", |
| "category": "Project", |
| "title": "Debug Project", |
| "icon": "$(debug-alt)" |
| }, |
| { |
| "command": "java.project.test", |
| "category": "Project", |
| "title": "Test Project", |
| "icon": "$(testing-run-all-icon)" |
| }, |
| { |
| "command": "java.project.compile", |
| "category": "Project", |
| "title": "Compile Project" |
| }, |
| { |
| "command": "java.project.clean", |
| "category": "Project", |
| "title": "Clean Project" |
| }, |
| { |
| "command": "java.local.db.set.preferred.connection", |
| "title": "Make Default Connection" |
| }, |
| { |
| "command": "java.workspace.configureRunSettings", |
| "title": "Edit", |
| "icon": "$(edit)" |
| }, |
| { |
| "command": "testing.runAll", |
| "title": "Run All Tests", |
| "category": "Test" |
| }, |
| { |
| "command": "nbls:Tools:org.netbeans.modules.cloud.oracle.actions.DownloadWalletAction", |
| "title": "Add DB Connection" |
| }, |
| { |
| "command": "nbls:Tools:org.netbeans.modules.cloud.oracle.actions.CreateAutonomousDBAction", |
| "title": "Create Autonomous Database" |
| }, |
| { |
| "command": "nbls:Tools:org.netbeans.modules.cloud.oracle.actions.OpenServiceConsoleAction", |
| "title": "Open Service Console" |
| }, |
| { |
| "command": "java.db.set.env", |
| "title": "Set Database Environment Variables", |
| "category": "Database" |
| }, |
| { |
| "command": "java.select.editor.projects", |
| "title": "Reveal active editor in Projects", |
| "category": "Project" |
| } |
| ], |
| "keybindings": [ |
| { |
| "command": "nbls.workspace.compile", |
| "key": "shift+alt+b", |
| "when": "nbJavaLSReady && config.netbeans.javaSupport.enabled" |
| }, |
| { |
| "command": "java.goto.super.implementation", |
| "key": "alt+U", |
| "mac": "alt+cmd+U", |
| "when": "editorHasCodeActionsProvider && editorTextFocus && config.netbeans.javaSupport.enabled" |
| }, |
| { |
| "command": "editor.action.sourceAction", |
| "key": "alt+insert", |
| "mac": "ctrl+alt+enter", |
| "when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly && config.netbeans.javaSupport.enabled" |
| } |
| ], |
| "menus": { |
| "editor/context": [ |
| { |
| "command": "java.goto.super.implementation", |
| "when": "nbJavaLSReady && editorLangId == java && editorTextFocus && config.netbeans.javaSupport.enabled", |
| "group": "navigation@100" |
| } |
| ], |
| "explorer/context": [ |
| { |
| "command": "java.workspace.new", |
| "when": "nbJavaLSReady && explorerResourceIsFolder", |
| "group": "navigation@3" |
| } |
| ], |
| "commandPalette": [ |
| { |
| "command": "java.workspace.new", |
| "when": "nbJavaLSReady" |
| }, |
| { |
| "command": "java.workspace.newproject", |
| "when": "config.netbeans.javaSupport.enabled" |
| }, |
| { |
| "command": "nbls.workspace.compile", |
| "when": "nbJavaLSReady && config.netbeans.javaSupport.enabled" |
| }, |
| { |
| "command": "java.goto.super.implementation", |
| "when": "nbJavaLSReady && editorLangId == java && config.netbeans.javaSupport.enabled" |
| }, |
| { |
| "command": "graalvm.pause.script", |
| "when": "nbJavaLSReady" |
| }, |
| { |
| "command": "foundProjects.deleteEntry", |
| "when": "false" |
| }, |
| { |
| "command": "nbls:Database:netbeans.db.explorer.action.Connect", |
| "when": "false" |
| }, |
| { |
| "command": "nbls:Database:netbeans.db.explorer.action.Disconnect", |
| "when": "false" |
| }, |
| { |
| "command": "nbls:Database:netbeans.db.explorer.action.Refresh", |
| "when": "false" |
| }, |
| { |
| "command": "nbls:Tools:org.netbeans.modules.cloud.oracle.actions.CreateBuildRun", |
| "when": "false" |
| }, |
| { |
| "command": "nbls:Tools:org.netbeans.modules.cloud.oracle.actions.AddRepository", |
| "when": "false" |
| }, |
| { |
| "command": "nbls:Tools:org.netbeans.modules.cloud.oracle.actions.AddToProject", |
| "when": "false" |
| }, |
| { |
| "command": "nbls:Tools:org.netbeans.modules.cloud.oracle.actions.CloudRefresh", |
| "when": "false" |
| }, |
| { |
| "command": "nbls:Edit:org.openide.actions.DeleteAction", |
| "when": "false" |
| }, |
| { |
| "command": "java.local.db.set.preferred.connection", |
| "when": "false" |
| }, |
| { |
| "command": "nbls:Tools:org.netbeans.modules.cloud.oracle.actions.DownloadWalletAction", |
| "when": "false" |
| }, |
| { |
| "command": "nbls:Tools:org.netbeans.modules.cloud.oracle.actions.CreateAutonomousDBAction", |
| "when": "false" |
| }, |
| { |
| "command": "nbls:Tools:org.netbeans.modules.cloud.oracle.actions.OpenServiceConsoleAction", |
| "when": "false" |
| }, |
| { |
| "command": "java.workspace.configureRunSettings", |
| "when": "false" |
| } |
| ], |
| "view/title": [ |
| { |
| "command": "java.workspace.newproject", |
| "when": "nbJavaLSReady && view == foundProjects && config.netbeans.javaSupport.enabled", |
| "group": "navigation" |
| }, |
| { |
| "command": "nbls.workspace.compile", |
| "when": "nbJavaLSReady && view == foundProjects && config.netbeans.javaSupport.enabled" |
| }, |
| { |
| "command": "nbls.workspace.clean", |
| "when": "nbJavaLSReady && view == foundProjects && config.netbeans.javaSupport.enabled" |
| }, |
| { |
| "command": "testing.runAll", |
| "when": "nbJavaLSReady && view == foundProjects && config.netbeans.javaSupport.enabled" |
| }, |
| { |
| "command": "workbench.action.debug.run", |
| "when": "nbJavaLSReady && view == foundProjects && config.netbeans.javaSupport.enabled" |
| }, |
| { |
| "command": "workbench.action.debug.start", |
| "when": "nbJavaLSReady && view == foundProjects && config.netbeans.javaSupport.enabled" |
| }, |
| { |
| "command": "db.add.connection", |
| "when": "view == database.connections", |
| "group": "navigation@3" |
| } |
| ], |
| "view/item/context": [ |
| { |
| "command": "foundProjects.deleteEntry", |
| "when": "view == foundProjects && viewItem == node && config.netbeans.javaSupport.enabled" |
| }, |
| { |
| "command": "nbls:Database:netbeans.db.explorer.action.Connect", |
| "when": "viewItem =~ /class:org.netbeans.api.db.explorer.DatabaseConnection/" |
| }, |
| { |
| "command": "nbls:Database:netbeans.db.explorer.action.Disconnect", |
| "when": "viewItem =~ /class:org.netbeans.api.db.explorer.DatabaseConnection/" |
| }, |
| { |
| "command": "nbls:Database:netbeans.db.explorer.action.Refresh", |
| "when": "viewItem =~ /class:ddl.DBConnection/" |
| }, |
| { |
| "command": "nbls:Edit:org.openide.actions.DeleteAction", |
| "when": "viewItem =~ /cap:delete/" |
| }, |
| { |
| "command": "java.workspace.new", |
| "when": "view == foundProjects && viewItem =~ /is:folder/", |
| "group": "inline@1" |
| }, |
| { |
| "command": "java.project.run", |
| "when": "view == foundProjects && viewItem =~ /is:project/ && viewItem =~ /^(?!.*is:projectRoot)/ && config.netbeans.javaSupport.enabled", |
| "group": "inline@10" |
| }, |
| { |
| "command": "java.project.debug", |
| "when": "view == foundProjects && viewItem =~ /is:project/ && viewItem =~ /^(?!.*is:projectRoot)/ && config.netbeans.javaSupport.enabled", |
| "group": "inline@11" |
| }, |
| { |
| "command": "java.project.test", |
| "when": "view == foundProjects && viewItem =~ /is:project/ && viewItem =~ /^(?!.*is:projectRoot)/ && config.netbeans.javaSupport.enabled" |
| }, |
| { |
| "command": "java.project.compile", |
| "when": "view == foundProjects && viewItem =~ /is:project/ && config.netbeans.javaSupport.enabled" |
| }, |
| { |
| "command": "java.project.clean", |
| "when": "view == foundProjects && viewItem =~ /is:project/ && config.netbeans.javaSupport.enabled" |
| }, |
| { |
| "command": "java.local.db.set.preferred.connection", |
| "when": "viewItem =~ /class:org.netbeans.api.db.explorer.DatabaseConnection/" |
| }, |
| { |
| "command": "nbls:Tools:org.netbeans.modules.cloud.oracle.actions.DownloadWalletAction", |
| "when": "viewItem =~ /class:oracle.database.DatabaseItem/" |
| }, |
| { |
| "command": "nbls:Tools:org.netbeans.modules.cloud.oracle.actions.OpenServiceConsoleAction", |
| "when": "viewItem =~ /class:oracle.database.DatabaseItem/" |
| }, |
| { |
| "command": "nbls:Tools:org.netbeans.modules.cloud.oracle.actions.CreateAutonomousDBAction", |
| "when": "viewItem =~ /class:oracle.compartment.CompartmentItem/" |
| }, |
| { |
| "command": "nbls:Tools:org.netbeans.modules.cloud.oracle.actions.AddRepository", |
| "when": "viewItem =~ /class:oracle.devops.DevopsProjectItem/", |
| "group": "inline@12" |
| }, |
| { |
| "command": "nbls:Tools:org.netbeans.modules.cloud.oracle.actions.CreateBuildRun", |
| "when": "viewItem =~ /class:oracle.devops.BuildPipelineItem/", |
| "group": "inline@12" |
| }, |
| { |
| "command": "nbls:Tools:org.netbeans.modules.cloud.oracle.actions.AddToProject", |
| "when": "viewItem =~ /class:oracle/", |
| "group": "inline@14" |
| }, |
| { |
| "command": "nbls:Tools:org.netbeans.modules.cloud.oracle.actions.CloudRefresh", |
| "when": "viewItem =~ /class:oracle/", |
| "group": "inline@13" |
| }, |
| { |
| "command": "java.workspace.configureRunSettings", |
| "when": "view == run-config && viewItem == configureRunSettings && config.netbeans.javaSupport.enabled", |
| "group": "inline@1" |
| } |
| ] |
| }, |
| "netbeans.iconMapping": [ |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/gradle/resources/gradle", |
| "codeicon": "project" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/gradle/java/resources/javaseProjectIcon", |
| "codeicon": "project" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/maven/resources/jaricon", |
| "codeicon": "project" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/gradle/resources/libraries", |
| "codeicon": "settings-gear" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/gradle/resources/(empty|module-artifact)", |
| "codeicon": "file-zip" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/maven/DependencyIcon", |
| "codeicon": "file-zip" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/maven/TransitiveDependencyIcon", |
| "codeicon": "library" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/spi/java/project/support/ui/package(Empty)?", |
| "codeicon": "file-submodule" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/java/resources/(abstract_class_file|class|enum_file)", |
| "codeicon": "symbol-class" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/java/resources/(annotation_file|interface_file)", |
| "codeicon": "symbol-interface" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/nbcode/integration/resources/uidefaults/Tree.(open|closed)Icon", |
| "valueMatch": [ |
| " [0-9]+([A-Z][A-z]+)?SourceRoot | Dependencies[A-Z]+ | OtherRoots | projectfiles | BootCPNode " |
| ], |
| "codeicon": "file-submodule" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/nbcode/integration/resources/uidefaults/Tree.(open|closed)Icon", |
| "valueMatch": [ |
| " [0-9]+([A-z]+).(java|groovy|generated|resources) " |
| ], |
| "codeicon": "file-submodule" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/nbcode/integration/resources/uidefaults/Tree.(open|closed)Icon", |
| "codeicon": "*folder" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/java/api/common/project/ui/resources/platform", |
| "codeicon": "vm" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/cloud/oracle/resources/tenancy.svg", |
| "codeicon": "cloud" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/cloud/oracle/resources/compartment_nbcode.svg", |
| "codeicon": "archive" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/cloud/oracle/resources/database_nbcode.svg", |
| "codeicon": "database" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/cloud/oracle/resources/devops_project.svg", |
| "codeicon": "project" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/cloud/oracle/resources/knowledge_base.svg", |
| "codeicon": "book" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/cloud/oracle/resources/build_pipeline.svg", |
| "codeicon": "list-tree" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/cloud/oracle/resources/build_pipeline_folder.svg", |
| "codeicon": "list-tree" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/cloud/oracle/resources/build_run.svg", |
| "codeicon": "primitive-dot" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/cloud/oracle/resources/build_run_folder.svg", |
| "codeicon": "history" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/cloud/oracle/resources/repository.svg", |
| "codeicon": "repo" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/cloud/oracle/resources/repository_folder.svg", |
| "codeicon": "repo" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/cloud/oracle/resources/deploy_artifact.svg", |
| "codeicon": "file-binary" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/cloud/common/explorer/resources/defaultFolder.svg", |
| "codeicon": "file-submodule" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/cloud/oracle/resources/deploy_artifact_folder.svg", |
| "codeicon": "file-binary" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/cloud/oracle/resources/deploy_artifact.svg", |
| "codeicon": "file-binary" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/cloud/oracle/resources/green_dot.svg", |
| "codeicon": "pass", |
| "color": "charts.green" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/cloud/oracle/resources/red_dot.svg", |
| "codeicon": "error", |
| "color": "charts.red" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/db/resources/connection_nbcode.svg", |
| "codeicon": "database" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/db/resources/connectionDisconnected_nbcode.svg", |
| "codeicon": "debug-disconnect" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/db/resources/folder_nbcode.svg", |
| "codeicon": "" |
| }, |
| { |
| "uriExpression": "nbres:/org/netbeans/modules/cloud/oracle/resources/yellow_dot.svg", |
| "codeicon": "circle-large-outline", |
| "color": "charts.yellow" |
| } |
| ], |
| "jsonValidation": [ |
| { |
| "fileMatch": "package.json", |
| "url": "./schemas/package.schema.json" |
| } |
| ] |
| }, |
| "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.*", |
| "apisupport": "node ./out/nbcode.js -J-Dnetbeans.close=true --modules --install '(org.netbeans.libs.xerces|org.netbeans.modules.editor.structure|org.netbeans.modules.xml|org.netbeans.modules.xml.axi|org.netbeans.modules.xml.retriever|org.netbeans.modules.xml.schema.model|org.netbeans.modules.xml.tax|org.netbeans.modules.xml.text|org.netbeans.modules.ant.browsetask|.*apisupport.*|org.netbeans.modules.debugger.jpda.ant)' && node ./out/nbcode.js -J-Dnetbeans.close=true --modules --enable .*apisupport.ant" |
| }, |
| "devDependencies": { |
| "@types/glob": "^7.1.1", |
| "@types/mocha": "^9.0.0", |
| "@types/node": "^13.11.0", |
| "@types/ps-node": "^0.1.0", |
| "@types/vscode": "^1.67.0", |
| "glob": "^7.1.6", |
| "mocha": "^9.1.2", |
| "ps-node": "^0.1.6", |
| "typescript": "^4.6.4", |
| "vscode-test": "^1.3.0" |
| }, |
| "dependencies": { |
| "jsonc-parser": "3.0.0", |
| "@vscode/debugadapter": "1.55.1", |
| "vscode-languageclient": "8.0.1" |
| }, |
| "__metadata": { |
| "id": "66c7d7dc-934c-499b-94af-5375e8234fdd", |
| "publisherDisplayName": "Apache Software Foundation", |
| "publisherId": "4dbc1d1a-d64b-46f8-8756-1c234855f645", |
| "isPreReleaseVersion": false |
| } |
| } |