Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 21986 ideas, 135057 comments, 2615221 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas

Contributor Penguin Guy on the Programming category

Lots of Duplicated Syntax Files  
Written by Penguin Guy the 31 Aug 09 at 11:50. Global category: Programming. New
Programs like GEdit, Nano, Vim and Firefox all have their own syntax files, this has three disadvantages: It wastes space, it wastes developers time, and they all color code differently.
9
votes
up equal down
Solution #1: Share Syntax Files
Written by Penguin Guy the 31 Aug 09 at 11:50.
Create a shared folder for these files so that any applications that work with code can use these files rather than their own. There should be a system-wide folder at '/usr/share/syntax/' and a folder for each user at '~/.syntax/' (so they can change the default coloring).

The syntax files should not specify a color themselves, they should specify a type (text, comment, variable, etc) which will be assigned a color in '~/.syntax/color' or '/usr/share/syntax/color'.

See the 2 comments or propose a solution (latest comment the 21 Sep 09 at 16:10) >>