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 137318

Summary: Update Editor category in Tools-Options according to the UI spec
Product: php Reporter: Vitezslav Stejskal <vstejskal>
Component: CodeAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: blocker CC: dbalek, jbecicka, jrojcek, lbarnard, martin_adamek, mfukala, msauer, olangr, pjiricka, ppisl, tmysik, tslota
Priority: P2 Keywords: PLAN, UI
Version: 6.x   
Hardware: All   
OS: All   
URL: http://ui.netbeans.org/docs/ui/options2/
Issue Type: TASK Exception Reporter:
Bug Depends on: 137338    
Bug Blocks: 137548, 139993    

Description Vitezslav Stejskal 2008-06-16 14:53:46 UTC
There is a new UI specification for Tools-Options, which defines how the editor related panels for particular languages
should be rearranged. Please see http://ui.netbeans.org/docs/ui/options2/ for more details.
Comment 1 Vitezslav Stejskal 2008-06-16 14:56:06 UTC
We will try to squeeze it to 6.5M2 ...
Comment 2 Petr Jiricka 2008-06-26 21:58:21 UTC
*** Issue 105598 has been marked as a duplicate of this issue. ***
Comment 3 Petr Jiricka 2008-07-14 17:56:04 UTC
I'd like to ask - what exactly will be the per-language UI for Formatting and Hints?

I would expect that for the formatting options, each language will be able to provide UI for formatting options specific
to this language (JPanel that would be displayed under the combo box). If a language does not provide any UI, the
infrastructure will provide a fallback UI - something like the current UI under Editor | Indentation options.

For the hints, I assume there would again be a per-language UI, but if the language does not provide any implementation,
it will not appear in the language combo box at all.

Is this a correct assumption? Is this the desired solution? (This part is not specified in the UI spec). Thanks.
Comment 4 Vitezslav Stejskal 2008-07-15 09:12:38 UTC
Yes, something along these lines.

There are several formatting settings that are common to all languages - those exposed in the current Editor ->
Indentation panel. So far these settings have been managed 'together' - meaning that changing them in the UI modified
those settings for __all__ mimetypes. I think we should keep this option otherwise it will become really hard to change
for example 'Number of spaces per indent' for all languages available in the IDE. The combo box makes sense for big
languages, which provide a lot of fine grained formatting settings, but makes only a little sense for common indentation
settings like tab size, indent size, right margin, etc, because typically users want to adjust those at once for all
languages.
Comment 5 Jan Becicka 2008-07-22 14:34:49 UTC
Java & Editor infrastructure done. Reassigning to PHP to move their panels.
Thanks to Dusan, Vita and Max
http://hg.netbeans.org/main?cmd=changeset;node=3fe7e2659de1