开发者

how to change the hot-key used to invoke code insight?

开发者 https://www.devze.com 2023-02-14 19:20 出处:网络
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 t

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

0

精彩评论

暂无评论...
验证码 换一张
取 消