| Website | Discord |
|---|
VSCode running inside the Godot game engine.
This repo embeds VSCode editor to the Godot Engine as an addon through a webview.
Download addons folder (Download Zip option from GitHub) and put in your project. You can also install from Godot Asset Library Godot VSCode.
Then, enable it by going to Project Settings -> Plugins -> Godot VSCode (Enabled ON).
There are 2 ways to use the editor:
- Tunnel (Recommended): For this, make sure the
Project -> Project Settings -> editor/ide/auto_start_tunnelproperty is on. The tunnel will start automatically in the Terminal Tab. After you get an URL for it (From the terminal tab), simply copy that URL and put it in the:Project -> Project Settings -> editor/ide/vscode_url. Now it will always connect automatically to the tunnel (locally). You may need to authenticate with GitHub. - External Folder: For this, simply load an external folder in Code.
If you want to hide the old Script editor, go to:
- Editor ->
- Manage Editor Features... ->
- (Disable) Script Editor
- Manage Editor Features... ->
Note:
This will hide the previous Script editor in favour of the new `Code` based one.
It creates a Webview node and loads the website https://vscode.dev. Then, it creates a tunnel from your local vscode by running code tunnel (automatically) and connects to that.
The plugin adds the following project settings under editor/ide/:
vscode_url(String, default:"https://vscode.dev"): The URL to load in the VSCode webviewauto_start_tunnel(bool, default:true): Whether to automatically start the VSCode tunnel when the editor starts
You can disable the auto-start tunnel and manually start it using "Project → Tools → Start VSCode tunnel" from the menu.
- appsinacup/godot_wry: Fork of godot_wry (Webview component) that fixes some sizing issue, adds option to open new tab, drag-and-drop handler, updates to latest version of wry, etc.

