Conflicting keyboard shortcuts in Mac OS X

In Eclipse, keyboard shortcuts are modal: the meaning of a shortcut depends on the current perspective and/or view. My understanding of IDEA's shortcuts are that they're non-modal: a given shortcut will have the same meaning regardless of the current view, is this correct?

As a previous Eclipse user I was using the Eclipse keymaps, but as I get more confortable with IDEA I want to start using IDEA's native keymaps. However, both File > New and Code > Generate are bound to Cmd+N (Mac OS X 10.5+ keymap). Is this expected, or a bug in this keymap?

Thanks in advance,
Daniel Serodio

3 comments

Hi Daniel,

In Eclipse, keyboard shortcuts are modal: the meaning of a shortcut depends on the current perspective and/or view. My understanding of IDEA's shortcuts are that they're non-modal: a given shortcut will have the same meaning regardless of the current view, is this correct?

yes

As a previous Eclipse user I was using the Eclipse keymaps, but as I get more confortable with IDEA I want to start using IDEA's native keymaps. However, both File > New and Code > Generate are bound to Cmd+N (Mac OS X 10.5+ keymap). Is this expected, or a bug in this keymap?

IJ actions are context-bound, e.g. 'Generate' action is not available at the 'project view', that's why it will not be picked up during matching a pressed keystroke (however, both actions are available at editor context, that's why it looks not that good that they are bound to the same shortcut).

Denis

0

Thanks for the response, should I file a bug report about this conflict?

0

Please sign in to leave a comment.