Hi,
I've installed the latest(0.12) Geany version and didn't manage to get the file "autocomplete.conf" work correctly. I copied the one given in "/home/myname/.geany". Now, when I type i.e 'for' (wich is in the [Default] section) followed by Tab, I got nothing but a space. Any idea ?
Thanks.
On Sun, 14 Oct 2007 17:13:51 +0200, kib2 kib2@free.fr wrote:
Hi,
I've installed the latest(0.12) Geany version and didn't manage to get the file "autocomplete.conf" work correctly. I copied the one given in "/home/myname/.geany". Now, when I type i.e 'for' (wich is in the [Default] section) followed by Tab, I got nothing but a space. Any idea ?
Thanks.
Geany mailing list Geany@uvena.de http://uvena.de/cgi-bin/mailman/listinfo/geany
I can not reproduce this on my system. Using the altest revision from SVN (1943), i just have tested this with PHP-Files and C-Files and unnamed new files and it works without any problems. Maybe this depends on file types, can you tell us, with which file type you are having this issue?
Dominic Hopf a écrit :
On Sun, 14 Oct 2007 17:13:51 +0200, kib2 kib2@free.fr wrote:
I can not reproduce this on my system. Using the altest revision from SVN (1943), i just have tested this with PHP-Files and C-Files and unnamed new files and it works without any problems.
I've downloaded the version yesterday. It's not hte svn one.
Maybe this depends on file types, can you tell us, with which file type you are having this issue?
I don't think so. It happens in whatever file type I'm in (default,cpp,python,etc).
One more question : I saw there was a reStructuredText parser, but it does not seems to highlight anything. Am I right ?
Thanks.
On Sun, 14 Oct 2007 17:49:29 +0200, kib2 kib2@free.fr wrote:
Dominic Hopf a écrit :
On Sun, 14 Oct 2007 17:13:51 +0200, kib2 kib2@free.fr wrote:
I can not reproduce this on my system. Using the altest revision from SVN (1943), i just have tested this with PHP-Files and C-Files and unnamed new files and it works without any problems.
I've downloaded the version yesterday. It's not hte svn one.
Maybe this depends on file types, can you tell us, with which file type you are having this issue?
I don't think so. It happens in whatever file type I'm in (default,cpp,python,etc).
One more question : I saw there was a reStructuredText parser, but it does not seems to highlight anything. Am I right ?
Yes. It only provide the symbol list in the sidebar.
Regards, Enrico
On Sun, 14 Oct 2007 17:49:29 +0200, kib2 kib2@free.fr wrote:
Dominic Hopf a écrit :
On Sun, 14 Oct 2007 17:13:51 +0200, kib2 kib2@free.fr wrote:
I can not reproduce this on my system. Using the altest revision from SVN (1943), i just have tested this with PHP-Files and C-Files and unnamed new files and it works without any problems.
I've downloaded the version yesterday. It's not hte svn one.
There is currently no difference regarding auto completion between the SVN version and the 0.12 release.
Regards, Enrico
On Sun, 14 Oct 2007 17:25:41 +0200, "Dominic Hopf" dmaphy_damastasif@gmx.net wrote:
On Sun, 14 Oct 2007 17:13:51 +0200, kib2 kib2@free.fr wrote:
Hi,
I've installed the latest(0.12) Geany version and didn't manage to get the file "autocomplete.conf" work correctly. I copied the one given in "/home/myname/.geany". Now, when I type i.e 'for' (wich is in the [Default] section) followed by Tab, I got nothing but a space. Any idea ?
Thanks.
Geany mailing list Geany@uvena.de http://uvena.de/cgi-bin/mailman/listinfo/geany
I can not reproduce this on my system. Using the altest revision from SVN (1943), i just have tested this with PHP-Files and C-Files and unnamed new files and it works without any problems. Maybe this depends on file types, can you tell us, with which file type you are having this issue?
Or just open a new file without any template and just type "for" and press the TAB key. Maybe you have some old keyboard shortcuts defined, so that the autocompletion is not bound to TAB? Look for the "Complete construct" keybinding in the preferences dialog.
Regards, Enrico
Enrico Tröger a écrit :
Or just open a new file without any template and just type "for" and press the TAB key.
That's what I did : no autocomplete.
Maybe you have some old keyboard shortcuts defined, so that the autocompletion is not bound to TAB? Look for the "Complete construct" keybinding in the preferences dialog.
Regards, Enrico
Hi Enrico, no, the preference dialog is set to TAB in the field "Complete construct".
On Sun, 14 Oct 2007 18:09:27 +0200, kib2 kib2@free.fr wrote:
Enrico Tröger a écrit :
Or just open a new file without any template and just type "for" and press the TAB key.
That's what I did : no autocomplete.
Maybe you have some old keyboard shortcuts defined, so that the autocompletion is not bound to TAB? Look for the "Complete construct" keybinding in the preferences dialog.
Regards, Enrico
Hi Enrico, no, the preference dialog is set to TAB in the field "Complete construct".
In the preferences dialog on the Editor tab "Construct autocompletion" is enabled?
Regards, Enrico
Enrico Tröger a écrit :
In the preferences dialog on the Editor tab "Construct autocompletion" is enabled?
Regards, Enric
Yes, it is. Look at :
http://kib2.free.fr/temp/Capture1.png http://kib2.free.fr/temp/Capture2.png
Cheers.
On Sun, 14 Oct 2007 19:08:23 +0200, kib2 kib2@free.fr wrote:
Enrico Tröger a écrit :
In the preferences dialog on the Editor tab "Construct autocompletion" is enabled?
Regards, Enric
Yes, it is. Look at :
Fine.
Just to get sure it isn't related to your config: start Geany from the command line and set a different configuration directory to create and use a plain default configuration, e.g.: geany -c /tmp/geany_test
and again just type "for" and press TAB.
Regards, Enrico
Enrico Tröger a écrit :
Just to get sure it isn't related to your config: start Geany from the command line and set a different configuration directory to create and use a plain default configuration, e.g.: geany -c /tmp/geany_test
In fact I can't start Geany from my command-line. I installed it with John's method (http://lists.uvena.de/geany/2007-October/001931.html). So Geany executable can be found inside my /home/kib/opt/bin directory.
Nevertheless, when I launch "./geany -c /tmp/geany_test " from there, typing "for" followed by TAB doesn't make anything but a space.
and again just type "for" and press TAB.
Regards, Enrico
See you, Kib.
On 10/14/07, kib2 kib2@free.fr wrote:
Enrico Tröger a écrit :
Just to get sure it isn't related to your config: start Geany from the command line and set a different configuration directory to create and use a plain default configuration, e.g.: geany -c /tmp/geany_test
In fact I can't start Geany from my command-line. I installed it with John's method (http://lists.uvena.de/geany/2007-October/001931.html). So Geany executable can be found inside my /home/kib/opt/bin directory.
Your PATH environment variable should have /home/kib/opt/bin in it. To set PATH, I have the following line at the end of my ``~/.bashrc`` file::
PATH=/home/john/opt/bin:$PATH
If you make that change (with s/john/kib/), and log out & log back in, you should then see that ~/opt/bin directory at the front of your path::
echo $PATH
Now, the system should find ``geany`` just fine. Try::
which geany
and it should say: ``/home/kib/opt/bin/geany``.
If you're building and installing your own Geany, you probably don't want to have 2 Geanys installed. Check if you've installed Ubuntu's::
dpkg -l | grep geany
If it's there, you can remove it like so::
sudo aptitude purge geany
(In case they're of any use to anyone, I added those notes to my little Geany notes page at http://www.milliwatt-software.com/jmg/notes/geany.html .)
---John
Hi John,
Your PATH environment variable should have /home/kib/opt/bin in it. To set PATH, I have the following line at the end of my ``~/.bashrc`` file::
PATH=/home/john/opt/bin:$PATH
If you make that change (with s/john/kib/), and log out & log back in, you should then see that ~/opt/bin directory at the front of your path::
echo $PATH
Now, the system should find ``geany`` just fine. Try::
which geany
and it should say: ``/home/kib/opt/bin/geany``.
In fact, I've already set my path last night, but got the same issue.
If you're building and installing your own Geany, you probably don't want to have 2 Geanys installed. Check if you've installed Ubuntu's::
dpkg -l | grep geany
If it's there, you can remove it like so::
sudo aptitude purge geany
That was the case, I've uninstalled the previous one with Synaptic, but it was not totally purged. Thanks for the tip.
That does not changed anything either, typing "for" in an empty doc gives nothing. My autocompete.conf file is in "/home/kib/.geany", that's correct no ?
(In case they're of any use to anyone, I added those notes to my little Geany notes page at http://www.milliwatt-software.com/jmg/notes/geany.html .)
Nice page. If you're interested in an editor/previewer for reStructuredText, I've made my own one avaible here (with PyQt4): http://kib2.free.fr/reSTinPeace/ I need to update it, because I saw there is still problems on Linux machines.
In particular, you'll have to change the line 101 of the file "highlighter.py" to this one : match = pattern.match(unicode(text), pos) to get the highlighter work correctly.
Regards,
Kib.
On 14/10/07 17:09:27, kib2 wrote:
Enrico Tröger a écrit :
Or just open a new file without any template and just type "for"
and
press the TAB key.
That's what I did : no autocomplete.
Maybe you have some old keyboard shortcuts defined, so that the autocompletion is not bound to TAB? Look for the "Complete
construct"
keybinding in the preferences dialog.
Hi Enrico, no, the preference dialog is set to TAB in the field "Complete construct".
What if you try a different keybinding for 'complete construct', e.g. space, or even ctrl-alt-c?
But this is very strange that even with an empty -c configuration directory autocompletion doesn't work. The only difference seems to be that you've installed it in a different place. Can you check that the About dialog says Geany 0.12?
(BTW, personally I would just install Geany in the default prefix configure chooses, which is usually /usr/local, removing any package first, but even so it should work from other places too).
Regards, Nick
Nick Treleaven a écrit :
What if you try a different keybinding for 'complete construct', e.g. space, or even ctrl-alt-c?
I've got the same problem.
But this is very strange that even with an empty -c configuration directory autocompletion doesn't work. The only difference seems to be that you've installed it in a different place. Can you check that the About dialog says Geany 0.12?
Yes, it says 0.12.
(BTW, personally I would just install Geany in the default prefix configure chooses, which is usually /usr/local, removing any package first, but even so it should work from other places too).
Regards, Nick
cheers, Kib.
On 15/10/07 22:20:02, kib2 wrote:
Nick Treleaven a écrit :
What if you try a different keybinding for 'complete construct',
e.g.
space, or even ctrl-alt-c?
I've got the same problem.
OK, so it's not a key-related issue.
But this is very strange that even with an empty -c configuration directory autocompletion doesn't work. The only difference seems to
be
that you've installed it in a different place. Can you check that
the
About dialog says Geany 0.12?
Yes, it says 0.12.
Maybe Geany isn't picking up the autocomplete.conf file for some reason. Can you try running geany -d from a terminal, just to see what debug messages you get?
Another thing you could try is using the -c switch to specify a directory that you've already copied an autocomplete.conf file into.
Regards, Nick
Nick Treleaven a écrit :
On 15/10/07 22:20:02, kib2 wrote:
Nick Treleaven a écrit :
What if you try a different keybinding for 'complete construct',
e.g.
space, or even ctrl-alt-c?
I've got the same problem.
OK, so it's not a key-related issue.
But this is very strange that even with an empty -c configuration directory autocompletion doesn't work. The only difference seems to
be
that you've installed it in a different place. Can you check that
the
About dialog says Geany 0.12?
Yes, it says 0.12.
Maybe Geany isn't picking up the autocomplete.conf file for some reason. Can you try running geany -d from a terminal, just to see what debug messages you get?
Here's what I get :
kib@kib:~/PyQt4_progs$ geany -d ** INFO: Geany 0.12, GTK+ 2.12.0, GLib 2.14.1 ** INFO: Initializing plugin 'Créateur de Classe' (Crée des fichiers sources pour une nouvelle classe.) ** INFO: Loaded: /home/kib/opt/lib/geany/classbuilder.so (Créateur de Classe) ** INFO: Initializing plugin 'Exporter' (Exporte le fichier courant vers différents formats.) ** INFO: Loaded: /home/kib/opt/lib/geany/export.so (Exporter) ** INFO: Initializing plugin 'Caractères HTML' (Insérer des entités HTML telles que '&'.) ** INFO: Loaded: /home/kib/opt/lib/geany/htmlchars.so (Caractères HTML) ** INFO: Quitting... ** INFO: Unloaded: /home/kib/opt/lib/geany/classbuilder.so ** INFO: Unloaded: /home/kib/opt/lib/geany/export.so ** INFO: Unloaded: /home/kib/opt/lib/geany/htmlchars.so
Another thing you could try is using the -c switch to specify a directory that you've already copied an autocomplete.conf file into Regards, Nick _______________________________________________ Geany mailing list Geany@uvena.de http://uvena.de/cgi-bin/mailman/listinfo/geany
Ok, all my personnal Geany files are inside "/home/kib/.geany", in particular the "autocomplete.conf" one. So I've tried launching Geany with "geany -c /home/kib/.geany", but again with no result. Cheers,
Kib.
On 17/10/07 13:22:29, kib2 wrote:
Nick Treleaven a écrit :
On 15/10/07 22:20:02, kib2 wrote:
Nick Treleaven a écrit :
Maybe Geany isn't picking up the autocomplete.conf file for some reason. Can you try running geany -d from a terminal, just to see
what
debug messages you get?
[...] ** INFO: Unloaded: /home/kib/opt/lib/geany/classbuilder.so ** INFO: Unloaded: /home/kib/opt/lib/geany/export.so ** INFO: Unloaded: /home/kib/opt/lib/geany/htmlchars.so
Well, at least we know Geany is picking up the correct installation directory.
Ok, all my personnal Geany files are inside "/home/kib/.geany", in particular the "autocomplete.conf" one. So I've tried launching Geany with "geany -c /home/kib/.geany", but again with no result.
Thanks for the extra info. Unfortunately I'm not sure what's causing the problem. I think the only thing we haven't checked is the autocomplete.conf file itself (but I guess that shouldn't have changed since installation).
Regards, Nick
Nick Treleaven a écrit :
On 17/10/07 13:22:29, kib2 wrote:
Nick Treleaven a écrit :
On 15/10/07 22:20:02, kib2 wrote:
Nick Treleaven a écrit :
Maybe Geany isn't picking up the autocomplete.conf file for some reason. Can you try running geany -d from a terminal, just to see
what
debug messages you get?
[...] ** INFO: Unloaded: /home/kib/opt/lib/geany/classbuilder.so ** INFO: Unloaded: /home/kib/opt/lib/geany/export.so ** INFO: Unloaded: /home/kib/opt/lib/geany/htmlchars.so
Well, at least we know Geany is picking up the correct installation directory.
Ok, all my personnal Geany files are inside "/home/kib/.geany", in particular the "autocomplete.conf" one. So I've tried launching Geany with "geany -c /home/kib/.geany", but again with no result.
Thanks for the extra info. Unfortunately I'm not sure what's causing the problem. I think the only thing we haven't checked is the autocomplete.conf file itself (but I guess that shouldn't have changed since installation).
Hi Nick, In fact, I've changed the autocomplete.conf contents to a lighter one, but I don't think that's the problem. Here it is :
Cut here------------------
[Default] name=K.Christophe
[Python] ifp=if %cursor%:\npass
Cut here------------------
Regards, Nick _______________________________________________ Geany mailing list Geany@uvena.de http://uvena.de/cgi-bin/mailman/listinfo/geany
Do you see any problem(s) with it ? Thanks,
Kib.
Maybe you can check which autocomplete file Geany is using...
Launch geany under strace: % strace -o ~/geany.err geany
Then close geany, and check the log: % grep "autocomplete.conf" ~/geany.err
Just a shot in the dark, - Jeff
Jeff Pohlmeyer a écrit :
Maybe you can check which autocomplete file Geany is using...
Launch geany under strace: % strace -o ~/geany.err geany
Then close geany, and check the log: % grep "autocomplete.conf" ~/geany.err
Hi Jeff,
Thanks for that tip, here's my output :
open("/home/kib/opt/share/geany//autocomplete.conf", O_RDONLY|O_LARGEFILE) = 5 open("/home/kib/.geany/autocomplete.conf", O_RDONLY|O_LARGEFILE) = 5
What's wrong, the two '//' in the path or the permissions ?
Just a shot in the dark,
I don't think so... it seems to point the problem.
- Jeff
Geany mailing list Geany@uvena.de http://uvena.de/cgi-bin/mailman/listinfo/geany
Cheers, Kib.
On 10/17/07, kib2 kib2@free.fr wrote:
Thanks for that tip, here's my output :
open("/home/kib/opt/share/geany//autocomplete.conf", O_RDONLY|O_LARGEFILE) = 5 open("/home/kib/.geany/autocomplete.conf", O_RDONLY|O_LARGEFILE) = 5
What's wrong, the two '//' in the path or the permissions ?
Just a shot in the dark,
I don't think so... it seems to point the problem.
Hello, Kib -
It looks to me like this is not the problem - as long as the open() call returns something >= 0, then the file was successfully opened. The // doesn't hurt anything, and the O_RDONLY just means that Geany explicitly opened the file as read-only.
- Jeff
On Wed, 17 Oct 2007 15:04:46 -0500, "Jeff Pohlmeyer" yetanothergeek@gmail.com wrote:
On 10/17/07, kib2 kib2@free.fr wrote:
Thanks for that tip, here's my output :
open("/home/kib/opt/share/geany//autocomplete.conf", O_RDONLY|O_LARGEFILE) = 5 open("/home/kib/.geany/autocomplete.conf", O_RDONLY|O_LARGEFILE) = 5
What's wrong, the two '//' in the path or the permissions ?
Just a shot in the dark,
I don't think so... it seems to point the problem.
Hello, Kib -
It looks to me like this is not the problem - as long as the open() call returns something >= 0, then the file was successfully opened. The // doesn't hurt anything, and the O_RDONLY just means that Geany explicitly opened the file as read-only.
Right and opening it read-only is completely sufficient because Geany don't write this file at any stage.
@Jeff: great idea to use strace. Now we know, the file is found and opened correctly.
Regards, Enrico
Kib,
I'm also using Ubuntu, and autocomplete is working ok for me (with one problem -- see below). It looks like the only difference between how you and I are using it is the language. I've got no idea how to get geany to use a different language -- I'm guessing there's a "use this locale" setting in Gnome somewhere, but I've never accessed it.
So, it seems like you might try switching your system to an English locale and see if the problem persists... though that's just grasping at straws.
The problem I'm having (please let me know if this should be in a new thread) is that I'm trying to create an autocomplete construct for "{{". It looks like this::
[HTML] {{={{ %cursor% }}
but it fails (that is, it doesn't do anything when I hit Tab except insert some spaces, as if "{{" was not an autocomplete construct).
---John
On Thu, 18 Oct 2007 14:58:51 -0400, "John Gabriele" jmg3000@gmail.com wrote:
Kib,
I'm also using Ubuntu, and autocomplete is working ok for me (with one problem -- see below). It looks like the only difference between how you and I are using it is the language. I've got no idea how to get geany to use a different language -- I'm guessing there's a "use this
Basically, run it with $ LANG=C geany to get the English locale, $ LANG=de geany for the Germany locale and so on(use 2-letter country codes). But the C library on the system have to support the language you choose. Don't ask me about details on this, I'm not sure. But LANG=C should be working in any case because it's the default fallback. Anyway, I'm pretty sure this doesn't solve Kib's problem but as strange as it is, who knows ;-).
The problem I'm having (please let me know if this should be in a new thread) is that I'm trying to create an autocomplete construct for "{{". It looks like this::
[HTML] {{={{ %cursor% }}
but it fails (that is, it doesn't do anything when I hit Tab except insert some spaces, as if "{{" was not an autocomplete construct).
Yes. Reason: '{' doesn't belong the default wordchars which define the characters a word may contain to be recognized. I just added a new key "wordchars" to the section "Special" which lets you define your own wordchars specially for auto completion. Check out SVN r1960. Uncomment the wordchars line and add '{' to the list of characters and it should work.
Regards, Enrico
Enrico Tröger a écrit :
Basically, run it with $ LANG=C geany to get the English locale, $ LANG=de geany for the Germany locale and so on(use 2-letter country codes). But the C library on the system have to support the language you choose. Don't ask me about details on this, I'm not sure. But LANG=C should be working in any case because it's the default fallback. Anyway, I'm pretty sure this doesn't solve Kib's problem but as strange as it is, who knows ;-).
I've tried with the English default, there's no problem but the autocomplete is not working. Now, I tried with my locale (I suppose the French one to be "fr", isn't it ?), and here's what i get :
kib@kib:~/Bureau/XP_Docs/RST/reSTinPeace$ LANG=C geany kib@kib:~/Bureau/XP_Docs/RST/reSTinPeace$ LANG=fr geany
(geany:7619): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale.
(geany:7619): Gdk-WARNING **: locale not supported by C library
Regards, Kib.
On 10/18/07, kib2 kib2@free.fr wrote:
I've tried with the English default, there's no problem but the autocomplete is not working.
Kib,
One last oddball thing to try: in your ``~/.geany/geany.conf`` file, maybe try toggling auto_complete_whilst_editing?
Actually, another trick to try might be, shutdown geany, then::
cd mv .geany .geany_PREV mkdir .geany cp .geany_PREV/autocomplete.conf .geany
then restart geany and see if maybe an older config file was causing some weirdness.
Also, I'm guessing you've already tried this, but just in case you haven't, you might try double-checking that your source is pristine. For me, that's::
cd ~/opt/src/geany make uninstall cd .. rm -fr geany # or ``mv geany geany_PREV`` if you want to keep it. svn co https://geany.svn.sourceforge.net/svnroot/geany/trunk geany cd geany ./autogen.sh ./configure --prefix=/home/john/opt make make install
---John
John Gabriele a écrit :
On 10/18/07, kib2 kib2@free.fr wrote:
I've tried with the English default, there's no problem but the autocomplete is not working.
Kib,
One last oddball thing to try: in your ``~/.geany/geany.conf`` file, maybe try toggling auto_complete_whilst_editing?
Actually, another trick to try might be, shutdown geany, then::
cd mv .geany .geany_PREV mkdir .geany cp .geany_PREV/autocomplete.conf .geany
then restart geany and see if maybe an older config file was causing some weirdness.
Also, I'm guessing you've already tried this, but just in case you haven't, you might try double-checking that your source is pristine. For me, that's::
cd ~/opt/src/geany make uninstall cd .. rm -fr geany # or ``mv geany geany_PREV`` if you want to keep it. svn co https://geany.svn.sourceforge.net/svnroot/geany/trunk geany cd geany ./autogen.sh ./configure --prefix=/home/john/opt make make install
John,
thanks for your help, I've tried all and I'm now under Geany 0.13svn >= r1960. But no chance : the autocomplete is not working. I'll wait to see if someone else has the problem.
See you, Kib.
On 10/18/07, Enrico Tröger enrico.troeger@uvena.de wrote:
On Thu, 18 Oct 2007 14:58:51 -0400, "John Gabriele" jmg3000@gmail.com
The problem I'm having (please let me know if this should be in a new thread) is that I'm trying to create an autocomplete construct for "{{". It looks like this::
[HTML] {{={{ %cursor% }}
but it fails (that is, it doesn't do anything when I hit Tab except insert some spaces, as if "{{" was not an autocomplete construct).
Yes. Reason: '{' doesn't belong the default wordchars which define the characters a word may contain to be recognized. I just added a new key "wordchars" to the section "Special" which lets you define your own wordchars specially for auto completion. Check out SVN r1960.
Uncomment the wordchars line and add '{' to the list of characters and it should work.
Thanks. Works great. :)
---John
On Wed, 17 Oct 2007 14:49:48 +0200, kib2 kib2@free.fr wrote:
Thanks for the extra info. Unfortunately I'm not sure what's causing the problem. I think the only thing we haven't checked is the autocomplete.conf file itself (but I guess that shouldn't have changed since installation).
Hi Nick, In fact, I've changed the autocomplete.conf contents to a lighter one, but I don't think that's the problem.
It is.
Here it is :
Cut here------------------
[Default] name=K.Christophe
[Python] ifp=if %cursor%:\npass
Cut here------------------
The file itself looks fine at least there doesn't seem to be any syntax errors. But you never defined a auto completion for "for". So when you try to autocomplete "for" you should also define it as an auto completion. You can only auto complete these words which you have defined in the auto completion file. So, instead of trying it with "for", try it with "name" and it might work.
Regards, Enrico
Enrico Tröger a écrit :
It is.
Here it is :
Cut here------------------
[Default] name=K.Christophe
[Python] ifp=if %cursor%:\npass
Cut here------------------
The file itself looks fine at least there doesn't seem to be any syntax errors. But you never defined a auto completion for "for". So when you try to autocomplete "for" you should also define it as an auto completion. You can only auto complete these words which you have defined in the auto completion file. So, instead of trying it with "for", try it with "name" and it might work.
Hi Enrico,
did you really think I've made such a mistake ? It could happen but... Before I simplify my autocomplete.conf file, I've tried with 'for', and all the others.
With the modified one, I just got nothing with 'name' of 'ifp'.
Regards, Enrico
Cheers, Kib.
On Thu, 18 Oct 2007 14:06:12 +0200, kib2 kib2@free.fr wrote:
Enrico Tröger a écrit :
It is.
Here it is :
Cut here------------------
[Default] name=K.Christophe
[Python] ifp=if %cursor%:\npass
Cut here------------------
The file itself looks fine at least there doesn't seem to be any syntax errors. But you never defined a auto completion for "for". So when you try to autocomplete "for" you should also define it as an auto completion. You can only auto complete these words which you have defined in the auto completion file. So, instead of trying it with "for", try it with "name" and it might work.
Hi Enrico,
did you really think I've made such a mistake ? It could happen but...
I'm sorry. I'm just confused and a bit clueless what's going on there. Just want to help you.
Regards, Enrico
Enrico Tröger a écrit :
I'm sorry. I'm just confused and a bit clueless what's going on there.
I've not been hurt, no problem :) It could have happened.
Just want to help you.
I know you're a kind person :) : thanks again for your help. I really don't know where to find some clue to my problem...maybe in waiting for the next version ?
Regards, Enrico
Regards, Kib.