Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
Quick Information
Open any file from the Godot 4 editor directly in Visual Studio Code. Once the plugin is enabled, a double-click on a file in the FileSystem dock (or the *Project → Tools → Open Selected File in VSCode* command) launches the file in VS Code using its command line interface
VSCode Opener
Open any file from the Godot 4 editor directly in Visual Studio Code. Once the plugin is enabled, a double-click on a file in the FileSystem dock (or the Project → Tools → Open Selected File in VSCode command) launches the file in VS Code using its command line interface.
Requirements
- Godot 4.5 or later.
- Visual Studio Code installed and launched at least once.
- VS Code CLI installed so the
codecommand works in your shell (⇧⌘P→ Shell Command: Install 'code' command in PATH, then verify withcode --version). - Supported platforms:
- macOS: The plugin auto-detects
/usr/local/bin/code,/opt/homebrew/bin/code, or the VS Code app bundle CLI. - Windows: The plugin checks
where codeand common install paths under%LOCALAPPDATA%and%ProgramFiles%. - Linux: The plugin looks for
codeviawhichand common locations like/usr/bin/codeor/snap/bin/code.
- macOS: The plugin auto-detects
- If you install VS Code somewhere unusual, update
_resolve_vscode_path()invscode_opener.gdwith your custom path.
Installation
- Copy the
addons/vscode_openerdirectory into your Godot project'saddonsfolder. - In Godot, open Project → Project Settings → Plugins.
- Enable VSCode Opener.
Usage
- Double-click any file in the FileSystem dock to open it immediately in VS Code.
- Alternatively, select a file and choose Project → Tools → Open Selected File in VSCode.
- The plugin skips folders and reports issues in the editor Output panel if the CLI command fails.
Asset Library Submission
- Zip only the
addons/vscode_openerdirectory before uploading. - Include the provided
icon.svg,plugin.cfg,README.md, andLICENSEfiles in the archive. - Set the asset category to Editor, mark compatibility with Godot 4.5+, and copy the feature list above into the asset description.
- Increment the
versionfield inplugin.cfgfor every release and mirror the same version number in the Asset Library entry. - Add a short changelog and screenshots/GIFs when possible to comply with the Godot Asset Library guidelines.
Troubleshooting
- If nothing opens, confirm that
code --versionworks in a terminal and that the binary resides in one of the configured paths. - Check the Godot Output panel or
~/Library/Application Support/Godot/editor.logfor messages from the plugin. - Modify
_resolve_vscode_path()invscode_opener.gdif VS Code lives somewhere else on your system.
License
MIT © Dewin-Vasil
Open any file from the Godot 4 editor directly in Visual Studio Code. Once the plugin is enabled, a double-click on a file in the FileSystem dock (or the *Project → Tools → Open Selected File in VSCode* command) launches the file in VS Code using its command line interface
Reviews
Quick Information
Open any file from the Godot 4 editor directly in Visual Studio Code. Once the plugin is enabled, a double-click on a file in the FileSystem dock (or the *Project → Tools → Open Selected File in VSCode* command) launches the file in VS Code using its command line interface