tutorials/editor/external_editor #31
Replies: 2 comments
-
Godot can be used with an external text editor, such as Sublime Text or Visual Studio Code. Browse to the relevant editor settings: Editor > Editor Settings > Text Editor > External this is change in MAC its in Godot > Editor Settings... |
Beta Was this translation helpful? Give feedback.
-
Integrating Godot with VSCode using URI scheme instead of CLI command (no lag)In Godot, when you use VSCode as an external editor and rely on CLI commands with arguments to open files in VSCode on macOS, there's some lag until the file is opened. In the Dock, a second VSCode icon appears momentarily before the file opens, which takes a second or two. After some research, I found that a better approach to integrate with VSCode is to use the vscode://file/ URI scheme instead of CLI commands. This fixed my issue—there is no more lag when opening scripts from Godot in the VSCode editor, and the additional VSCode icon no longer appears in the Dock. Here's how you can set it up: Create a Bash script:
Edit the script:
Configure Godot:
|
Beta Was this translation helpful? Give feedback.
-
tutorials/editor/external_editor
This page explains how to code using an external text editor. Godot can be used with an external text editor, such as Sublime Text or Visual Studio Code. Browse to the relevant editor settings: Edi...
https://docs.godotengine.org/en/latest/tutorials/editor/external_editor.html
Beta Was this translation helpful? Give feedback.
All reactions