I want to change the hot-key to invoke 开发者_StackOverflowcode insight in Delphi 2010, being the original Ctrl
enter
, i want to change it to spacebar
without installing CnWizards, how can I archive this?
While you could write an IDE wizard to do something like this, using a common key like space to trigger code insight would have many annoying side effects. I can't recommend using such a common keystroke. Consider Ctrl+Space or Ctrl+Shift+Space.
There is no built-in Delphi functionality to change that hotkey.
You can write your own IDE expert to do that. Since cnWizards already provides the functionality you want, the sources of cnWizard are a good start to see how to write your own IDE expert.
--jeroen
精彩评论