Skip to content

Instantly share code, notes, and snippets.

@OkiStuff
Last active July 7, 2019 14:55
Show Gist options
  • Save OkiStuff/58fb91edb53c112546ef539c4382443e to your computer and use it in GitHub Desktop.
Save OkiStuff/58fb91edb53c112546ef539c4382443e to your computer and use it in GitHub Desktop.

Channel: SharkHark

// Please visit my channel.

How to setup VSCode with Godot.

This gist will show you how to use VSCode with Godot.

Downloads


Visual Studio Code: Download Link - https://code.visualstudio.com/Download

Godot Game Engine for Windows PCs: Download Link - https://godotengine.org/download/windows
Godot Game Engine for Linux PCs: Donwload Link - https://godotengine.org/download/linux
Godot Game Engine for Mac Computers: Download Link - https://godotengine.org/download/osx
Godot Game Engine for Linux-based servers: Download Link - https://godotengine.org/download/server

How-To


Setting up Godot Game Engine to work with VSCode

First if you want to use VScode with Godot Game Engine you have to make a project (you can delete this later). Press on "New Project" and name it whatever you want. Then you can ingore everything besides the top bar. Now click on the "Editor" tab. and press "Editor Settings". Now go to the search bar and type "Text" then press on the "External" button and remove everything from the search bar. Then press on the check near where it says "On". If theres a check near "On" then you're almost done. Find where VSCode is saved on your computer and copy the location. Now press on the text box near the "Exec Path" and press on the folder icon. Then go to the location bar and paste your path to VSCode and find "Code.exe". Then double press on it. Now for the last thing, go to the "Exec Flag" text box and copy and paste this in there. (Remove the quotes) "{project} --goto {file}:{line}:{col}". This will make it feel like how Unity handels opening files in Visual Studio 2017.

Allowing VSCode to use GDScript


Setting up "Godot Tools"

In VSCode go to the "Extensions" tab and search for "Godot Tools" and download "Godot Tools". And boom you're done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment