Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Easy Go LintNew to Visual Studio Code? Get it now.
Easy Go Lint

Easy Go Lint

Dmitrii Telianov

|
54 installs
| (0) | Free
Run golangci-lint on Go files and projects directly from VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Easy Go Lint

English | Русский

English

Easy Go Lint helps you run golangci-lint without leaving Visual Studio Code or Cursor. Check the file you are editing, scan a whole Go project, apply available fixes, and manage reusable linter profiles from one view.

What you can do

  • Lint the current Go file.
  • Lint a whole project or a selected subfolder.
  • Apply available fixes and formatters with Quick Fix.
  • Create or import standard *.golangci.yml profiles.
  • Start with a built-in preset or duplicate an existing profile.
  • Keep personal profiles available across all projects.
  • See findings in the editor, Problems, Output, or the Easy Go Lint report.
  • Switch the interface between English and Russian.

Getting started

  1. Open a folder with a Go project.
  2. Select the Easy Go Lint icon in the Activity Bar.
  3. Create a profile or import an existing *.golangci.yml file.
  4. Select the profile and choose Make active.
  5. Open a Go file and choose Lint Current File.

The first check can take longer while Go and golangci-lint prepare their caches. Later checks are usually much faster.

Check one file or a project

Use Lint Current File when you only want findings for the file open in the editor. The command is available in the Go editor title and at the top of the Easy Go Lint sidebar.

Use Lint Project to check every Go package under the selected lint root. The command is also available at the top of the sidebar.

Choose a lint root

A workspace can contain several Go applications:

myapps/
  app1/
    main.go
  app2/
    main.go

Choose Select Lint Root and select app1 to check only that application when you run Lint Project. You can select app2, a deeper folder, or reset the root to the whole workspace at any time.

If the selected root contains .golangci.yml or .golangci.yaml, it appears automatically as a project profile. It disappears when you switch to another project or choose another root. Profiles that you create or import remain available everywhere.

Results and fixes

Findings appear as editor underlines and in the Problems panel. You can also send the report to Output > Go Linter, show it inside Easy Go Lint, or use both destinations.

Output uses VS Code log levels, so information, warnings, and errors follow the colors of the current editor theme.

Choose Reset in the report to clear the report, Problems entries, and editor underlines created by Easy Go Lint.

Choose Quick Fix in the Go editor title to apply fixes and enabled formatters to the current file. The file is checked again after the changes.

Profiles

Easy Go Lint works with standard golangci-lint v2 YAML files.

  • Choose Presets to open a ready-made Minimal, Recommended, Strict, or Security profile. Change its name or rules if needed, then save it to your global profiles.
  • Choose Duplicate to create an independent editable copy of the selected personal or project profile.
  • A profile created or imported in Easy Go Lint is global and stays available when you change projects.
  • A .golangci.yml found at the selected lint root belongs to the current project and is read-only in Easy Go Lint.

Commands

Command What it does
Go Linter: Open Opens the Easy Go Lint window
Go Linter: Lint Current File Checks the active Go file
Go Linter: Lint Project Checks the selected lint root
Go Linter: Select Lint Root Selects the folder used by project checks
Go Linter: Reset Lint Root Uses the whole workspace again
Go Linter: Fix Current File Applies available fixes to the active file

Requirements

  • Go must be installed and available to Visual Studio Code or Cursor.
  • The project must be opened as a trusted local or remote workspace.

A compatible golangci-lint binary is included for supported macOS, Linux, Alpine Linux, and Windows systems. A separate installation is not required.


Русский

Easy Go Lint позволяет запускать golangci-lint, не выходя из Visual Studio Code или Cursor. Можно проверить открытый файл или весь Go-проект, применить доступные исправления и управлять профилями линтера в одном окне.

