瀏覽代碼

Fix Sublime text external editor Exec Flags setting

The placeholder must be `{col}`, not `{column}`.
Hugo Locurcio 5 月之前
父節點
當前提交
704e99d315
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      editor/editor_settings.cpp

+ 1 - 1
editor/editor_settings.cpp

@@ -1168,7 +1168,7 @@ String EditorSettings::_guess_exec_args_for_extenal_editor(const String &p_path)
 	if (editor.begins_with("rider")) {
 	if (editor.begins_with("rider")) {
 		new_exec_flags = "{project} --line {line} {file}";
 		new_exec_flags = "{project} --line {line} {file}";
 	} else if (editor == "subl" || editor == "sublime text" || editor == "sublime_text") {
 	} else if (editor == "subl" || editor == "sublime text" || editor == "sublime_text") {
-		new_exec_flags = "{project} {file}:{line}:{column}";
+		new_exec_flags = "{project} {file}:{line}:{col}";
 	} else if (editor == "vim" || editor == "gvim") {
 	} else if (editor == "vim" || editor == "gvim") {
 		new_exec_flags = "\"+call cursor({line}, {col})\" {file}";
 		new_exec_flags = "\"+call cursor({line}, {col})\" {file}";
 	} else if (editor == "emacs") {
 	} else if (editor == "emacs") {