eclipse-cdt / cdt-lsp

Eclipse CDT™ LSP Extensions for CDT
Eclipse Public License 2.0
23 stars 11 forks source link

Shortcut Open call hierarchy is not working (CTRL + ALT + H) #298

Closed dragoudin closed 3 months ago

dragoudin commented 4 months ago

WHen I do right click and select open call hierarchy, it works fine. When I do it with shortcut (Ctrl + alt + h), it's not working. Other shortuts seems to be working

I use latest eclipse cdt and master branch of cdt lsp

ghentschke commented 3 months ago

Please check if the key Ctrl + alt + h is bind to an other command via: Preferences -> General -> Keys. It should look like this: image

dragoudin commented 3 months ago

I never changed shortcut. I checked and it's like your settings image

It works fine with classical view (not cdt lsp) but with cdt lsp the shortcut is not working (while in the menu it works)

ghentschke commented 3 months ago

Does it work when you press the restore defaults button in the preference page? Does it work when you select a different key for Open Call Hierarchy in Language Servers category?

dragoudin commented 3 months ago

I did restore defaults and now it works (maybe it's a problem of upgrade workspace from old eclipse version). Mow it works fine thanks