vim - How to check multiple files at once? -


currently, if run :syntasticcheck, :errors displays errors current buffer only. want check python (*.py) files in current working directory, , locations aggregated in single locationlist.

i know possible because syntastic documentation implies it, e.g. there syntastic_ignore_files setting ignoring patterns of filenames.


my failed attempt:

  1. set let g:syntastic_aggregate_errors = 1
  2. open *.py files :n *.py
  3. :bufdo syntasticcheck
  4. it cycles through each buffer , runs check. however, when finished :errors shows errors last buffer checked.

currently, if run :syntasticcheck, :errors displays errors current buffer only. want check python (*.py) files in current working directory, , locations aggregated in single locationlist.

this not possible, , there no plan implement it.

i know possible because syntastic documentation implies it, e.g. there syntastic_ignore_files setting ignoring patterns of filenames.

some checkers check include files , like, , may not care errors there. also, there situations when don't want check files automatically (this useful when have active mode enabled).

let g:syntastic_aggregate_errors = 1

this aggregates errors when running different checkers against same file. doesn't aggregate errors when running same checker against set of files.

it cycles through each buffer , runs check. however, when finished :errors shows errors last buffer checked.

yes, :errors shows error window current buffer.

you might set g:syntastic_check_on_open , active mode , open files in separate windows. run checks against files, results still per file, not global. , window positions screwed because of limitations in vim's api. basically, there no way want if checker you're running doesn't check files itself.


Comments

Popular posts from this blog

Google sheets equipment borrowing system -

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

c# - Convert type 'System.Collections.Generic.List<string>' to 'System.Collections.Generic.IList<>' -