Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update external editor page to explain presets #4261

Merged
merged 1 commit into from
Oct 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions getting_started/editor/external_editor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,16 @@ To enable an external text editor, browse to the relevant editor settings via:

.. image:: img/editor_settings.png

There are two fields: the executable path and command line flags. The flags
allow you to integrate the editor with Godot, passing it the file path to open
and other relevant arguments. Godot will replace the following placeholders in
the flags string:
You can choose your editor from a list of presets, which will cause Godot to
use appropriate values for the executable path and command line flags settings.

If your editor is at an unusual path, you can override the preset default by
changing the Exec Path setting to point at your editor.

Alternatively, you can use the "Custom" option and fill out both settings by
hand. The flags allow you to integrate the editor with Godot, passing it the
file path to open and other relevant arguments. Godot will replace the
following placeholders in the flags string:

+---------------------+-----------------------------------------------------+
| Field in Exec Flags | Is replaced with |
Expand Down
Binary file modified getting_started/editor/img/editor_settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.