I recently started using Geany and I must say that I was rather impressed with it. It's slick and professional looking; I love it.
I noticed that it uses scintilla. When I use Scite I hit Ctrl-Enter to receive a list of possible candidates for completing my word (in this case, a variable that I created in C++). However, when I try this in the default package that comes with Ubuntu Edgy, the most recent release, or the version in Subversion I get an empty list. I delete all of geany's files between each install, to include all of the related files in my home.
Is this intended behavior or is this a bug? Is there a way to fix this? I tried searching through the docs and looking through the config to no avail.
Thanks, Michael Lynch
p.s. admins, hope I didn't spam you too much with my canceled waiting-to-be-moderated e-mails. This is my first post to a mailing list and as such, I'm not exactly mailing list savy. Sorry about that.
On Tue, 23 Jan 2007 21:09:19 -0500, Symgeosis symgeosis@gmail.com wrote:
Hi,
I noticed that it uses scintilla. When I use Scite I hit Ctrl-Enter to receive a list of possible candidates for completing my word (in this case, a variable that I created in C++). However, when I try this in the default package that comes with Ubuntu Edgy, the most recent release, or the version in Subversion I get an empty list. I
Ctrl+Enter gives you a list of known global variables and preprocessor macros. From the docs, section keybindings: "Shows a list of available macros and variables in the workspace." What you are searching for should be Ctrl+Space which shows a list of known function declarations. This list should also open when you start typing the beginning of the function name(it starts at the fourth character). If this doesn't work too, please give us some more information(mainly a piece of your code to test).
p.s. admins, hope I didn't spam you too much with my canceled waiting-to-be-moderated e-mails. This is my first post to a mailing list and as such, I'm not exactly mailing list savy. Sorry about that.
No problem, your cancel requests seemed to work because I got no mail from the mailing list software.
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.key
What you are searching for should be Ctrl+Space which shows a list of known function declarations. This list should also open when you start typing the beginning of the function name(it starts at the fourth character).
Auto-complete lists all of the GNOME devel stuff that I have installed (whether or not I include them in my source), however, it doesn't work for my own local variables that I have included in my test program, in this instance a simple integer variable. I had already tried both ctrl-enter and ctrl-space, I just assumed that the behavior would be the same as that of Scite. Thanks for the suggestion though, it's appreciated none the less.
If this doesn't work too, please give us some more information(mainly a piece of your code to test).
My code really isn't worth posting; I was using a simple "Hello World"-esque program just to compare various editors. However, I have included it per your request.
Any suggestions would be helpful.
Cheers, Mike Lynch
#include <iostream> using namespace std;
int main() { int BobDole = 5; cout << BobDole; return 0; }
On Sat, 27 Jan 2007 00:36:45 -0500, Symgeosis symgeosis@gmail.com wrote:
What you are searching for should be Ctrl+Space which shows a list of known function declarations. This list should also open when you start typing the beginning of the function name(it starts at the fourth character).
Auto-complete lists all of the GNOME devel stuff that I have installed (whether or not I include them in my source), however, it doesn't work for my own local variables that I have included in my test program, in this instance a simple integer variable. I had already tried both ctrl-enter and ctrl-space, I just assumed that the behavior would be the same as that of Scite. Thanks for the suggestion though, it's appreciated none the less.
If this doesn't work too, please give us some more information (mainly a piece of your code to test).
My code really isn't worth posting; I was using a simple "Hello World"-esque program just to compare various editors. However, I have included it per your request.
And it helps to get nearer to the problem. You are talking about variables in functions. I was talking about function names and *global* variables. Geany doesn't support local variables like BobDole in your example. Is this really useful?
Maybe someone want to write a patch to get local variables to work but as a separate auto complete list(like the macro list). I won't wok on this, sorry.
regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.key Geany, a lightweight IDE using GTK2 - http://geany.uvena.de