I have three things I want to do with intellij. I've been poking around for a while, and can't seem to find if they're possible. I thought I'd post them here before filing tracker/bug requests. If anyone can answer them, I'd appreciate it...
1. Fully specified class names on Surround With Try-Catch.
If I highlight a statement that throws an exception, and invoke the Surround With Try-Catch action, unless I've previously imported the exception, it puts the fully qualified class name in the catch block:
I'd like it to just import the exception by default, and only qualify it if there's a conflict...
2. Brace-less if statements.
This is more of a code-style issue. I'll occasionally see code like this:
I'd like it to become this when I invoke Layout Code:
Can't seem to figure out how to do this.
3. Move variable declaration out of loop/statement block.
Probably an intention. I'll have code like this:
I'd like to move the variable declaration outside of the loop, like this:
Again, any answers on how to do this would be appreciated. Otherwise, I'll probably be posting requests...