Add Godot Editor screenshots
This commit is contained in:
16
README.md
16
README.md
@@ -64,9 +64,15 @@ require("godotdev").setup({
|
|||||||
Below are the recommended settings for configuring the Godot editor for optimal integration with Neovim as your external editor. To access these settings, make sure that the **Advanced Settings switch is enabled** at the top of the **Editor Settings dialog**.
|
Below are the recommended settings for configuring the Godot editor for optimal integration with Neovim as your external editor. To access these settings, make sure that the **Advanced Settings switch is enabled** at the top of the **Editor Settings dialog**.
|
||||||
|
|
||||||
- `Editor Settings > Text Editor > Behavior > Auto Reload Scripts on External Change`
|
- `Editor Settings > Text Editor > Behavior > Auto Reload Scripts on External Change`
|
||||||
|
|
||||||
|
<details><summary>Show Screenshot -> Godot Editor Settings</summary><img src="assets/godot-editor-auto-reload-script.png"></details>
|
||||||
- `Editor Settings > Interface > Editor > Save on Focus Loss`
|
- `Editor Settings > Interface > Editor > Save on Focus Loss`
|
||||||
|
|
||||||
|
<details><summary>Show Screenshot -> Godot Editor Settings</summary><img src="assets/godot-editor-focus.png"></details>
|
||||||
- `Editor Settings > Interface > Editor > Import Resources When Unfocused`
|
- `Editor Settings > Interface > Editor > Import Resources When Unfocused`
|
||||||
|
|
||||||
|
<details><summary>Show Screenshot -> Godot Editor Settings</summary><img src="assets/godot-editor-focus.png"></details>
|
||||||
|
|
||||||
### Open .gdscript/.gdshader from Godot in Neovim
|
### Open .gdscript/.gdshader from Godot in Neovim
|
||||||
|
|
||||||
When you click on a gdscript in Godot's FileSystem dock it doesn't open automatically in Neovim.
|
When you click on a gdscript in Godot's FileSystem dock it doesn't open automatically in Neovim.
|
||||||
@@ -89,11 +95,13 @@ A workaround is to to create a small script which launches the file in Neovim.
|
|||||||
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc && source ~/.bashrc
|
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc && source ~/.bashrc
|
||||||
```
|
```
|
||||||
1. Configure Godot: `Editor > Editor Settings > Text Editor > External` with full path and `{file} {line} {col}`.
|
1. Configure Godot: `Editor > Editor Settings > Text Editor > External` with full path and `{file} {line} {col}`.
|
||||||
|
|
||||||
|
<details><summary>Show Screenshot -> Godot Editor Settings</summary><img src="assets/godot-editor-settings-for-neovim.png"></details>
|
||||||
|
|
||||||
To make this work you always need to start Neovim like this:
|
1. To make this work you always need to start Neovim like this:
|
||||||
```bash
|
```bash
|
||||||
nvim --listen /tmp/godot.pipe
|
nvim --listen /tmp/godot.pipe
|
||||||
```
|
```
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Tip: Create an alias for that command.</summary>
|
<summary>Tip: Create an alias for that command.</summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user