Возможности

  • Проверка текущего Go-файла.
  • Проверка всего проекта или выбранной подпапки.
  • Применение доступных исправлений и форматтеров через Quick Fix.
  • Создание и импорт обычных профилей *.golangci.yml.
  • Готовые пресеты и дублирование существующих профилей.
  • Личные профили доступны во всех проектах.
  • Результаты в редакторе, Problems, Output или окне Easy Go Lint.
  • Переключение интерфейса между русским и английским.

Как начать работу

  1. Откройте папку с Go-проектом.
  2. Нажмите значок Easy Go Lint в Activity Bar.
  3. Создайте профиль или импортируйте готовый файл *.golangci.yml.
  4. Выберите профиль и нажмите Сделать активным.
  5. Откройте Go-файл и нажмите Проверить текущий файл.

Первая проверка может идти дольше, пока Go и golangci-lint готовят кэш. Следующие запуски обычно выполняются заметно быстрее.

Проверка файла или проекта

Используйте Проверить текущий файл, если нужны замечания только для открытого файла. Кнопка находится в заголовке Go-редактора и в верхней части боковой панели Easy Go Lint.

Используйте Проверить проект, чтобы проверить все Go-пакеты внутри выбранного корня линтинга. Эта кнопка также находится в верхней части боковой панели.

Выбор корня линтинга

В одном workspace может быть несколько Go-приложений:

myapps/
  app1/
    main.go
  app2/
    main.go

Нажмите Выбрать корень линтинга и выберите app1. После этого команда Проверить проект будет проверять только это приложение. В любой момент можно выбрать app2, более глубокую папку или снова использовать весь workspace.

Если в выбранном корне есть .golangci.yml или .golangci.yaml, файл автоматически появится как проектный профиль. При переходе в другой проект или выборе другого корня он исчезнет. Созданные и импортированные профили останутся доступными во всех проектах.

Результаты и исправления

Замечания отображаются подчёркиваниями в редакторе и в панели Problems. Отчёт также можно отправить в Output > Go Linter, показать в окне Easy Go Lint или включить оба варианта.

Output использует уровни логов VS Code, поэтому информационные сообщения, предупреждения и ошибки окрашиваются в соответствии с темой редактора.

Нажмите Сбросить в отчёте, чтобы убрать отчёт, записи в Problems и подчёркивания Easy Go Lint.

Нажмите Quick Fix в заголовке Go-редактора, чтобы применить доступные исправления и включённые форматтеры к текущему файлу. После изменений файл будет проверен ещё раз.

Профили

Easy Go Lint работает со стандартными YAML-файлами golangci-lint v2.

  • Нажмите Пресеты, чтобы открыть готовый профиль: Минимальный, Рекомендуемый, Строгий или Безопасность. При необходимости измените имя и правила, затем сохраните его в глобальные профили.
  • Нажмите Дублировать, чтобы создать независимую редактируемую копию выбранного личного или проектного профиля.
  • Профиль, созданный или импортированный в Easy Go Lint, является глобальным и остаётся доступным после смены проекта.
  • Файл .golangci.yml в выбранном корне относится только к текущему проекту и доступен в Easy Go Lint только для чтения.

Команды

Команда Назначение
Go Linter: Open Открывает окно Easy Go Lint
Go Linter: Lint Current File Проверяет активный Go-файл
Go Linter: Lint Project Проверяет выбранный корень линтинга
Go Linter: Select Lint Root Выбирает папку для проверки проекта
Go Linter: Reset Lint Root Снова использует весь workspace
Go Linter: Fix Current File Применяет доступные исправления к активному файлу

Требования

  • Go должен быть установлен и доступен Visual Studio Code или Cursor.
  • Проект должен быть открыт как доверенный локальный или удалённый workspace.

Совместимый бинарник golangci-lint уже включён для поддерживаемых систем macOS, Linux, Alpine Linux и Windows. Устанавливать его отдельно не нужно.

Privacy

Easy Go Lint does not collect telemetry. The extension only reads project files needed for linting and stores its profiles and cache on your machine.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft