Format Files - plugin detail

This plugin lets you format all the files in a project - or just a directory (recursive), or just a package (non-recursive). After installing the plugin, select your project, package or directory, then either right click and choose "Format Files", or choose "Format Files" from the Source menu.

NetBeans Plugin - Format Files
Plugin owner: tor
Website:
Added: 2009-05-17
License: CDDL
Category: Editing
Downloaded: 4,459 times
Rating:
 4.47, by 2 users

Plugin Log Show log

Versions available

Download plugin   Download size: 0.01 MB   Last Update: 2010-06-18

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

Supports NetBeans 6.9.

Verifications for NetBeans versions

6.9 verification PASSED See verification details
Download plugin   Download size: 0.01 MB   Last Update: 2010-06-18

What's new in this version

Supports NetBeans 6.9.

Verifications for NetBeans versions

Plugin is not subject to any verification



Introduction

This plugin lets you format all the files in a project - or just a directory (recursive), or just a package (non-recursive). After installing the plugin, select your project, package or directory, then either right click and choose "Format Files", or choose "Format Files" from the Source menu.

[ You have to be logged in to be able to comment. ]

User Comments

  

In IDE from 7.2

Didn't see elsewhere in comments so thought I'd share:

http://wiki.netbeans.org/NetBeans_72_NewAndNoteworthy#Reformat_Multiple_Sources
Posted by tp21 on May 22, 2013
  

Doesn't work on the 7.3

I just downloaded it and tried to install the nbm. I got this error:
"Some plugins require plugin Editor Library to be installed."
"The plugin Editor Library is requested in version >= 2.10.1.10.2 (release version 2) but only 3.33.3.21.40 (of release version different from 2) was found."
"The following plugin is affected: Format Many"

And there is only a "cancel" option in the "Netbeans IDE Installer" plugin installer.
Posted by jason3421 on Apr 22, 2013
  

Agreed - this works great!

Thank you for making this plugin - Just tried mcclosdl's version below in 7.3 and it works great! :)

Fyi, there is an issue filed requesting this functionality: https://netbeans.org/bugzilla/show_bug.cgi?id=201564
Posted by motin on Apr 22, 2013
  

Excellent work!

Thank you, exactly what I needed!
Posted by markuszeller on Jan 10, 2013
  

7.0+ have problem with .svn files

Hello mcclosdl

I tried to use your build of plugin but, here we use SVN and I think that the plugin tried to change svn files (inside .svn folder).

Maybe you can fix it? Or the author, can fix this or give me the shortcut to fix it? ;)

Thanks...
Posted by pequenoo on Jun 07, 2012
  

7.0+

I tweeted the author (@tornorbye). The source is in the NB repository. To build, you have to download the full NB source and the contrib modules. I've done this and built it on 7.1. I successfully imported the module into a separate 7.1 install. I've placed the compiled module online as well.

Source: http://hg.netbeans.org/main/contrib/file/ed1da425e1dc/formatmany
Compiled module: http://akwire.net/nb/org-netbeans-modules-formatmany.nbm

Save the NBM file and then Import it as a "downloaded" plugin.

I encourage someone to create a new project and upload compiled plugin so people can get it through the built-in system.
Posted by mcclosdl on Feb 01, 2012
  

Source?

Just curious if the owner of this plugin would like to upload the source somewhere...

I have been looking into creating a new plugin to do essentially the same thing, and having the source for this one would be very helpful in tracking down things since I'm new at working with the Netbeans API.

Thanks.
Posted by ehudokai on Nov 21, 2011
  

Netbeans 7.x

It doesn't work on Netbeans 7.x
Is there anyway to fix this ?
Posted by nguyendinhdoan on Oct 06, 2011
  

NB 7.0

+1 for making this plugin working with Netbeans 7.0.
Posted by JAM3SoN on Jul 29, 2011
  

Missing this feature from NB 7.0 too

Is there any chance to see this plunin compiled against NB 7.0. It would be great that this functionality would be in the IDE by default.
Posted by lkishalmi on Jul 19, 2011
  

What about the compatibility with Netbeans 7.0?

I have downloaded the plug-in but, inside Netbeans, when I try to install it, I get this warning:

Some plugins require plugin Editor Library to be installed.
The plugin Editor Library is requested in version >= 2.10.1.10.2 (release version 2) but only 3.8.1.13.8 (of release version different from 2) was found. The following plugin is affected: Format Many
Posted by erotavlas on May 16, 2011
  

Thank you for direct download link

****
Direct download link
For anyone who needs it :) http://plugins.netbeans.org/nbpluginportal/files/nbms/1276871110641_org-netbeans-modules-formatmany-6.9.nbm
Posted by: karolrybak on:Dec 02, 2010 - 08:51:18

*****
Thank you!!
Posted by manuel.fdez.1982 on Mar 23, 2011
  

Yet not fixed

I was informed that download should work now but sorry to say that it's still not fixed.
Posted by chintan4fun on Mar 03, 2011
  

Not able download

Whenever I click on download button, it gives error.
Posted by chintan4fun on Dec 23, 2010
  

Direct download link

For anyone who needs it :)
http://plugins.netbeans.org/nbpluginportal/files/nbms/1276871110641_org-netbeans-modules-formatmany-6.9.nbm
Posted by karolrybak on Dec 22, 2010
  

Download link broken

The link is broken. Kindly look into it.
Posted by pratikabu on Dec 04, 2010
  

Download link still not working

Please fix it the plugin looks very useful, but I still cannot try it out.
Posted by karolrybak on Dec 02, 2010
  

Download link broken

I've been trying to download this plugin, which seems really useful, but the download link in the plugin page appears to be broken! Please, could you fix it?
Posted by giancosta86 on Sep 19, 2010
  

netbeans 6.9

> "Hi, netbeans 6.9 adds many great options for php formatting, but unfortunately this plugin does not work in 6.9. Any chances for update ?"

Yes, I've just uploaded a version which works in NetBeans 6.9.
Posted by tor on Jun 18, 2010
  

netbeans 6.9

Hi, netbeans 6.9 adds many great options for php formatting, but unfortunately this plugin does not work in 6.9. Any chances for update ?
Posted by karolrybak on May 25, 2010
  

Great plugin

I've been looking for a plugin to format multiple files for a long time. This one is great
Posted by computerjy on Feb 01, 2010
  

This plugin is awesome.

Does exactly what it's supposed to.
Posted by davehochhauser on Sep 25, 2009
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo