I wonder if it's possible to insert in multiple places within a
snippet the same string? For example, I have a snippet which inserts
some HTML code that refers to an image and I use the description of
the image in two places within the same snippet. As I understand the
manual, you insert "%cursor%" anywhere that you want the cursor to
jump to so that the user can insert text. If I enter a title for an
image in my example snippet I would prefer to have that also inserted
elsewhere in the same snippet.
--
Russell Dickenson
A gentleman called simon posted that editing the filetypes.python file
in the fildefs folder would get pylint working in geany on linux.
How would the format of the PYTHONPATH statement need to be in
windows XP & 7 so that pylint would work. I tried a couple of variants
but could not get anything to work.
This was the code post.
[build-menu]
FT_00_LB=pep8
FT_00_CM=pep8 --repeat --count "%f"
FT_00_WD=
FT_01_LB=PyLint (basic)
FT_01_CM=PYTHONPATH=${PYTHONPATH}:"%d" pylint
--output-format=parseable --reports=n --errors-only "%f"
FT_01_WD=
FT_02_LB=PyLint (full)
FT_02_CM=PYTHONPATH=${PYTHONPATH}:"%d" pylint --output-format=parseable "%f"
FT_02_WD=
error_regex=^([^:]+?):([0-9]+):.+
Sayth
Hi,
It seems there's no way to start geany to open a file in a "read-only"
mode.
Would it be a lot of work to add such a command line option? Don't
bother if it is. :-)
Regards,
ST
--
Hi,
As I couldn't find out if someone already build such a file here is
(enclosed) my javascript tags file to enable javascript auto-completion ...
Alternative link : http://dl.yent.eu/em.js.tags
I extracted stuff from the W3C JS/DOM reference so it does not include
jquery/dojo and such related tags (personally I don't need them) but
since it is really easy to add other tags ...
Btw once more I really love geany's flexibility when it comes to
customization ...
Etienne
Hi, guys,
i've just switch from packaged geany to svn. My --prefix=$HOME and
everything builds and installs fine. When i start up now i'm seeing:
20:13:02: This is Geany 0.21 (svn >= r5864).
20:13:02: The plugin "/usr/lib/geany/classbuilder.so" is not binary
compatible with this release of Geany - please recompile it.
20:13:02: The plugin "/usr/lib/geany/geanydoc.so" is not binary compatible
with this release of Geany - please recompile it.
20:13:02: The plugin "/usr/lib/geany/geanygendoc.so" is not binary
compatible with this release of Geany - please recompile it.
20:13:02: The plugin "/usr/lib/geany/geanygdb.so" is not binary compatible
with this release of Geany - please recompile it.
20:13:02: The plugin "/usr/lib/geany/geanyvc.so" is not binary compatible
with this release of Geany - please recompile it.
20:13:02: The plugin "/usr/lib/geany/splitwindow.so" is not binary
compatible with this release of Geany - please recompile it.
...
note the /usr/lib, though it's compiled with --prefix=$HOME.
i've verified that the running binary is the one i installed:
stephan@tiny:~/cvs/geany$ ps -ef | grep geany
stephan 2275 1 3 20:13 ? 00:00:05 /home/stephan/bin/geany
What's the proper way for me to fix/work around that (i don't mind
rebuilding if needed).
--
----- stephan beal
http://wanderinghorse.net/home/stephan/
Hi, all,
i recently got into the unusual (for me) situation that i have the same
project checked out twice on the same machine - one for our
"production/live" environment and the one where i hack. My geany project
file uses (i found out accidentally after i hosed a production web page)
absolute paths in the project files. This makes the files essentially
worthless in terms of committing them to source control, since they can only
be used on machines with the exact same dir structure (and they can't be
used twice on the same machine).
Is there an option to enable the use of relative paths in the project files?
(To be clear: i'm not blaming geany for hosing the web page. i shouldn't be
developing directly on that system, but am forced to for company-internal
logistical reasons. But i am growling at geany for opening a project file
under ~/myproject and having it edit pages under /var/www/...).
--
----- stephan beal
http://wanderinghorse.net/home/stephan/
Hi, all,
i recently upgraded my system from Ubuntu 11.04 to 10.10 (yes, backwards WAS
an upgrade) and with that i downgraded by geany. So... despite popular
current convention i'm building it from sources (just like in the good old
days...).
And now i'm curious about its plugin API. An idea came to mind, but before i
pursue it i'd need to know if the plugin layer could handle something like
this: an integrated db browser.
i recently wrote a DB abstraction API supporting mysql/sqlite:
http://fossil.wanderinghorse.net/repos/cpdo/http://code.google.com/p/v8-juice/wiki/JSPDO (javascript bindings for Google
v8 JS engine)
and i think this might be a useful addition in the form of a plugin.
--
----- stephan beal
http://wanderinghorse.net/home/stephan/
Hi, all!
i was just bitten quite badly by a geany behaviour and wanted to warn other
users about it...
The project files use absolute paths. That just let to me inadvertently
editing html/php files on a live webserver, when i _thought_ i was editing
those under my home directly (because that's where i opened the project file
from). When none of my changes were appearing in my browser, i started
poking around and found that i was editing files under /var/www/... instead
of under ~/public_html, even though my project file was opened from
~/public_html. (Yes, my account has write access to /var/www/..., though
that would normally not be the case and the error would have shown up when i
tapped Ctrl-S.)
So... when you have a project file checked into your source control and you
check it out two times on the same system (under different paths), then be
damned sure to modify them to have the correct paths (and not check it in,
or you break the other one). And make damned sure your coworkers who also
use that project file do the same.
Grrrr.
--
----- stephan beal
http://wanderinghorse.net/home/stephan/
Is there an option in geany to see every occurence of a word when
selected. So if I use CTRL+SHIFT+RIGHT to select a word can I see this
words occurrences throughout the file?
Sayth
Hi!
First: thanks all for Geany, it's really nice. It's speed and general
"lightness" are a nice change from e.g. Eclipse.
I wrote a very basic plugin that imports Git repositories (that are
already cloned) and displays them as clickable trees in Geany. You
also get a "Quick Open" command, which pops up a flat listing of all
files in the current document's repository and allows you to type to
filter.
I would love some feedback, even just knowing that it built and worked
for someone else would be helpful at this point.
The code is at <https://github.com/unwind/gitbrowser>.
Thanks,
/Emil