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 169089 - More granular indentation and closing bracket options
Summary: More granular indentation and closing bracket options
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Ondrej Brejla
Depends on:
Reported: 2009-07-24 02:38 UTC by markeb
Modified: 2012-04-24 12:39 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description markeb 2009-07-24 02:38:23 UTC
I would like to see more granular options for controlling the auto-inserting of closing brackets and indents.

For example, when I choose to disable "Insert Closing Brackets Automatically", and I type the following code, I would
like for NetBeans to NOT auto-indent:

function someFunc()
[AUTO-INDENT]|<=== Cursor is here

Ideally, NetBeans should allow the following configuration options instead of just "Insert Closing Brackets
Automatically" (NOTE: Some of these options might be specific for PHP!):

Automatically close:
- "Strings" (or 'Strings')
- (Parentheses) and [square] brackets
- {Braces}
- phpDoc and comment regions
  - Add phpDoc tags
- Close PHP tag (?>)

NOTE: Each point above would have a checkbox next to it.

Also, I would envision an option to enable/disable the "Automatic indent after opening curly brace".

This type of control is provided by Eclipse, and I would love to see NetBeans offer this extra configuration ability, as

Thank you!
Comment 1 Tomasz Slota 2010-02-10 08:46:49 UTC
reassigning to default owner
Comment 2 Filip Zamboj 2010-09-15 12:29:28 UTC
batch reassigning