0 Replies Last post: May 24, 2013 6:04 AM by Shorn Tolley  
Shorn Tolley Newbie 62 posts since
May 9, 2006
Currently Being Moderated

May 24, 2013 6:04 AM

applying a different code style to libraries (especially the JDK source code)

The project I am currently working on uses "2 spaces - no tabs" code style - quite different from the SunJdkStyle code style.

 

Is there a way to have a particular code-style apply only to a particular library?  The Sun JDK source code is quite difficult to read if the indentation settings aren't set up just right.

I'm thinking about extracting the JDK src.zip to directory and re-formatting individual files when I need to read them (looks like re-indenting will change some line numbers though, that will mess up debugging).

 

If there's no way to do this - would it make a good feature request, or is there a reason something like this is not feasible?

(zOMG - a new IDEA feature for *java* code!)

More Like This

  • Retrieving data ...