Bläddra i källkod

Merge pull request #10869 from Calinou/external-editor-fix-sublime-args

Fix Sublime Text arguments in Using an external editor
Matthew 1 månad sedan
förälder
incheckning
64284b5d1d
1 ändrade filer med 9 tillägg och 2 borttagningar
  1. 9 2
      tutorials/editor/external_editor.rst

+ 9 - 2
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``