Is there a simple, consistent way to change the color scheme of Eclipse editors?

前端 未结 5 813
Happy的楠姐
Happy的楠姐 2021-01-05 05:27

I\'m going crazy trying to get all of the editors to look similarly. It looks like there\'s a different color editor option for each file type/code type, which means it take

5条回答
  •  Happy的楠姐
    2021-01-05 05:48

    It sounds like there isn't currently a good way of doing this because of the way Eclipse was designed: there's not a good, flexible, inheritable syntax highlight framework to bring consistency to everything.

    While you can export & import preferences as Wijnand Warren's answer states, and that does work... kind of... actually going in and editing the preference files to make sure that you're only sharing color information is probably a huge pain in the butt, so not simple. Also, that still leaves the problem of finding someone who has put in the effort & time to create the syntax coloring in the first place.

    Also, every time you add a new type of structured text editor (new language per year anyone?), you'll have to go back into settings & edit the highlighting for that language as well.

    I have no experience developing for the Eclipse platform, but if someone with more experience would be willing to point me in the right direction (documentation, explanation of how things fit together, etc.), please let me know.

提交回复
热议问题