Skip to content

Commit

Permalink
Updated README instructions for Goland usage (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
j-krose authored Jan 8, 2025
1 parent 38aa9f6 commit a7e0206
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,14 +186,16 @@ let g:go_fmt_options = {
### Goland

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

### Others

Expand Down

0 comments on commit a7e0206

Please sign in to comment.