News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Suggestion on Hotkey of Code Completion

Started by aerol, June 25, 2007, 11:50:05 AM

Previous topic - Next topic

aerol

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.

lubos

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  :)

dmoore

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-.)
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

aerol

Sorry, i am always under linux, and in anjuta, it's trigged by ctrl+enter. :)
I hope only ,that the hotkey can be redefineable.

Quote from: 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  :)

aerol

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. :(

Quote from: 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-.)

rickg22

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.