开发者

How can I stop Eclipse from helping me and overriding what the 'End' key does?

Eclipse is being helpful again, and I want it to stop. The situation is this:

  1. It auto-completes a function name, to foo(), and because takes an argument, the cursor is now between the ().
  2. I fill in the argument, and because the line still needs a semicolon at the end of line, I press the End key.
  3. The cursor jumps to the end of the line (after the closing paren), and I press the ; key.
  4. Eclipse is being dumb, jumps back into the parens, selects my argument, and replaces it with the semicolon.

Result: foo(;)

Why is it 开发者_C百科doing this, and how do I stop it? It's bad enough that Eclipse is doing something ridiculous here, but I can't even explain what it is that it is trying to achieve!


Press Return/Enter instead of End. Eclipse will then jump to the end of the line for you to insert your semicolon.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