Godot development tools for VSCode
|
1 жил өмнө | |
---|---|---|
.github | 1 жил өмнө | |
.vscode | 1 жил өмнө | |
configurations | 2 жил өмнө | |
img | 2 жил өмнө | |
resources | 2 жил өмнө | |
src | 1 жил өмнө | |
syntaxes | 1 жил өмнө | |
tools | 1 жил өмнө | |
.editorconfig | 6 жил өмнө | |
.eslintrc.json | 1 жил өмнө | |
.gitignore | 3 жил өмнө | |
.vscodeignore | 3 жил өмнө | |
CHANGELOG.md | 3 жил өмнө | |
LICENSE | 3 жил өмнө | |
README.md | 1 жил өмнө | |
icon.png | 3 жил өмнө | |
package-lock.json | 1 жил өмнө | |
package.json | 1 жил өмнө | |
tsconfig.json | 1 жил өмнө | |
tslint.json | 5 жил өмнө |
A complete set of tools to code games with Godot Engine in Visual Studio Code.
IMPORTANT NOTE: Versions 1.0.0 and later of this extension only support Godot 3.2 or later.
The extension comes with a wealth of features to make your Godot programming experience as comfortable as possible:
.gd
) language.tscn
and .tres
scene formats.gdshader
shader format.gd
file to the related .tscn
file (default keybind is alt+o
)master
branch)
.vsix
file inside).To install from GitHub Releases or a development build, see Install from a VSIX in the Visual Studio Code documentation.
The extension adds a few entries to the VS Code Command Palette under "Godot Tools":
If you like this extension, you can set VS Code as your default script editor for Godot by following these steps:
/Applications/Visual Studio Code.app/Contents/MacOS/Electron
{project} --goto {file}:{line}:{col}
You can use the following settings to configure Godot Tools:
godotTools.editorPath.godot3
godotTools.editorPath.godot4
The path to the Godot editor executable. Under Mac OS, this is the executable inside of Godot.app.
godotTools.lsp.headless
When using Godot >3.6 or >4.2, Headless LSP mode is available. In Headless mode, the extension will attempt to launch a windowless instance of the Godot editor to use as its Language Server.
The debugger is for GDScript projects. To debug C# projects, use C# Tools for Godot.
To configure the GDScript debugger:
>View: Show Run and Debug
Required
None: seriously. This is valid debugging configuration:
{ "name": "Launch", "type": "godot" }
Optional
project
: Absolute path to a directory with a project.godot file. Defaults to the currently open VSCode workspace with ${workspaceFolder}
.
port
: The port number for the Godot remote debugger to use.
address
: The IP address for the Godot remote debugger to use.
scene_file
: Path to a scene file to run instead of the projects 'main scene'.
editor_path
: Absolute path to the Godot executable to be used for this debug profile.
additional_options
: Additional command line arguments.
Usage
The Godot Tools extension is an open source project from the Godot organization. Feel free to open issues and create pull requests anytime.
See the full changelog for the latest changes.
npm install
npm run package
.When developing for the extension, you can open this project in Visual Studio Code and debug the extension by using the Run Extension launch configuration instead of going through steps 3 and 4. It will launch a new instance of Visual Studio Code that has the extension running. You can then open a Godot project folder and debug the extension or GDScript debugger.
gdscript_lsp_server_port
setting
must be changed to 6005
to match the Godot editor's new default
language server port number.