Hi all,
I just committed(SVN r1628) a complete rewrite of the construct auto completion code.
There is a new configuration file autocomplete.conf where all available completions are defined. At the moment, all construct completions from previous versions are available, maybe there will be some more in the future. The way to define auto completions is very flexible and can be used to define almost anything ;-).
Docs on the format of the configuration file can be found in the file itself and I tried to describe the whole behaviour in the main documentation[1].
There are probably still bugs in the code which I missed to find. So please test and report anything you notice. I will be happy about any feedback about the documentation, too. I guess it has to be improved in quantity as well as quality.
[1] http://geany.uvena.de/manual/ch03s05.html#editing_cc
Regards, Enrico
Enrico Tröger wrote:
Hi all,
I just committed(SVN r1628) a complete rewrite of the construct auto completion code.
...
There are probably still bugs in the code which I missed to find. So please test and report anything you notice. I will be happy about any feedback about the documentation, too. I guess it has to be improved in quantity as well as quality.
I found a small bug-like thing...
Type: "for " (including space and excluding "'s) and press "TAB".
Result: ffor ($i = 0; $i < ; $i++) {
}
2 spaces will result in "fofor ($i = 0; $i < ; $i++) ...", 3 in "forfor ...", etc.
Cheers!
Harold.
On Mon, 18 Jun 2007 10:02:53 +0200, Harold Aling h.aling@home.nl wrote:
Enrico Tröger wrote:
Hi all,
I just committed(SVN r1628) a complete rewrite of the construct auto completion code.
...
There are probably still bugs in the code which I missed to find. So please test and report anything you notice. I will be happy about any feedback about the documentation, too. I guess it has to be improved in quantity as well as quality.
I found a small bug-like thing...
Type: "for " (including space and excluding "'s) and press "TAB".
Result: ffor ($i = 0; $i < ; $i++)
Thanks for reporting. Should be fixed in SVN r1630. Auto completion of words which are followed by any whitespace is disabled. I.e. the cursor has to be at the end of the word to auto complete.
Regards, Enrico
On 6/18/07, Enrico Tröger enrico.troeger@uvena.de wrote:
Thanks for reporting. Should be fixed in SVN r1630. Auto completion of words which are followed by any whitespace is disabled. I.e. the cursor has to be at the end of the word to auto complete.
RPM package for Fedora 7 :
http://people.vnoss.org/~vnpenguin/fedora7/misc/geany-svn.r1630-1.fc7.i686.r...
Enrico Tröger wrote:
I just committed(SVN r1628) a complete rewrite of the construct auto completion code.
...
There are probably still bugs in the code which I missed to find. So please test and report anything you notice. I will be happy about any feedback about the documentation, too. I guess it has to be improved in quantity as well as quality.
I found a small bug-like thing...
Type: "for " (including space and excluding "'s) and press "TAB".
Result: ffor ($i = 0; $i < ; $i++)
Thanks for reporting. Should be fixed in SVN r1630. Auto completion of words which are followed by any whitespace is disabled. I.e. the cursor has to be at the end of the word to auto complete.
That's a reasonable fix, and works as expected...
-tnx!-
Harold
Enrico Tröger wrote:
There are probably still bugs in the code which I missed to find. So please test and report anything you notice. I will be happy about any feedback about the documentation, too. I guess it has to be improved in quantity as well as quality.
Speaking of which...documentation is my job...I'm not a programmer by trade but mess with python and php quite a bit. Since I find Geany quite useful, I'd be more than willing to supplement documentation efforts.
Derrick