From d7fe6c2d0186fb91f4a329eb110548946873ff41 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Tue, 15 Apr 2025 23:43:47 +0200 Subject: [PATCH] Fix Sublime Text arguments in Using an external editor - Mention automatic Exec Flags setting in 4.5. --- tutorials/editor/external_editor.rst | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tutorials/editor/external_editor.rst b/tutorials/editor/external_editor.rst index 75cb2dbaf44..ec093871ccd 100644 --- a/tutorials/editor/external_editor.rst +++ b/tutorials/editor/external_editor.rst @@ -54,11 +54,18 @@ Some example **Exec Flags** for various editors include: +---------------------+-----------------------------------------------------+ | Emacs | ``emacs +{line}:{col} {file}`` | +---------------------+-----------------------------------------------------+ -| Sublime Text | ``{project} {file}:{line}:{column}`` | +| Sublime Text | ``{project} {file}:{line}:{col}`` | +---------------------+-----------------------------------------------------+ -| Visual Studio | ``/edit "file"`` | +| Visual Studio* | ``/edit "file"`` | +---------------------+-----------------------------------------------------+ +\*: Arguments are not automatically detected, so you must fill them in manually. + +Since Godot 4.5, **Exec Flags** are automatically detected for all editors +listed above (unless denoted with an asterisk). You don't need to paste them +from this page for it to work, unless your editor has an executable name not +recognized automatically (e.g. a fork of an editor listed here). + .. note:: For Visual Studio Code on Windows, you will have to point to the ``code.cmd``