godotengine / godotengine/godot-docs

Exec Flags for Sublime Text are incorrect(?)

Open
#11,043 3 comments 0 reactions 0 assignees View on GitHub
area:manual bug
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

**Your Godot version:** 4.5

**Issue description:**
The **Exec Flags** provided for the Sublime Text editor are:
```
{project} {file}:{line}:{col}
```
However, this does not have the intended effect for me. Running the following command on macOS:
```
/.../sublime_text /.../GodotProjects/Experimental/test-vscode-debug-line /.../GodotProjects/Experimental/test-vscode-debug-line/scene.gd:8:2
```
(where `/.../sublime_text` is the path to the Sublime Text executable, and `/.../GodotProjects/Experimental/test-vscode-debug-line` is the path to the Godot project directory) results in two windows being opened:

![Image](https://github.com/user-attachments/assets/39d18703-f11e-41aa-864f-9ea8559932d0)

One of them is the correct expected file with the correct line highlighted, but in addition a second window opens a new blank file with the line and column number appended at the end (so in this case, a file titled `scene.gd:8:2`).

Thinking about this more, it may well be a Sublime Text bug and not a Godot Docs bug... I may do a little further testing and try reporting it to Sublime Text if it seems consistently wrong there.

**URL to the documentation page:** https://docs.godotengine.org/en/latest/tutorials/editor/external_editor.html

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.