I am evaluating Geany, as I am moving my main development environment from win
to linux (finally!). In windows, I used and loved MultiEdit.
I think that Geany seams to be in line what I expect and like from an editor.
I mostly care about a lean 'C' editor.
So;
As far as I can understand, there's no keyword autocompletion. With this I
mean e.g. that I type "wh" and hit space, where the editor exanps the keyword
and builds the construct, such as:
while ( )
{
}
.. or similar.
I understand that the functionality is almost there, by instead use TAB, but
only once the full keyword has been entered. i.e. while<TAB> builds the
construct.
Have I understood this correct?
If so;
I also realise that snippets could be enhanced to do this, if there would be
an optional accept length?
e.g: "accept keyword min len lookup = 2" would give the correct key-word
expansion after at least wh and TAB where entered. (Obviously whi<TAB> would
also work)
Is there any thoughts/work in this direction?
Thanks,
- Micael
After using Geany for a while, I run into trouble with the Geanys philosophy of indentation.
Geany use the tab key and tab character to do its indentation. The tab with is setup globally for all types of files.
Whats the reason for using a tab to indent a line?
I must say I hate it and it is really hard to live with it.
Is it possible to tell Geany to indent using an "indent width" (on a filetype base!) and than (optionally) replace multiple spaces with tabs?
I'm a long time emacs user and its auto formatting capabilities are unbeatable. So it's really hard to switch...
--
Email: Joerg Desch <jd DOT vvd AT web DOT de>
Dear Geany-devs,
I like Geany and I especially like the fast pace of improvements and
addition of cool features! What I don't like is that the plugin API seems
to change quite often and thus breaks my most favorite plugin: geanyprj...
;(
Can somebody help me with getting geanyprj to compile again?
The error:
<...>
geanyprj.c: In function 'reload_project':
geanyprj.c:55: error: 'struct DocumentFuncs' has no member named
'get_cur_idx'
geanyprj.c:63: error: 'project' undeclared (first use in this function)
geanyprj.c:63: error: (Each undeclared identifier is reported only once
geanyprj.c:63: error: for each function it appears in.)
geanyprj.c: At top level:
geanyprj.c:121: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'geany_callbacks'
geanyprj.c: In function 'plugin_init':
geanyprj.c:133: error: invalid type argument of '->'
geanyprj.c: In function 'plugin_cleanup':
geanyprj.c:149: error: invalid type argument of '->'
geanyprj.c:155: error: 'project' undeclared (first use in this function)
-tnx!-
Harold.
Hey all,
since there were a couple of requests during the last days, here is a
short summary about Geany and GVFS.
As you probably know, GVFS, the successor of gnome-vfs but without
hard gnome-dependencies, is available on most modern distributions and
provides the possibility to open/save/edit/delete files on remote
servers (ftp, ssh, smb, obex, webdav and some more). And it's working
quite good, AFAIK.
The present:
-----------------
Currently you need to GVFS' fuse backend to edit files remotely with
Geany. This means, you need to have FUSE installed and it must be
working (i.e. the kernel module must be already loaded), you must have
installed the GVFS FUSE daemon("gvfs-fuse-daemon") and then you connect
to a server using GVFS (e.g. with nautilus or for non-Gnome users with
'gvfs-mount URI' [1]).
If the connection was successfully established, you will find a new
subdirectory in ~/.gvfs/ with the name of the connection. In this
subdirectory the remote filesystem can be found and accessed with Geany
like any other local file.
This should work in most cases and without problems.
But you won't see the connected servers in the file open dialogue
directly.
Hint: when actively working with remote files, especially when
connected over a slow connection or to slow servers, it might be a good
idea to disable the disk check timeout in Geany's preferences dialogue
(only in for Geany's SVN version) or increase the timeout value.
Otherwise it might happen that the GUI may become a little
unresponsively because Geany checks by default every 30 seconds for
file changes to notify you.
The future:
---------------
Once GTK 2.14 is released, there will be native support for GVFS in
GTK. This means you can then see GVFS connections in the GTK file open
dialogues in apps which support this.
Geany will probably support this too although we won't support GVFS
directly, at least not in the near future. Instead, we will indirectly
add GVFS support. Geany's file open/save dialogues will present the
GVFS mounts and you can browse them to open/save files but Geany will
download the remote file, save it locally and send it back to the
server when you save the file. This will probably happen completely
transparent so you won't notice this at all.
The reason for this indirect support is that it does requires less
changing in the current code, so there are probably less new bugs and
the code stays more maintainable and compatible with older GLib/GTK
installations (GVFS is only available with GLib version 2.16+, not all
users already have it). Another reason for the indirect support is that
we don't have to convert/rewrite the tagmanager/ctags code which
also can't handle GVFS URIs.
In the long term, full GVFS support is desired and probably will come
at some day.
[1] Use 'gvfs-mount URI' to mount remote filesystems. URI might be
something like:
ftp://username@ftp.server.tld/
sftp://username@server.tld
Regards,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.asc
Hello all.
We've got an student apprentice for 8 weeks. He should learn to program
embedded devices. So I've installed the latest Geany (geany-0.15svn_r2604_setup.exe) together with avr-gcc.
My "problem" is, that a make triggered by S-F9 (make all) opens a CMD windows. Isn't this fixed? How can I get the error messages passed to geany?
--
Email: Joerg Desch <jd DOT vvd AT web DOT de>
Hi to all.
I am newbye in geany and non't know c/c++ language. So I don't know how to build geanylua plugin for geany. Can anybody explane it for me?
There is geanylua-0.7.0.tar.gz.sig file and some tarballs of geany (0.14 and svn).
--
Andrey <oreshka.v.more(a)gmail.com>
Something that I have used extensible in my windows favorite editor MultiEdit,
is a snippet kind of functionality, that allows me to write "func" (or up to
the full word "function") to build a function comment. Typical, I like it to
build something like this;
/*-----------------2005-05-31 13:22-----------------
* Function: spi_setup()
* Description: Initialization of the spi interface
* prior to making use of any resource.
* Normally called from startup code.
* Author: MBe
* Arguments: -
* Returns: -
*------------------------------------------------*/
As a snippet could do this, I am relieved and excited. But can I put the
(current) date in the snippet? How would I do this?
Thanks,
Micael
Hi
I'm running Ubuntu 8.04 and have recently installed Geany 0.13. For the first day that I used it every thing worked fine including the snippets but since then no luck. I checked Keyboard shortcuts and Complete snippet is still Tab. The geany.conf has complete_snippet=true but if type something like 'if' then <Tab> then all I get is, if followed by a Tab.
Can you suggest how I can get the snippets working
Thanks
Glenn
ps. If this message appears more than once it was because I didn't subscribe properly.
_________________________________________________________________
Meet singles near you. Try ninemsn dating now!
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fdating%2Eninemsn%2Ecom%2Eau…