facebook

Min syntax highlighting for properties files [Enhancement]

  1. MyEclipse IDE
  2.  > 
  3. Feature Requests
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #204045 Reply

    b0rg
    Member

    Wouldn’t be bad to have some kind of minimalistic syntax highlighting in .properties files. Only three elements would suffice :
    – comments
    – property key
    – property value

    #204052 Reply

    Riyad Kalla
    Member

    Victor, great idea I’ll pass it on!

    #204078 Reply

    b0rg
    Member

    😳 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…

    #204080 Reply

    Riyad Kalla
    Member

    What 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?

    #204089 Reply

    b0rg
    Member

    no, 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…

    #204090 Reply

    Riyad Kalla
    Member

    Hah, ok I understand you now.

    #220903 Reply

    JimmyL
    Member

    so? 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… 🙁

    #220905 Reply

    Riyad Kalla
    Member

    Jimmy,
    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.

    #221039 Reply

    rogue_dev
    Member

    What 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.key

    and so on.

    This is parsable into a tree layout where (in the example):
    usecase
    – function
    — key
    — key2
    usecase2
    – function
    — key

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Min syntax highlighting for properties files [Enhancement]

You must be logged in to post in the forum log in