From 17bd2668fba2341645d09c0434fa1bd18c784bcc Mon Sep 17 00:00:00 2001 From: Jake Rosenfeld Date: Tue, 12 Nov 2024 16:39:19 +0100 Subject: [PATCH 1/3] Updated REAME instructions for goland usage --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f8e2241..07c1814 100644 --- a/README.md +++ b/README.md @@ -186,13 +186,15 @@ 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$` +4. In the "Advanced Options" section uncheck the __Auto-save edited files to trigger the watcher__ setting +5. Confirm by clicking OK 3. Activate your newly created file watcher in the Goland settings under "Tools" -> "Actions on save" ### Others From 0150dd12cb0dafa6bb3b039c66e9dc75b1e5a897 Mon Sep 17 00:00:00 2001 From: Ryan McKern <344926+mckern@users.noreply.github.com> Date: Tue, 7 Jan 2025 23:38:23 -0800 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 07c1814..7e7fea5 100644 --- a/README.md +++ b/README.md @@ -195,7 +195,7 @@ let g:go_fmt_options = { - __Output paths to refresh:__ `$FilePath$` 4. In the "Advanced Options" section uncheck the __Auto-save edited files to trigger the watcher__ setting 5. Confirm by clicking OK -3. Activate your newly created file watcher in the Goland settings under "Tools" -> "Actions on save" +6. Activate your newly created file watcher in the Goland settings under "Tools" -> "Actions on save" ### Others From 5e69682b5cb24cd8fcf4723c5ef531e37f50465b Mon Sep 17 00:00:00 2001 From: Ryan McKern <344926+mckern@users.noreply.github.com> Date: Tue, 7 Jan 2025 23:39:20 -0800 Subject: [PATCH 3/3] Update README.md Fix Markdown numbering; it'll render fine, but it's confusing to edit. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7e7fea5..00c95df 100644 --- a/README.md +++ b/README.md @@ -193,9 +193,9 @@ let g:go_fmt_options = { - __Program:__ `golines` - __Arguments:__ `$FilePath$ -w` - __Output paths to refresh:__ `$FilePath$` -4. In the "Advanced Options" section uncheck the __Auto-save edited files to trigger the watcher__ setting -5. Confirm by clicking OK -6. 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