소스 검색

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")) {
 		new_exec_flags = "{project} --line {line} {file}";
 	} 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") {
 		new_exec_flags = "\"+call cursor({line}, {col})\" {file}";
 	} else if (editor == "emacs") {