开发者

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

开发者 https://www.devze.com 2023-02-25 04:31 出处:网络
Eclipse is being helpful again, and I want it to stop. The situation is this: It auto-completes a function name, to foo(), and because takes an argument, the cursor is now between the ().

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

精彩评论

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

关注公众号