Godot VSCode

June 22, 2026 · View on GitHub

Godot VSCode

example

WebsiteDiscord


VSCode running inside the Godot game engine.


Godot VSCode

This repo embeds VSCode editor to the Godot Engine as an addon through a webview.

How to install

Download addons folder (Download Zip option from GitHub) and put in your project. You can also install from Godot Asset Store Godot VSCode.

Then, enable it by going to Project Settings -> Plugins -> Godot VSCode (Enabled ON).

Setup

There are 2 ways to use the editor:

  • Tunnel (Recommended): For this, make sure the Project -> Project Settings -> editor/ide/auto_start_tunnel property 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

Note:

This will hide the previous Script editor in favour of the new `Code` based one.

How it works?

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.

VSCode Presentation

Project Settings

The plugin adds the following project settings under editor/ide/:

  • vscode_url (String, default: "https://vscode.dev"): The URL to load in the VSCode webview
  • auto_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.

Dependencies

  • 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.

Star History

Star History Chart