Disclaimer: I am a heavy mouse user.
I have some issue with the IDEA editor that annoy me from time to time. Since I am not sure if these are personal preferences or bugs, I prefer to start a little discussion before filing bugs.
Here are my (small) problems:
1. Select some lines and place the cursor in the first position of the next line. Then press Tab to indent the text. The last line does not get indented (although the cursor is placed there). Do you think this is a correct behaviour? I think the line where the cursor is placed should be part of the selection, no matter if characters in that line are selected or not (OpenOffice works in the way I want it).
2. Select some text and place the cursor in the middle of a word. When you click somewhere else, the selection gets cleared. But when you click on the cursor, the word the the cursor position gets selected. The editor obviously sees this as a double click on the word, but it constantly confuses me. Of course, clicking twice at the same location should select a word, but not if another selection has been made before.
3. Select some indented text, cut and paste it somewhere. Example (o means line not selected, x means line selected):
Case a) If you started the selection at the beginning of the line and paste it after the line "int d;" you will get this:
Case b) But if you did not select the white space in front of "int b;" you will get this after pasting:
Although I can understand why the editor does this, I do not agree to this behaviour. I think in both cases the result should be like in case a. I just checked how VisualBasic6 (the only Microsoft IDE I have access to right now) does it, and it works like I would expect it.
So please give your opinions (or ask in case some of my explanations are not clear). Do you think these are bugs, or do you think this is a correct behaviour? Maybe there even is a way for customizing the editor to make it work as I want it to.