sponsor Vim development Vim logo Vim Book Ad

Syntastic : Automatic syntax checking

 script karma  Rating 438/148, Downloaded by 5574    Comments, bugs, improvements  Vim wiki

created by
Marty Grenfell
 
script type
utility
 
description
Syntastic is a syntax checking plugin that runs files through external syntax checkers and displays any resulting errors to the user. This can be done on demand, or automatically as files are saved. If syntax errors are detected, the user is notified and is happy because they didn't have to compile their code or execute their script to find them.

For the latest version version https://github.com/scrooloose/syntastic
 
install details
pathogen.vim is the recommended way to install syntastic.

If using pathogen:
cd ~/.vim/bundle
git clone https://github.com/scrooloose/syntastic.git

Otherwise:
Extract the zip file into your ~/.vim or $HOME\vimfiles (windows), open up vim, run helptags and then checkout :help syntastic.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
syntastic.zip 3.0.0 2013-04-13 7.0 Marty Grenfell See change log here: https://github.com/scrooloose/syntastic/wiki/Changelog
syntastic.zip 2.3.0 2012-02-16 7.0 Marty Grenfell - Add syntastic_loc_list_height option
- Allow errors to have a "subtype" that is signed differently to standard
  errors. Currently geared towards differentiating style errors from
  syntax errors. Currently implemented for phpcs (technosophos).
- New checkers for:
    - yaml
    - haxe (davidB)
    - ocaml (edwintorok)
    - pylint (parantapa)
    - rust (cjab)

- Updates to existing checkers:
    - jslint
    - jshint (gillesruppert)
    - fortran (bmattern)
    - sass
    - html (darcyparker)
    - coffee (darcyparker)
    - docbk (darcyparker)
    - xml
    - xslt
    - less (irrationalfab)
    - php (AD7six, technosophos)
    - cuda
    - python (mitchellh, pneff)
    - perl (Anthony Carapetis)
    - c (naoina, zsprackett)
    - puppet (frimik)
syntastic.zip 2.2.0 2011-12-24 7.0 Marty Grenfell * only do syntax checks when files are saved (not when first opened) - add g:syntastic_check_on_open option to get the old behavior back
* bug fix with echoing error messages; fixes incompatability with cmd-t (datanoise)
* dont allow warnings to mask errors when signing/echoing errors (ashikase)
* auto close location list when leaving buffer. (millermedeiros)
* update errors appropriately when :SyntasticToggleMode is called
* updates/fixes to existing checkers:
  * javascript/jshint (millermedeiros)
  * javascript/jslint
  * c (kongo2002)
* Support for new filetypes:
  * JSON (millermedeiros, tocer)
  * rst (reStructuredText files) (JNRowe)
  * gentoo-metadata (JNRowe)
syntastic.zip 2.1.0 2011-12-14 7.0 Marty Grenfell - when the cursor is on a line containing an error, echo the error msg (kevinw)
- various bug fixes and refactoring
- updates/fixes to existing checkers:
    - html (millermedeiros)
    - erlang
    - coffeescript
    - javascript
    - sh
    - php (add support for phpcs - technosophos)
- add an applescript checker (Zhai Cai)
- add support for hyphenated filetypes (JNRowe)
syntastic.zip 2.0.0 2011-12-02 7.0 Marty Grenfell - Add support for highlighting the erroneous parts of lines (kstep)
- Add support for displaying errors via balloons (kstep)
- Add syntastic_mode_map option to give more control over when checking should be done.
- Add :SyntasticCheck command to force a syntax check -  useful in passive mode (justone).
- Add the option to automatically close the location list, but not automatically open it (milkypostman)
- Add syntastic_auto_jump option to automatically jump to the first error (milkypostman)
- Only source syntax checkers as needed - instead of loading all of them when vim starts

- Support for new filetypes:
    - less (julienXX)
    - docbook (tpope)
    - matlab (jasongraham)
    - go (dtjm)
    - puppet (uggedal, roman, zsprackett)
    - haskell (baldo, roman)
    - tcl (et)
    - vala (kstep)
    - cuda (temporaer)
    - css (oryband, sitedyno)
    - fortran (Karl Yngve Lervåg)
    - xml (kusnier)
    - xslt (kusnier)
    - erlang (kTT)
    - zpt (claytron)

- updates to existing checkers:
    - javascript (mogren, bryanforbes, cjab, ajduncan)
    - sass/scss (tmm1, atourino, dlee, epeli)
    - ruby (changa)
    - perl (harleypig)
    - haml (bmihelac)
    - php (kstep, docteurklein)
    - python (kstep, soli)
    - lua (kstep)
    - html (kstep)
    - xhtml (kstep)
    - c (kongo2002, brandonw)
    - cpp (kongo2002)
    - coffee (industrial)
    - eruby (sergevm)
syntastic.zip 1.2.0 2010-10-28 7.0 Marty Grenfell - New syntax checkers from github:kongo2002
  - c (thanks also to github:jperras)
  - cpp
  - lua
  - sh (thanks also to github:jmcantrell)
- add coffee syntax checked by github:lstoll
- add tex syntax checker
- make html checker play nicer with html5, thanks to github:enaeseth
- escape filenames properly when invoking syntax checkers, thanks to
  github:jmcantrell
- adjust the ruby syntax checker to avoid some common annoying warnings,
  thanks to github:robertwahler
syntastic.zip 1.1.0 2009-12-16 7.0 Marty Grenfell Version 1.1.0 [codenamed: tpimp]
- Dont load rubygems for ruby/eruby syntax checkers.  Thanks tpope.
- Improve the javascript syntax checker to catch some
  warnings that were getting missed. Thanks tpope.
- Dont automatically focus the error window. Thanks tpope.
- Add support for cucumber [tpope], haskell & perl
  [Anthony Carapetis], and xhtml
- Add commands to enable/disable syntax checking at
  runtime. See :help syntastic-commands.
- Add an option to specifiy syntax checkers that should
  be disabled by default. See :help syntastic_disabled_filetypes.
- Dont use :signs if vim wasnt compiled with support for them.
syntastic.zip 1.0.0 2009-08-11 7.0 Marty Grenfell Initial upload
ip used for rating: 107.21.186.38

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo