Godot Engine

Godot Engine

Star Frost Aug 18, 2017 @ 2:28pm
Setting up Godot to use VSCode as default script editor
This might be a long shot but I was hoping to get some help with setting up GoDot to use Visual Studios as the default script editor. I followed the steps outlined here: https://marketplace.visualstudio.com/items?itemName=geequlim.godot-tools#overview

The trouble I am having is when I follow the steps outlined in the Settings section from the link above, the script editor goes blank until I disable the "Use External Editor" option and restart GoDot. I would greatly appreciate any assistance and I am sure a few others around here would too. Thank you in advance for your time and effort, everyone!
< >
Showing 1-3 of 3 comments
Slagtank Sep 20, 2017 @ 9:37am 
Which OS are you running on? I've just tried this extension on my Mac install of Godot and it seems to work ok. Is the path to VSCode correct?

On Mac I have to actually set the path to be inside the packaged .app file for it to work – /Applications/Visual Studio Code.app/Contents/MacOS/Electron Without it the Godot editor crashes and restarts.

Have you tried an alternative Godot extension like gdscript to see if that will run?
Star Frost Sep 20, 2017 @ 3:04pm 
I'm running Windows 8.1 and yes I just double checked the path. I even made sure that VSCode runs on its own without issue and everything seems OK. The path for me is: C:/Program Files/Microsoft VS Code/Code.exe and I am using the flags {project} --goto {file}:{line}:{col} as per the instructions. As for the dgscript extension, its my understanding that the GoDot engine editor uses that by default. I am more than willing to give it a shot though if you can throw me some instructions about what you mean.
Slagtank Sep 21, 2017 @ 12:41pm 
Turns out the flags are only for Godot 3.0, which is still in beta testing/development. Removing those should get it working, though it doesn't give any visual indication of where the error is so you'll still have to reply on the Godot debugger for that.
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Aug 18, 2017 @ 2:28pm
Posts: 3