5

Tip: Enable a shortcut for Occurrences in File in Eclipse under Gnome (default C...

 2 years ago
source link: https://blog.jakubholy.net/2010/11/02/tip-enable-a-shortcut-for-occurrences-in-file-in-eclipse-under-gnome/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Tip: Enable a shortcut for Occurrences in File in Eclipse under Gnome (default C+S+u)

November 2, 2010
The useful Eclipse action Search - Occurrences in File - Identifier has by default the shortcut Control+Shift+U. But under Gnome the shortcut Control+Shift+U is used for Unicode character input, indicated by an underlined u when pressed. Assigning a different shortcut is easy but there are few "traps":
  1. In Eclipse, go to Window - Preferences - General - Keys
  2. Type the filter occurr and click on "Shows the Occurrences in File Quick Menu". Do not confuse it with "Occurences in File" (binding C+S+A, when Editing in Structured T. Ed.)!
    1. Make sure that When is "In Windows", Category is "Search"
    2. Click [Unbind Command], click into the Binding field and type the keys that you want. Beware that some keys could conflict with existing bindings or global Gnome/system bindings. For me e.g. Control+Shift+S or F8 worked (though I might have to unbind conflicting bindings, I don't remember anymore).
Environment: Eclipse 3.5, Gnome 2.30.2, Ubuntu 10.04.

Are you benefitting from my writing? Consider buying me a coffee or supporting my work via GitHub Sponsors. Thank you! You can also book me for a mentoring / pair-programming session via Codementor or (cheaper) email.

Allow me to write to you!

Let's get in touch! I will occasionally send you a short email with a few links to interesting stuff I found and with summaries of my new blog posts. Max 1-2 emails per month. I read and answer to all replies.

Copyright © 2022 Jakub Holý
Powered by Cryogen
Theme by KingMob

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK