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 135492 - Easier Fonts & Colors profiles management
Summary: Easier Fonts & Colors profiles management
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Settings (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-21 12:54 UTC by Vitezslav Stejskal
Modified: 2012-06-01 23:05 UTC (History)
2 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitezslav Stejskal 2008-05-21 12:54:08 UTC
Currently it is quite hard to maintain coloring profiles. We have to change the system to make the following tasks easier:

A. Adding a new language colorings
B. Adding a new profile

The idea is following:

1. Define a 'super' profile, which will not be visible for users, will define only coloring names and the inheritance
structure. The rule will be that all mime type specific colorings must inherit from some coloring in 'All languages'
category. All other font & color attributes will be ignored.

2. User visible profiles will only define font & color attributes, but won't be allowed to add new coloring names or
change the inheritance structure.

Adding new language or profile will than only require to:

A. Adding a new language colorings - a module only adds the colorings to the super default profile and defines proper
inheritance. The inheritance and the definition of fonts & colors for colorings in 'All languages' category in all user
visible profiles should ensure that the language's colorings will be 'reasonable' (ie. all visible) in all profiles. If
the module owner wishes they can make further adjustments in particular user visible profiles.

B. Adding a new profile - in a new profile the fonts & colors will only have to be defined for colorings in 'All
languages' category. Since all other language specific colorings must inherit from 'All languages' the profile should
work 'reasonably' well in all mime types without further refinements. Of course it is them possible to go through
particular languages and do adjustments.
Comment 1 kross 2012-06-01 23:05:54 UTC
+++1, it's still a mess (from users point of view)!

Target should be to make it possible to create a new theme with only 1 file!
Netbeans needs smth like http://www.eclipsecolorthemes.org/