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 - Update Editor category in Tools-Options according to the UI spec
Summary: Update Editor category in Tools-Options according to the UI spec
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Petr Pisl
Keywords: PLAN, UI
: 105598 (view as bug list)
Depends on: 137338
Blocks: 137548 139993
  Show dependency tree
Reported: 2008-06-16 14:53 UTC by Vitezslav Stejskal
Modified: 2010-09-17 05:28 UTC (History)
12 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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 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
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;node=3fe7e2659de1