Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ctrl+Shift+G no longer works in eclipse

Tags:

java

eclipse

I'm a huge fan off Eclipse hotkeys, Ctrl+Shift+G being one of my favorite. However, I recently had to completely toss out my workspace and load a new one to switch to a new branch after some merge-cause had occured. Either that, or a later checkin which messed with some classpath files, seems to have broken my ability to search using Ctrl+Shift+G. I now always find nothing.

I have multiple maven projects which all link to each other, and I thought the issue originally was with maven. However, I can't even find methods in the same project, or even the exact same file, using Ctrl+Shift+G now.

Can anyone suggest the process I take to make my eclipse aware of my source code such that it can properly search it?

EDIT: I don't know how I missed this previously. It seems that eclipse is throwing a class-not-found exception looking for the class

org.eclipse.wb.internal.core.utils.dbt.core.project utils

Before this exception is thrown I can do search as normal, after this exception the search breaks. So the issue is actually the exception i'm sure. A reboot does fix things temporarily, Unfortunately, the exception keeps getting thrown after I use eclipse for awhile. So now I'm looking into the cause of the exception. I may post an answer here and/or open a new question depending on how much luck I have researching the cause of the exception on my own.

like image 786
dsollen Avatar asked Feb 16 '23 22:02

dsollen


1 Answers

Open the Preferences dialog. (On Windows, choose the menu item Window>Preferences).

Choose the preferences page General>Keys.

Navigate down to the command References in Workspace. Select it. If the displayed binding is not Ctrl+Shift+G, you can set it by:

  • Pressing the desired key combination Ctrl+Shift+G.
  • Pressing the Apply or OK button.
like image 50
Andy Thomas Avatar answered Feb 23 '23 19:02

Andy Thomas