All Projects → xxpxxxxp → Intellij Plugin Golangci Lint

xxpxxxxp / Intellij Plugin Golangci Lint

Licence: gpl-3.0
GolangCI-Lint integration for IDEA

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Intellij Plugin Golangci Lint

Intellij Music
Play fancy music based on your keyboard activity in IDE
Stars: ✭ 28 (-62.16%)
Mutual labels:  intellij-plugin
Intellij Crystal Lang
Intellij Idea plugin for the Crystal language
Stars: ✭ 52 (-29.73%)
Mutual labels:  intellij-plugin
Pebble Intellij
Pebble support for IntelliJ IDEA
Stars: ✭ 68 (-8.11%)
Mutual labels:  intellij-plugin
Gradle Dependencies Plugins Helper Plugin
This is an IntelliJ IDEA plugin for searching dependencies/plugins from JCentral/GradlePlugins inside Gradle projects.
Stars: ✭ 31 (-58.11%)
Mutual labels:  intellij-plugin
Intellij Scala
Scala plugin for IntelliJ IDEA
Stars: ✭ 1,014 (+1270.27%)
Mutual labels:  intellij-plugin
Bootstrap4 Intellij
IntelliJ plugin for Bootstrap 4 & Font awesome
Stars: ✭ 57 (-22.97%)
Mutual labels:  intellij-plugin
Mvnrunner
IntelliJ plugin for maven, building and run unit testing or main method, by mvn.
Stars: ✭ 7 (-90.54%)
Mutual labels:  intellij-plugin
Robot Plugin
Robot Framework support plugin for IntelliJ Idea
Stars: ✭ 70 (-5.41%)
Mutual labels:  intellij-plugin
I18nplugin
Intellij idea i18next support plugin
Stars: ✭ 43 (-41.89%)
Mutual labels:  intellij-plugin
Idea Gitignore
.ignore support plugin for IntelliJ IDEA
Stars: ✭ 1,147 (+1450%)
Mutual labels:  intellij-plugin
Grazi
Grammar checking and more for IntelliJ IDEA
Stars: ✭ 32 (-56.76%)
Mutual labels:  intellij-plugin
Idea Php Drupal Symfony2 Bridge
PhpStorm plugin to support Symfony components inside Drupal 8
Stars: ✭ 34 (-54.05%)
Mutual labels:  intellij-plugin
Intellij Spring Assistant
Spring Assistant - IntelliJ plugin that assists you in developing spring applications
Stars: ✭ 64 (-13.51%)
Mutual labels:  intellij-plugin
Sfcc Studio
Salesforce Commerce Cloud (SFCC) Studio Plugin for Jetbrains IDEs
Stars: ✭ 30 (-59.46%)
Mutual labels:  intellij-plugin
Intellij
📄 IntelliJ 사용법
Stars: ✭ 69 (-6.76%)
Mutual labels:  intellij-plugin
Intellij Sdk Docs
IntelliJ SDK Platform Documentation
Stars: ✭ 913 (+1133.78%)
Mutual labels:  intellij-plugin
Ansibleplugin
IntelliJ plugin that helps develop ansible files
Stars: ✭ 53 (-28.38%)
Mutual labels:  intellij-plugin
Intellij Haskell
IntelliJ plugin for Haskell
Stars: ✭ 1,169 (+1479.73%)
Mutual labels:  intellij-plugin
Json2java4idea
A JSON to Java conversion plugin for Intellij IDEA and AndroidStudio.
Stars: ✭ 69 (-6.76%)
Mutual labels:  intellij-plugin
Intellij Arend
Arend plugin for IntelliJ IDEA
Stars: ✭ 67 (-9.46%)
Mutual labels:  intellij-plugin

Publish Issues License Version #Download Codacy Badge

Intellij/Goland Linter Inspection Plugin

Write code, write better code

All credit goes to GolangCI-Lint authors.

A lot of code pieces copied from clion-clangtidy, kotlin, and Goland plugin itself.

How to use

After the plugin installed, you can see a popup on IDEA startup, or go to settings directly:

A golangci-lint executable is needed. Choose one from combobox if you already have it in your PATH, or Open... select one from disk, or Get Latest download one from Github release.

If you have your own .golangci.json|.golangci.toml|.golangci.yaml|.golangci.yml config file, the plugin will detect and use it.
Otherwise, select linters you need:

Click OK, you are all set!

Please keep in mind that golangci-lint is a linter tool, it only works if your project could build (no syntax error), or it will report no issue.

Project Root Setting

  • If your Go project is the root project, the default setting will work perfectly.
  • If you are using Intellij Ultimate, you have a Go project which isn't the root project, but nested in directories, select Project Root to the Go project path.
  • If you have multiple Go sub-projects in the root project, uncheck Project Root. Be aware that only the config file directly under the root project will be used.

Go Project As Sub Folder

Skip this if you are not using config file (eg: .golangci.yml)
If you are using Intellij, the Go project is not the root project (sub-folder nested in the root project),
and the Go project has its own golangci-lint config file,
Please select project root to the path of Go project, in order to let the plugin correctly pick up the config file.

For Windows users

Please disable goimports / gofmt / gci linters. Use File-Watcher in IDEA.
It you insist using those 3 linters, download GNU diff & GNU LibIconv and put them in system PATH (eg: C:\WINDOWS). Normally it's missing from the system.

Report a bug

  • Please note down your platform (Win/Linux/Mac), IDEA/Goland version, Go version
  • If the plugin reports an error, please copy-paste the error content

What's next

  • Performance improvement
  • Code quality improvement
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].