Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: aerol on June 25, 2007, 11:50:05 am

Title: Suggestion on Hotkey of Code Completion
Post by: aerol on June 25, 2007, 11:50:05 am
The Hotkey to active Code Completion was set to Ctrl+Space, but Ctrl+Space is the Default Hotkey of Input Method (ex. Chinese) in all Platform.
So when i use cb, i can't active my chinese input method, it was interrupted by Code Completion, and the Hotkey of Code Completion can't be redefined.
Of course i can disable Code Completion, but i need it. In other IDE the function like Code Completion is always trigged by "." or Ctrl+Enter.
I hope this small change can be made, and then i can input my nice chinese smoothly.
Title: Re: Suggestion on Hotkey of Code Completion
Post by: lubos on June 25, 2007, 12:54:05 pm
huh when did you saw ctrl+enter? ctrl+space is also used in visual studio, so most people are comfortable with this. you can also put atomatic code-completition startup somewhere, but some option for redefining CC wouldnt hurt  :)
Title: Re: Suggestion on Hotkey of Code Completion
Post by: dmoore on June 25, 2007, 01:39:39 pm
are you sure you can't change this in settings->editor settings->keyboard shortcuts? (you should be able to remove ctrl-space and add another key in its place -- i'm not sure ctrl-enter will work, but maybe ctrl-.)
Title: Re: Suggestion on Hotkey of Code Completion
Post by: aerol on June 25, 2007, 10:29:00 pm
Sorry, i am always under linux, and in anjuta, it's trigged by ctrl+enter. :)
I hope only ,that the hotkey can be redefineable.

huh when did you saw ctrl+enter? ctrl+space is also used in visual studio, so most people are comfortable with this. you can also put atomatic code-completition startup somewhere, but some option for redefining CC wouldnt hurt  :)
Title: Re: Suggestion on Hotkey of Code Completion
Post by: aerol on June 25, 2007, 11:18:02 pm
Thank you, i find how to redefined this hotkey, and i can call the chinese input method,
but unfortunately, cb crashed when i use input method. :(

are you sure you can't change this in settings->editor settings->keyboard shortcuts? (you should be able to remove ctrl-space and add another key in its place -- i'm not sure ctrl-enter will work, but maybe ctrl-.)
Title: Re: Suggestion on Hotkey of Code Completion
Post by: rickg22 on June 26, 2007, 01:50:19 am
aerol:  try to find out if there's a "codeblocks.xml" file in your home directory, or in your codeblocks directory. It might give us information related to the crash, so we could fix that.