sponsor Vim development Vim logo Vim Book Ad

jsbeautify : a javascript source code formatter

 script karma  Rating 357/160, Downloaded by 13957  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: 3.144.35.148

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.
   
Vim at Github