The moose likes IDEs, Version Control and other tools and the fly likes Eclipse key mapping Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse key mapping" Watch "Eclipse key mapping" New topic

Eclipse key mapping

Stu Thompson
Ranch Hand

Joined: Jun 14, 2006
Posts: 136
Hi all,

Does anyone know how to map a key to a character in Eclipse? Or if it is even possible?

I have a new MacBook with a DE-CH keyboard. Unfortunately, characters that are important for Java programming ([, {, etc.) are unmarked and require obscure key combinations to get to...and unnecessary characters (�, �, etc.) are a just one click away.

So, my desire is to be able to press the � key and get [.

I've googled around looking for information on OS X-level mappings...and the tweaks necessary are pretty heavy. I'd rather not do it. Also, I really only need this behaviour in while coding.

I looked "on the google" but didn't find anything.

Thanks for the input.

"This is not to say that design is unnecessary. But after a certain point, design is just speculation." --Philip Chu
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32818

It's definitely possible. Eclipse provides a plugin for custom bindings. However, it might not be easy. (I don't know the details.)

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Consider Paul's rocket mass heater.
subject: Eclipse key mapping
It's not a secret anymore!