E
E
Eugene2014-02-16 18:27:13
NetBeans
Eugene, 2014-02-16 18:27:13

Netbeans IDE: how to disable auto line break?

Good evening.
All of a sudden, after the update, my favorite editor started doing this nonsense when I pressed Enter on a line:

$blablabla = $_appc->fetchRow('SELECT'
                    . 'UserId, Login'
                    . 'FROM ...');

Which is terribly annoying. And it needs to be like before:
$blablabla = $_appc->fetchRow('SELECT
                    UserId, Login
                    FROM ...');

those. so that the editor does not connect lines when pressing Enter.
Tell me where to find this setting, because I seem to have lost my sight.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nez Nurik, 2014-03-04
@Qwofer

We follow to: Tools -> Options -> Editor -> Code Completion
In the Languages ​​list, select PHP, then uncheck the last checkbox Use String Auto-Concatenation after Type Break
PS: Thanks for the question, it inspired me to deal with this bug =)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question