Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes outdated mapping for the Go editor (goclipse) #216

Closed

Conversation

steve-perkins
Copy link
Contributor

Support for Go (via the "goclipse" plugin) has been broken in "eclipse-color-theme" for some time, due to outdated mappings. Quite awhile back, the plugin ID for "goclipse" changed to "com.googlecode.goclipse.ui", and the "pluginKey" elements inside of the mapping file also changed (dropping the "_color" suffix).

This pull request simply updates the mapping file, to reflect the new plugin ID and pluginKey names. Discussion of the issue can be found in this "goclipse" project mailing list thread: https://groups.google.com/forum/#!topic/goclipse/iO1wfn4ovbc.

Thanks!

@fhd
Copy link
Member

fhd commented Jan 15, 2015

Thanks for the PR - and sorry for the delay 😞

I'll happily merge it, just one question: Wouldn't it make sense to keep both mappings around to support the old version of Goclipse? (That's assuming it's still used by a non-trivial number of people, I have no idea.)

@steve-perkins
Copy link
Contributor Author

Haha... sorry for my own delay in responding! I've been traveling recently.

I considered leaving both versions in there. My primary career language is Java, and so I'm very much wired for backwards compatibility, and accustomed to the needs of slow-moving enterprise shops. However, Go by comparison is such a young programming language, and such a fast-moving target. This breaking change was made on the Goclipse side well over two years ago, and I can't even conceive of someone keeping a Go environment un-updated for that long (that was 4 major releases ago).

So I'm more than glad to put the old files back in there if you'd prefer, but in 2015 I really think it would be a matter of cruft rather than legacy support.

@thenickdude
Copy link
Contributor

This fix is great, thanks, I was worried I might have to switch back to the Light theme!

It looks like goclipse also (now) needs mappings for these symbols:

syntax_highlighting_operator map to operator
syntax_highlighting_syntax_chars map to bracket
syntax_highlighting_character map to string

@fhd
Copy link
Member

fhd commented Jul 4, 2015

Sorry for another delay! Merged now. Sure, no need to keep the old stuff around if it's unlikely that anyone is still on that version.

@fhd fhd closed this Jul 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants