sponsor Vim development Vim logo Vim Book Ad

jsbeautify : a javascript source code formatter

 script karma  Rating 109/50, Downloaded by 2350  Comments, bugs, improvements  Vim wiki

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

A js version can be found at:
http://jsbeautifier.org/

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

usage:
  <leader>ff
or
  bind the g:Jsbeautify() function to any short key you like
 
install details
input into 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

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