Hi
I am quite confused about geany autocompletion features.
here is test.cc. It is saved to disk and parsed by geany. -------------------------------------- int abc() { }
int abca;
int main() { int abc; abc(); ab }; --------------------------------------
I didn't change any keybinding setting, so from "Help->Keyboard Shortscuts"
1) Complete word Ctrl+Space - It does nothing at all (I tried to complete "ab" and hit at other random places)
2) Show calltip Alt+Space - it seems it does not do anything as well.
3) Show macro list Ctrl+Enter - I don't know what it supposed to do but it show list for auto completion, however, this list contain only "abca" for "ab". It seems that I can't complete functions this way ("abc").
On Fri, 14 Jul 2006 00:01:24 +0300, Yura Semashko yurand2@gmail.com wrote:
Hi Yura,
- Complete word Ctrl+Space - It does nothing at all (I tried to
complete "ab" and hit at other random places)
After ab won't start autocompletion in any case. This is because autocompletion starts first after entered the third character on a line. We can change this value, it was only a guess. The reasons for the delay are performance(autocompletion is pretty slow) and to not show the autocompletion list if you typed one or two characters. Think of what happens, when you type "gt" then you get a list with lots of gtk_* functions. So, if you rename abc() in abcdefg() autocompletion should work, but doesn't. This is because of a little bug, I just discovered while testing. So, thank you for pointing me to this ;-). Will be fixed soon.
- Show calltip Alt+Space - it seems it does not do anything as well.
Calltips don't work for local functions(i.e. functions in opened files). At the moment calltips work only for the functions read from the global tags files. Will be done until 1.0.
- Show macro list Ctrl+Enter - I don't know what it supposed to do
but it show list for auto completion, however, this list contain only "abca" for "ab". It seems that I can't complete functions this way ("abc").
The macro list is just a list of macros defined in the current workspace (i.e. all open files + global tags files). The list is independent from currently typed characters.
Regards, Enrico
On Friday 14 July 2006 12:29, Enrico Tröger wrote:
On Fri, 14 Jul 2006 00:01:24 +0300, Yura Semashko yurand2@gmail.com wrote:
- Complete word Ctrl+Space - It does nothing at all (I tried to
complete "ab" and hit at other random places)
After ab won't start autocompletion in any case. This is because autocompletion starts first after entered the third character on a line. We can change this value, it was only a guess. The reasons for the delay are performance(autocompletion is pretty slow) and to not show the autocompletion list if you typed one or two characters. Think of what happens, when you type "gt" then you get a list with lots of gtk_* functions.
I think it would be ok if I tell editor I want it by pressing Ctrl+Space. I know that I am doing.
It will be annoing only if this huge slow list will try to appear as I type some text (without pressing Ctrl+Space)
So, if you rename abc() in abcdefg() autocompletion should work, but doesn't. This is because of a little bug, I just discovered while testing. So, thank you for pointing me to this ;-). Will be fixed soon.
;-)
On Fri, 14 Jul 2006 13:34:11 +0300, Yura Semashko yurand2@gmail.com wrote:
On Friday 14 July 2006 12:29, Enrico Tröger wrote:
On Fri, 14 Jul 2006 00:01:24 +0300, Yura Semashko yurand2@gmail.com wrote:
- Complete word Ctrl+Space - It does nothing at all (I tried to
complete "ab" and hit at other random places)
After ab won't start autocompletion in any case. This is because autocompletion starts first after entered the third character on a line. We can change this value, it was only a guess. The reasons for the delay are performance(autocompletion is pretty slow) and to not show the autocompletion list if you typed one or two characters. Think of what happens, when you type "gt" then you get a list with lots of gtk_* functions.
I think it would be ok if I tell editor I want it by pressing Ctrl +Space. I know that I am doing.
Ok, make sense to me. Will think about it.
So, if you rename abc() in abcdefg() autocompletion should work, but doesn't. This is because of a little bug, I just discovered while testing. So, thank you for pointing me to this ;-). Will be fixed soon.
;-)
And it is fixed.
Regards, Enrico