Skip to content

Added documentation on enabling through Goland #95

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,12 @@ let g:go_fmt_options = {
- __Output paths to refresh:__ `$FilePath$`
3. Activate your newly created file watcher in the Goland settings under "Tools" -> "Actions on save"

If you find that `golines` is activating too quickly, you can lower the frequency by doing the following:
1. Open your newly created file watcher in the Goland settings by clicking "Tools" -> "File Watchers"
2. In the Advanced Options section, uncheck the box labeled `Auto saved edited files to trigger the watcher`
3. In Goland settings, under "Appearance & Behavior" -> "System Settings", in the Autosave section,
check the box `Save files if the IDE is idle for X seconds` and adjust the number of seconds idle before a save takes place.

### Others

Coming soon.
Expand Down