From 63afe4af77aae29a74f3fb45aa7c1832a8dcea1b Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Fri, 10 Jan 2025 10:06:41 +0200 Subject: [PATCH] docs: update "Text Editors" section (#1199) * docs: update "Text Editors" section * Fix VSCode setting name --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 823452f..85418dc 100644 --- a/README.md +++ b/README.md @@ -150,9 +150,15 @@ If you want to use revive with Bazel, look at the [rules](https://github.com/atl ### Text Editors -- Support for VSCode in [vscode-go](https://github.com/Microsoft/vscode-go/pull/1699). +- Support for VSCode via [vscode-go](https://code.visualstudio.com/docs/languages/go#_build-and-diagnose) by changing the `go.lintTool` setting to `revive`: + +```json +{ + "go.lintTool": "revive", +} +``` + - Support for GoLand via [File Watchers](https://dev.to/s0xzwasd/configure-revive-go-linter-in-goland-2ggl). -- Support for Atom via [linter-revive](https://github.com/morphy2k/linter-revive). - Support for vim via [dense-analysis/ale](https://github.com/dense-analysis/ale). ```vim