Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NetBeans 8.0 formatting, ( automatic join string when i push enter ) how to turn it off

Hello i have a problem with NetBeans 8.0. when i push enter, in string NetBeans automatically put me the string to the new line and join the string with ".", but i need it fully in one string.

For example: i want to create:

$variable = "Some string
             And next string"; 

But NetBeans 8.0 automatically creates me:

$variable = "Some string"
            ."And next string";

It not so good for formatting for me. How can i turn it off?

like image 905
Kamil Avatar asked Feb 12 '23 20:02

Kamil


1 Answers

In Tools -> Options -> Editor -> Code Completion -> PHP -> Quotes completion: Use String Auto-Concatenation after Typed Break.

like image 74
Mrcool Avatar answered Feb 15 '23 10:02

Mrcool