Tuesday, March 15, 2011

Annoying eclipse automatically closing quotes

I've always found the automatic close quotes/parenthesis features in eclipse useless. For example hitting on a single " will lead to

"<cursor>"

I don't need the second quotes. It's annoying to remove afterward.

From stackoverflow
  • I don't know how to turn the feature off however, you can hit tab and eclipse will jump past the quotes.

    Yada : Hitting tab for me eclipse enters an actual tab inside the quotes and not jump.
    Yada : I was editing php file with Zend Studio. Hitting tabs works when I'm editing Java using eclipse.
  • Try Windows -> Preferences -> Java -> Editor -> Typing and uncheck the "Strings" checkbox in the "Automatically close" group.

  • Jump out of the quotes by simply hitting Enter when you are done typing the string contents (at least, in the java editor).

0 comments:

Post a Comment