How to do some small tasks in IDEA?

Hi All,
I've just upgraded my IDEA from 6 to 8M1. During this, I'd like to impromve my skills and find out what's possible in this great IDE.

1. I'd like to let IDEA reformat relevant code after entering closing } - for example, I have a piece of code, then I write if (...) { at the beginning and } at the end of already written code. Then, I have to manually indent the block - this was not necessary in Eclipse. Is it possible in IDEA to let get it done automatically?

2. Can I reorganize tabs by mouse?

Thanks a lot for any tips,
Aleq

0
Avatar
Permanently deleted user

1) If you hit Ctl-Alt-L it will reformat the code according to your configured code style
2) I have never seen a way to be able to do this (but haven't looked). I personally like using ctrl-n and ctrl-e for getting to files event if they are already open, can't remember the last time I used a tab.

0

Hello Ales,

2. Can I reorganize tabs by mouse?


For now you can't: http://www.jetbrains.net/jira/browse/IDEABKL-2774

Alexander.


0

请先登录再写评论。