- Using an external text editor - Godot3
- Command Line Interface (CLI) - VS code
- Godot Tools - Visual Studio Marketplace
VS code CLI
# open vscode and foler code {file} --add {folder_path}
Godot3 Parameter
Editor -> Editor Settings -> Text Editor -> External
- {project}
- The absolute path to the project directory
- {file}
- The absolute path to the file
- {col}
- The column number of the error
- {line}
- The line number of the error
에디터 실행 명령어
에디터 | Exec Flags |
---|---|
geany/kate | {file} --line {line} --column {col} |
atom/sublime text | {file}:{line} |
vscode | -g {file}:{line} --add {project} -g {file}:{line} {project} --goto {file}:{line}:{col} {project} -g {file}:{line}:{col} |
Noterunning cmdline: "code" "C:/Users/username/Projects/projectname" "-g" "C:/Users/username/Projects/projectname/main.gd:0" ERROR: execute: Condition ' ret == 0 ' is true. returned: ERR_CANT_FORK At: platform/windows/os_windows.cpp:2067 WARNING: edit: Couldn't open external text editor, using internalWindow 에서 Exec Path:code 명령어가 제대로 동작하지 않는다면 Exec Path:code.cmd를 입력하면 동작한다.
반응형
'game > godot' 카테고리의 다른 글
Godot3 API - StaticBody2D (0) | 2018.10.25 |
---|---|
Godot3 API - KinematicBody2D (0) | 2018.10.24 |
Godot3 API - RigidBody2D (0) | 2018.10.23 |
Godot 3 프로젝트 기본폴더 위치 설정 (0) | 2018.09.22 |
Godot3 Multiple resolutions (0) | 2018.09.19 |