A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.

To request an account, ask an autoconfirmed user on Chat (such as one of these permanent autoconfirmed members).

IDE: Difference between revisions

From WHATWG Wiki
Jump to navigation Jump to search
(New page: Inspired by the [http://www.openajax.org/member/wiki/IDE OpenAjax IDE task force] = [http://www.vim.org/ VIM] = See the [http://blog.whatwg.org/vim-checker HTML5 conformance checking in...)
 
No edit summary
Line 1: Line 1:
Inspired by the [http://www.openajax.org/member/wiki/IDE OpenAjax IDE task force]
Inspired by the [http://www.openajax.org/member/wiki/IDE OpenAjax IDE task force].




= [http://www.vim.org/ VIM] =
= [http://www.vim.org/ VIM] =


See the [http://blog.whatwg.org/vim-checker HTML5 conformance checking in Vim blog entry]
See the [http://blog.whatwg.org/vim-checker HTML5 conformance checking in Vim blog entry] for an introduction.
 
Idea is to integrate Web services via [http://en.wikipedia.org/wiki/CURL curl] to help you write better Web code.


HTML validation with [http://validator.nu/ validator.nu] script
HTML validation with [http://validator.nu/ validator.nu] script
Line 12: Line 14:
Javascript validation with [http://www.jslint.com/ JSlint] script
Javascript validation with [http://www.jslint.com/ JSlint] script
* http://svn.natalian.org/projects/html5/javascript.vim
* http://svn.natalian.org/projects/html5/javascript.vim
* http://svn.natalian.org/projects/html5/validate-js.sh
== Improving the scripts ==
Any suggestions? Please get in contact with [http://hendry.iki.fi/ hendry]
Caveats:
* Vim's makeprg syntax requires some horrible escaping, hence the need for an external script
* Vim's errorformat has issues parsing anything too complex, so best edit the stream for the errorformat (not the other way around)
* Vim's quickfix list (:cope) seems to require a filename (%f) in the error format

Revision as of 08:49, 11 June 2008

Inspired by the OpenAjax IDE task force.


VIM

See the HTML5 conformance checking in Vim blog entry for an introduction.

Idea is to integrate Web services via curl to help you write better Web code.

HTML validation with validator.nu script

Javascript validation with JSlint script

Improving the scripts

Any suggestions? Please get in contact with hendry

Caveats:

  • Vim's makeprg syntax requires some horrible escaping, hence the need for an external script
  • Vim's errorformat has issues parsing anything too complex, so best edit the stream for the errorformat (not the other way around)
  • Vim's quickfix list (:cope) seems to require a filename (%f) in the error format