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

Summary: More granular indentation and closing bracket options
Product: php Reporter: markeb <markeb>
Component: EditorAssignee: Ondrej Brejla <obrejla>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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
well.

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