pull/2/head
godotg 2022-07-10 17:20:15 +08:00
parent 834d0e2a21
commit c92eddf052
3 changed files with 43 additions and 0 deletions

18
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,18 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "godot",
"type": "godot",
"request": "launch",
"project": "${workspaceFolder}",
"port": 6007,
"address": "127.0.0.1",
"launch_game_instance": true,
"launch_scene": true
}
]
}

3
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"godot_tools.editor_path": "d:\\Program\\Godot_v3.3.3-stable_win64.exe\\Godot_v3.3.3-stable_win64.exe"
}

22
doc/editor-setup.md Normal file
View File

@ -0,0 +1,22 @@
# godot 可以调用外部的IDE进行脚本的编辑这里记录一下相关的配置
- Godot 做开发的时候发现 Godot 原生编码环境对于代码提示、字段补全等功能经常时令时不灵,而且提示机制很迷,经常出现打完后不提示或者提示错误的情况,极度的不智能。
- 恰好官方就支持 VSCode 作为第三方编辑器,而且支持 Debug 调试功能,这里记录一下配置流程。
- 进入 Editor - EditorSetting - Text Editor - External配置好 “Exec Path” 和 “Exec Flags” 后勾选 “Use External Editor”
- vscode 编辑器设置
```
Editor中设置Text Editor -> External
/Programs/Microsoft VS Code/Code.exe
{project} --goto {file}:{line}:{col}
```
- idea 编辑器设置
```
Editor中设置Text Editor -> External
C:/Program Files/JetBrains/IntelliJ
{project} {file}:{line}
```