Skip to content

Commit a7e0206

Browse files
authored
Updated README instructions for Goland usage (#156)
1 parent 38aa9f6 commit a7e0206

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,14 +186,16 @@ let g:go_fmt_options = {
186186
### Goland
187187

188188
1. Go into the Goland settings and click "Tools" -> "File Watchers" then click the plus to create a new file watcher
189-
2. Set the following properties and confirm by clicking OK:
189+
2. Set the following properties:
190190
- __Name:__ `golines`
191191
- __File type:__ `Go files`
192192
- __Scope:__ `Project Files`
193193
- __Program:__ `golines`
194194
- __Arguments:__ `$FilePath$ -w`
195195
- __Output paths to refresh:__ `$FilePath$`
196-
3. Activate your newly created file watcher in the Goland settings under "Tools" -> "Actions on save"
196+
3. In the "Advanced Options" section uncheck the __Auto-save edited files to trigger the watcher__ setting
197+
4. Confirm by clicking OK
198+
5. Activate your newly created file watcher in the Goland settings under "Tools" -> "Actions on save"
197199

198200
### Others
199201

0 commit comments

Comments
 (0)