Skip to main content
Share Your Experience: Take the 2024 Developer Survey
3 votes
Accepted

How do I disable snake_case naming style warning in ALE?

Fun fact: ALE doesn't check your code. ALE doesn't produce any warnings. What ALE does do, it runs code checkers that do the actual code checking and aggregates their output. Like that co-worker you ...
Friedrich's user avatar
  • 2,125
2 votes

How to see command lines and output for linters, etc

The :ALEInfo command produces a lot of output, including the commands that were run and the errors the respective tools reported. Look for the lines with <<<OUTPUT STARTS>>> and <&...
Friedrich's user avatar
  • 2,125
2 votes

ALE Code Action for python

I'm not aware of a Vim plugin that provide fix for warning detected by the linter. But for automatic correction of missing Python import you could be interested by autoimport You can fix the import ...
Vivian De Smedt's user avatar
2 votes

How to use ALE with clangd and C++20

I am also using Vim 9.0 with ALE plugin I am also configuring ALE for different programming languages. I saw your post and decided to try C++ first. Thank you for posting this query. I tried your code,...
Khushal's user avatar
  • 21
1 vote

ALE Fix for a visual selection

You can use Vim's built-in :h formatprg and :h gq for this. You can set formatprg option to the fixer/formatter tool of choice, like: :let &l:formatprg='some-program --some-flag' Or with set ...
Peter Benjamin's user avatar
1 vote

How to see command lines and output for linters, etc

To enable pylint for ALE I have the following line in my .vimrc: let g:ale_linters = { \'python': [ \ 'pylint', \ ] \} It seems that ALE search in the current working ...
Vivian De Smedt's user avatar
1 vote
Accepted

Unable to import Python packages into Vim

The "error" you see is probably virtual text written by ALE and caused by one of the static code checkers run by it. Turning ALE off with :ALEDisable should make the errors disappear. One of ...
Friedrich's user avatar
  • 2,125
1 vote

ALE Code Action for python

For Rust it seems that the language server propose fix that can be leverage by the light-bulb plugin. But for Python it seems that pyright provide warning but no suggestion fix that can be leveraged ...
Vivian De Smedt's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible