This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 161245 - annoying automatic indention
Summary: annoying automatic indention
Status: RESOLVED DUPLICATE of bug 160995
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Tomasz Slota
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-26 13:04 UTC by gawan
Modified: 2009-04-09 15:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gawan 2009-03-26 13:04:45 UTC
Hi, try this code:

<code>
function test() {
    if ({cursor})
}
</code>

move cursor after if and press CTRL+SPACE and select something e.g. test(). NB add 4 spaces before if. 

<code>
function test() {
        if (test())
}
</code>

This is absolutely annoying me. Sometimes NB is more "intelligent" as I expected and use indention when I don't need it.
Could you solve it? Best way could be add some options for setup indention or turn it off. Or is any way how could I do
it? I'm not able to find it.
Comment 1 Tomasz Slota 2009-04-09 15:40:19 UTC

*** This issue has been marked as a duplicate of 160995 ***