IBM Support

Running watsonx Code Assistant in Eclipse the default shortcuts are not working

Troubleshooting


Problem

Running watsonx Code Assistant in Eclipse and the default shortcut does not work.
For example, the default shortcut for code generation "option + ." on Mac or "alt + ." on Windows does not work.

Cause

You may have a different key binding

Diagnosing The Problem

Open the Eclipse Preferences windows by going to Window > Preferences and selecting  General > Keys.
In the top search field type "watsonx Code Assistant" to bring up the watsonx Code Assistant key bindings (see Binding column in image below)
image-20250217165132-1

Resolving The Problem

In order to revert to the default key binding, highlight the Command for which you would like to restore the default binding, and hit the Restore Command button.
image-20250217165550-2
Check the binding has reverted back to the default key combination, and press Apply and/or Apply & Close
image-20250217170012-3

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSGUM3","label":"IBM watsonx Code Assistant Software"},"ARM Category":[{"code":"a8mKe0000008Oj3IAE","label":"IDE UI-\u003EEclipse"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"},{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSJBG3","label":"IBM watsonx Code Assistant as a Service"},"ARM Category":[{"code":"a8mKe0000008Oj3IAE","label":"IDE UI-\u003EEclipse"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
18 February 2025

UID

ibm17183479