123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311 |
- {
- "name": "godot-tools",
- "displayName": "godot-tools",
- "icon": "icon.png",
- "version": "1.1.3",
- "description": "Tools for game development with godot game engine",
- "repository": {
- "type": "git",
- "url": "https://github.com/godotengine/godot-vscode-plugin"
- },
- "author": "The Godot Engine community",
- "publisher": "geequlim",
- "engines": {
- "vscode": "^1.33.0"
- },
- "categories": [
- "Other",
- "Debuggers"
- ],
- "activationEvents": [
- "workspaceContains:project.godot",
- "onLanguage:gdscript",
- "onDebugResolve:godot"
- ],
- "main": "./out/extension.js",
- "scripts": {
- "vscode:prepublish": "npm run compile",
- "compile": "tsc -p ./",
- "lint": "tslint -p ./",
- "watch": "tsc -watch -p ./"
- },
- "contributes": {
- "commands": [
- {
- "command": "godot-tool.open_editor",
- "title": "Godot Tools: Open workspace with Godot editor"
- },
- {
- "command": "godot-tool.run_project",
- "title": "Godot Tools: Run workspace as Godot project"
- },
- {
- "command": "godot-tool.list_native_classes",
- "title": "Godot Tools: List native classes of godot"
- },
- {
- "command": "godot-tool.debugger.inspect_node",
- "title": "Inspect Remote Node",
- "icon": {
- "light": "resources/light/icon_GUI_visibility_visible.svg",
- "dark": "resources/dark/icon_GUI_visibility_visible.svg"
- }
- },
- {
- "command": "godot-tool.debugger.refresh_scene_tree",
- "title": "Refresh",
- "icon": {
- "light": "resources/light/icon_refresh.svg",
- "dark": "resources/dark/icon_refresh.svg"
- }
- },
- {
- "command": "godot-tool.debugger.refresh_inspector",
- "title": "Refresh",
- "icon": {
- "light": "resources/light/icon_refresh.svg",
- "dark": "resources/dark/icon_refresh.svg"
- }
- },
- {
- "command": "godot-tool.debugger.edit_value",
- "title": "Edit value",
- "icon": {
- "light": "resources/light/icon_edit.svg",
- "dark": "resources/dark/icon_edit.svg"
- }
- },
- {
- "command": "godot-tool.set_scene_file",
- "title": "Set as Scene File"
- }
- ],
- "configuration": {
- "type": "object",
- "title": "Godot Tools configuration",
- "properties": {
- "godot_tools.gdscript_lsp_server_protocol": {
- "type": [
- "string"
- ],
- "enum": [
- "ws",
- "tcp"
- ],
- "default": "tcp",
- "enumDescriptions": [
- "Using WebSocket protocol to connect to Godot 3.2 and Godot 3.2.1",
- "Using TCP protocol to connect to Godot 3.2.2 and newer versions"
- ],
- "description": "The server protocol of the GDScript language server.\nYou have restart VSCode editor after change this value."
- },
- "godot_tools.gdscript_lsp_server_port": {
- "type": "number",
- "default": 6008,
- "description": "The server port of the GDScript language server"
- },
- "godot_tools.editor_path": {
- "type": "string",
- "default": "",
- "description": "The absolute path to the Godot editor executable"
- },
- "godot_tools.scene_file_config": {
- "type": "string",
- "default": "",
- "description": "The scene file to run"
- }
- }
- },
- "languages": [
- {
- "id": "gdscript",
- "aliases": [
- "GDScript",
- "gdscript"
- ],
- "extensions": [
- ".gd"
- ],
- "configuration": "./configurations/gdscript-configuration.json"
- },
- {
- "id": "properties",
- "extensions": [
- "cfg",
- "tres",
- "tscn",
- "godot",
- "gdns",
- "gdnlib",
- "import"
- ]
- }
- ],
- "grammars": [
- {
- "language": "gdscript",
- "scopeName": "source.gdscript",
- "path": "./syntaxes/GDScript.tmLanguage.json"
- }
- ],
- "snippets": [
- {
- "language": "gdscript",
- "path": "./configurations/snippets.json"
- }
- ],
- "debuggers": [
- {
- "type": "godot",
- "label": "GDScript Godot Debug",
- "program": "./out/debugger/debug_adapter.js",
- "runtime": "node",
- "configurationAttributes": {
- "launch": {
- "required": [
- "project",
- "port",
- "address"
- ],
- "properties": {
- "project": {
- "type": "string",
- "description": "Absolute path to a directory with a project.godot file.",
- "default": "${workspaceFolder}"
- },
- "port": {
- "type": "number",
- "description": "The port number for the Godot remote debugger to use.",
- "default": 6007
- },
- "address": {
- "type": "string",
- "description": "The IP address for the Godot remote debugger to use.",
- "default": "127.0.0.1"
- },
- "launch_game_instance": {
- "type": "boolean",
- "description": "Whether to launch an instance of the workspace's game, or wait for a debug session to connect.",
- "default": true
- },
- "launch_scene": {
- "type": "boolean",
- "description": "Whether to launch an instance the currently opened TSCN file, or launch the game project. Only works with launch_game_instance being true.",
- "default": false
- },
- "scene_file": {
- "type": "string",
- "description": "Relative path from the godot.project file to a TSCN file. If launch_scene and launch_game_instance are true, and this file is defined, will launch the specified file instead of looking for an active TSCN file.",
- "default": ""
- }
- }
- }
- },
- "initialConfigurations": [
- {
- "name": "GDScript Godot",
- "type": "godot",
- "request": "launch",
- "project": "${workspaceFolder}",
- "port": 6007,
- "address": "127.0.0.1",
- "launch_game_instance": true,
- "launch_scene": false
- }
- ],
- "configurationSnippets": [
- {
- "label": "GDScript Godot Debug: Launch",
- "description": "A new configuration for debugging a Godot project.",
- "body": {
- "type": "godot",
- "request": "launch",
- "project": "${workspaceFolder}",
- "port": 6007,
- "address": "127.0.0.1",
- "launch_game_instance": true,
- "launch_scene": false
- }
- }
- ]
- }
- ],
- "breakpoints": [
- {
- "language": "gdscript"
- }
- ],
- "views": {
- "debug": [
- {
- "id": "active-scene-tree",
- "name": "Active Scene Tree",
- "when": "inDebugMode && debugType == 'godot'"
- },
- {
- "id": "inspect-node",
- "name": "Inspector",
- "when": "inDebugMode && debugType == 'godot'"
- }
- ]
- },
- "menus": {
- "view/title": [
- {
- "command": "godot-tool.debugger.refresh_scene_tree",
- "when": "view == active-scene-tree",
- "group": "navigation"
- },
- {
- "command": "godot-tool.debugger.refresh_inspector",
- "when": "view == inspect-node",
- "group": "navigation"
- }
- ],
- "view/item/context": [
- {
- "command": "godot-tool.debugger.inspect_node",
- "when": "view == active-scene-tree",
- "group": "inline"
- },
- {
- "command": "godot-tool.debugger.inspect_node",
- "when": "view == inspect-node && viewItem == remote_object",
- "group": "inline"
- },
- {
- "command": "godot-tool.debugger.edit_value",
- "when": "view == inspect-node && viewItem == editable_value",
- "group": "inline"
- }
- ],
- "explorer/context": [
- {
- "command": "godot-tool.set_scene_file",
- "group": "2_workspace"
- }
- ]
- }
- },
- "devDependencies": {
- "@types/marked": "^0.6.5",
- "@types/mocha": "^2.2.42",
- "@types/node": "^10.12.21",
- "@types/prismjs": "^1.16.0",
- "@types/vscode": "^1.33.0",
- "@types/ws": "^6.0.1",
- "tslint": "^5.16.0",
- "typescript": "^3.5.1",
- "vsce": "^1.76.1"
- },
- "dependencies": {
- "await-notify": "^1.0.1",
- "global": "^4.4.0",
- "marked": "^4.0.10",
- "net": "^1.0.2",
- "terminate": "^2.1.2",
- "vscode-debugadapter": "^1.38.0",
- "vscode-languageclient": "^5.2.1",
- "ws": "^7.4.6"
- }
- }
|