Netbeans 7.4 double quote marks auto-complete newline

In Netbeans 7.4, when you press Return in a set of double quotes, it automatically ends using the concatenation syntax. i.e.

Netbeans double quote new line autocomplete

How to disable this?

+6
source share
2 answers

I ran into this problem and the boy is annoying.

The following answer applies to NetBeans 7 and 8:

  • Inside NetBeans: In the top menu (in NetBeans), click Tools β†’ Options
  • In the pop-up window, go to: Editor β†’ Code Completion (tab)
  • Uncheck Use String Auto-Concatenation after Types Break at the bottom
+10
source

Tools β†’ Options β†’ Editor β†’ Code Completion β†’ Language: PHP β†’ Quotation Completion: β†’ Use Smart Quotes ("and ') Completion.

+3
source

All Articles