facebook

MyEclipse Properties editor breaks property files

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #317205 Reply

    Udo Held
    Participant

    Hi,

    we place some of our configuration in .property files. By default they are opened with the “MyEclipse Properties Editor”.

    As part of our configuration we do save sql strings in thoose files as well, which can be quite long, so we break them up over several lines.

    When editing properties we encounter the following behaviour. We always use the “Source” view.

    myproperty=long line 1 \
    long line 2 \
    long line 3

    After saving and opening the file we see:
    myproperty=long line 1 long line 2 long line 3
    long line 2 \
    long line 3
    sometimes the third lines adds to the second one as well.

    This reformatted file leads to confusion and makes the properties unmaintainable.

    How can this behavior be avoided?

    Kind regards
    clavis_uhe

    #317236 Reply

    support-swapna
    Moderator

    clavis,

    I could replicate this issue when the file is opened with “MyEclipse Properties Editor”.
    I will file a PR for the dev team to look into it.

    As a workaround, you can try opening the file with Properties File Editor or Text Editor.
    Sorry for the inconvenience caused.

    #317266 Reply

    Udo Held
    Participant

    Is there a way to globally disable the “MyEclipse Properties Editor”. As far as I figured it out its saved on a per workspace per file basis.

    Kind regards
    clavis_uhe

    #317276 Reply

    support-swapna
    Moderator

    clavis,

    It is not possible to globally disable the “MyEclipse Properties Editor”.
    The only way is to remove the “MyEclipse Properties Editor” from the associated editors list for .properties files under Preferences > General > Editors > File Associations.

    Let me know if you have any further questions.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: MyEclipse Properties editor breaks property files

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