5 comments
Comment actions Permalink

Example: you want to learn about JGoodies, and wonder how it works
alongside pure Swing code:
- download a tutorial (ex: forms)
- create a project around this code
- attach the JGoodies libraries to the project

and now the tip:

- create a scope based "Color & fonts" settings, *1
scope: lib:com.jgoodies..*
effect: underwaved + blue, yellow background

*1: Menu:File.Settings:IDE.Color & Fonts.Scope Based

=> all the jgoodies related code is highlighted, and you see in a snap
what's pure SWing, and what's JGoodies related.

Alain Ravet












Attachment(s):
tip001-result.png
tip001-settings.png
0
Comment actions Permalink

Good tip! I can see using scoped color for a lot of things. Sometimes all it takes is a point in the right direction for a feature to leap out at you as useful.

0
Comment actions Permalink

There since 4.5, I think, but nice to mention again.
Using Ctrl-shift-F7 you cna highlight usages of fields/methods/...
But it can even more. Being used on:
- "throws" keyword it shows all possible causes of any declared exception
- "return" keyword it shows all exit points
- "catch" keyword it shows all places where this exception is thrown in
the try-catch-block.

0
Comment actions Permalink

and how do you undo the highlighting?

Sven Steiniger wrote:

There since 4.5, I think, but nice to mention again.
Using Ctrl-shift-F7 you cna highlight usages of fields/methods/...
But it can even more. Being used on:
- "throws" keyword it shows all possible causes of any declared exception
- "return" keyword it shows all exit points
- "catch" keyword it shows all places where this exception is thrown in
the try-catch-block.

0
Comment actions Permalink

escape

"Andrei" <adovnar@comcast.net> wrote in message
news:de2jpk$k44$1@is.intellij.net...

and how do you undo the highlighting?

>

Sven Steiniger wrote:

>> There since 4.5, I think, but nice to mention again.
>> Using Ctrl-shift-F7 you cna highlight usages of fields/methods/...
>> But it can even more. Being used on:
>> - "throws" keyword it shows all possible causes of any declared exception
>> - "return" keyword it shows all exit points
>> - "catch" keyword it shows all places where this exception is thrown in
>> the try-catch-block.


0

Please sign in to leave a comment.