- This topic has 8 replies, 4 voices, and was last updated 19 years, 11 months ago by rogue_dev.
-
AuthorPosts
-
b0rgMemberWouldn’t be bad to have some kind of minimalistic syntax highlighting in .properties files. Only three elements would suffice :
– comments
– property key
– property value
Riyad KallaMemberVictor, great idea I’ll pass it on!
b0rgMember😳 Please don’t forget the Tab expansion like in Java editor . Please 🙂 Currently it seems to insert Tab’s, and not replacing them with spaces…
Riyad KallaMemberWhat do you mean “current it seems to insert tabs, and not replacing with”… are you talking about the Java Editor or some other kind of editor?
b0rgMemberno, not the java editor. the editor which edits *.properties. i suppose it is the standard text editor. … have tried it out, right now, with .properties and .txt, it is the standard editor. a option “insert spaces instead of TAB” (with the space inserting behaviour of the java editor) would be really great!
PS
background info: some time ago we had endless discussions in one project about tabs vs spaces, dos vs unix line endings, etc. everyone was using another editor/IDE, some files became dos and unix style mixed, diffing file versions gave 100% differences, etc, it was a never ending nightmare. then i wrote a clearcase precheckin trigger which rejected (text) files with tab characters and non-dos files, forcing all to agree on a ‘lowest common denominator’. suddenly peace was back on earth 😈 that trigger is still enabled…
Riyad KallaMemberHah, ok I understand you now.
JimmyLMemberso? no news from this feature?
’cause I got back from Eclipse 3.1 to Eclipse 3.0.1 to be able to use MyEclipse, but doing that I lost the properties file editor now present in Eclipse 3.1… 🙁
Riyad KallaMemberJimmy,
Most likely we will simply use the property file editor available in Eclipse 3.1, it makes no sense for us to implement a competing editor and spread our resources thinner for a feature that will already be available in the base platform.
rogue_devMemberWhat would be nice, is a tree view of the keys.
The common usage is to separate key blocks with a period:
usecase.function.key
usecase.function.key2
usecase2.function.keyand so on.
This is parsable into a tree layout where (in the example):
usecase
– function
— key
— key2
usecase2
– function
— key -
AuthorPosts