7

In Netbeans 7.4 when you hit Return within a set of double quotes it auto-completes using concatenation syntax. i.e.

Netbeans double quote new line autocomplete

How can I switch this off?

gawpertron
  • 1,867
  • 3
  • 21
  • 37

2 Answers2

12

I ran into this problem as well, and boy is it annoying.

The following answer applies to both NetBeans 7 and 8:

  • Within NetBeans: Under 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, located at the very bottom
Joshua Burns
  • 8,268
  • 4
  • 48
  • 61
3

Tools -> Options -> Editor -> Code Completions -> Language: PHP -> Quotes Completion: -> Use Smart Quotes (" and ') Completion.

Mave
  • 2,413
  • 3
  • 28
  • 54