sponsor Vim development Vim logo Vim Book Ad

jsbeautify : a javascript source code formatter

 script karma  Rating 357/160, Downloaded by 14328  Comments, bugs, improvements  Vim wiki

created by
aj3423
 
script type
utility
 
description
a plugin to format your javascript souce code

The online version is here:
http://jsbeautifier.org/

I just translated it into vimscript, it works at a low performance:)

and since now I don't work as a web developer, this plugin is not maintained..

usage:
  <leader>ff
or
  bind the g:Jsbeautify() function to any short key you like
 
install details
put it in your:
vimfiles/plugin
 

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
jsbeautify.vim N/A 2009-08-03 7.2 aj3423 Initial upload
ip used for rating: 216.73.216.156

Questions about Vim should go to the maillist. Help Uganda.     Vim at Github