Hi
Here is plugin for geany that we worked on for about month. It works only with latest SVN version of geany.
geanyvc is plugin that provides a uniform way of accessing the different version-control systems inside Geany IDE. Only small subset of vc is implemented:
GIT, Subversion, SVK:
* diff file
* diff directory
* diff project
* log file
* log directory
* log project
* status
* revert file
* add file
* remove file
* commit
CVS:
* diff file
* diff directory
* diff project
* log file
* log directory
* log project
* status
* revert file
Download it here:
http://users.cosmostv.by/yurand/geanyvc/geanyvc-0.1.tar.gz
web page for the plugin:
http://users.cosmostv.by/yurand/geanyvc/
Comments, patches are welcomed.
Have fun.
Best regards,
Yura Siamashka
Hello
I just noticed that Geany adds symbols to the symbol list, even though
the "symbol definition" is in a comment.
Example:
/**
* This function adds one number to another
*/
Will add "adds" to the symbol list.
Thank you for a great editor.
-Matti
Hallo.
I am Diego from Argentina.
I want to congratulate the dev teams for these project.
I am a big fan on light and portable programs and geany almost perfectly
suit my needs.
I am a user of windows and linux, and i need the same programs to run in
both. Also i believe that good portable programs help the normal user to try
linux.
I see on geany a great potential together with glade to build gtked portable
applications in any languaje, also becouse there is no other really light
portable ide. A time ago it was codeblocks, but the nigthly builds are too
heavy and requires a project to be made.
I need to ask, when will be full compilation supported on windows ( XP ).
What is required besides MinGW or MSYS ? Isn't it just calling gcc from a
command line?
I will like to see in the future tools to help in programming with gtk,
GLib, python, etc. like full autocompletion with all the functions and
methods gtk provides.
Cheers.
Hi,
since SVN r2093, Geany stores some more document-specific attributes
per session. This means, Geany will "remember" the filetype, the cursor
position, the read-only state, the used encoding, the use-tabs-setting,
the auto indentation setting and the line wrapping state per file which
is saved in the session. This affects also the project session files.
But this also means, your current session will be lost when starting
Geany the next time because the format of the saved session files has
changed. Sorry for that.
But especially saving the used encoding should increase the startup
speed of Geany slightly when non-UTF8 files are used(Geany doesn't
have to detect the file encoding again on startup but just read it
from the config).
Another new feature is the possibility to specify a file encoding in
the file itself to help Geany using the right one. This is useful for
e.g. files encoded in ISO-8859-15 which are mostly detected as
ISO-8859-1. There are some other encodings which are not detected
correctly. Geany scans for HTML meta tags like
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-15" />
and for Geany specific lines like
# geany_encoding=ISO-8859-15 #
geany_encoding must follow one or more whitespace characters and must
be followed by one or more whitespace characters. Other rules to get it
detected properly are mentioned in the manual[1].
For anyone interested, the used regular expression is:
"[\t ]geany_encoding=([a-z0-9-]+)[\t ]"
(if anyone can imrpove it, just tell me)
Basically, we could also add a regexp to scan for VIM's modelines(IIRC
there is a flag "fenc" for the file encding) but one have to write the
regexp ;-).
[1]
http://geany.uvena.de/manual/index.html#in-file-encoding-specification
Regards,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.key
I just noticed a little quirk with the "Follow path of current file"
option for VTE.
Consider this...
1. Open a file in your $HOME directory.
2. Open another file from some other directory.
3. In vte, type "echo" followed by a space, but don't press return.
4. Click the on the tab of the first file you opened.
The resulting command is "echo cd /home/username"
Now imagine if you had typed "rm -rf " instead of "echo "
Yikes!
Maybe it would be safer to only issue the cd command if there
is no other text on the command line. I skimmed through the
vte headers and the only thing I see that might work is to
call vte_terminal_get_cursor_position() first, and check to
make sure the column value is zero.
- Jeff
Hello, sorry if this has been discussed before, there has been so many
mails since a few days that I have not been able to read them all deeply.
First, thanks for the filebrowser plugin which is really useful !
There is a small display bug in the adresse bar of the plugin : when you
browse to / then browse under child directories, you can see 2 slashes
at the beginning of the path. This has no effect on the files and does
not occur when you "stay" in your home directory.
Secondly I'd like to request a change : it would be nice to be able to
enter a path to a directory/file by hand using the adress bar. In fact I
first thought it was possible until I tried :-)
Thanks.
Dear devs,
I have (again) a few minor things that should be fixed over time. I work
mostly with php files.
1) The scope is only functional when the file is freshly saved (else it's
'unknown')
It would be cool if Geany would automatically refresh the scope info (and
symbol list) every X seconds or upon change.
2) The scope is not based on the beginning of the function declaration, but
after the declaration's {. Inserting a function description when you cursor
is at %cursor%
function other_function() {
// do stuff
}
function my_function %cursor% {
// do stuff
}
...will add a description to 'other_function()'.
3) The function description is added with '<?php' and '?>' tags, which
corrupts the php file.
4) It would also be cool if the command would also detect the input
variables and add them to the description
Cheers!
-H-
Dear Devs,
The 'Files' sidebar rules! Fast, simple, cool!
One small request, though: "Right-click -> Open in file manager". This way
i can delete, rename, copy, etc the file(s) in my favorite file manager...
When right-clicking on a file, open the containing folder and when
right-clicking on a directory, open that directory...
-H-