You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> If you managed to make the formatter work in a code editor that isn't listed here, consider contributing to this section or sharing your findings in [this](https://github.com/GDQuest/GDScript-formatter/issues/26) issue.
161
161
162
+
In this section, you'll find instructions for setting up the formatter in several code editors.
163
+
164
+
As a reminder: **don't turn this on when working on an important project without using a version control system like Git!**.
165
+
166
+
### VSCode
167
+
168
+
1. Install the [godot-format extension](https://marketplace.visualstudio.com/items?itemName=DoHe.godot-format) in VSCode. Press `Ctrl+P` and run:
169
+
170
+
```
171
+
ext install DoHe.godot-format
172
+
```
173
+
174
+
2. This extension ships with the formatter binary pre-installed, so you don't need to download the formatter separately.
175
+
176
+
Once installed, visit the [extension page](https://marketplace.visualstudio.com/items?itemName=DoHe.godot-format) to see the available settings and set your preferences.
177
+
162
178
### Zed
163
179
164
180
1. Install the formatter (see instructions above).
@@ -214,8 +230,6 @@ Keep in mind, using gdscript with Helix [requires more configuration](https://gi
214
230
auto-format = true
215
231
```
216
232
217
-
As a reminder: **don't leave this on when working on an important project without using a VCS!**.
218
-
219
233
### JetBrains Rider
220
234
221
235
1. First, install the formatter on your computer.
@@ -232,7 +246,6 @@ As a reminder: **don't leave this on when working on an important project withou
232
246
- You can optionally check any of the checkboxes for auto-save and triggering the watcher when files change outside the editor.
233
247
- Keep the box for `Create output file from stdout` unchecked.
234
248
235
-
As a reminder: **don't turn this on when working on an important project without using a VCS like Git!**.
236
249
237
250
If you lose work because of the formatter, you can usually get it back with a simple "undo" (Cmd/Ctrl + Z). This will show you the "undo reload from disk" popup. You can also check the local history by right-clicking on the file in the project explorer and selecting `Local History > Show History`.
0 commit comments