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
Hello Lex,
Thanks for the info. I'm planning to use phpCodeSniffer as a start. It's a command line tool that outputs errors and warnings about coding style after reading the PHP code. It's syntax is something like this phpcs file.php.
I wanted to create a more easy to use interface for this, maybe a plugin or something, that outputs such checks, once enabled, in the Geany warnings or something. I use the built-in terminal to check my code with phpcodesniffer, phpunit and other tools, but it's quite a pain to change everything once in a while.
ps.: Can i write a plugin to create more than one built-in terminal screens, with pre-scripted commands? For example, automatically create a built-in terminal window that runs the following command: watch -n 1 php FILE_BEING_EDITED.php (great debugging)
----- Original Message -----
From: Lex Trotman
Sent: 08/02/11 09:26 PM
To: Geany general discussion list
Subject: Re: [Geany] Warnings and Errors in Geany
On 3 August 2011 06:21, Vincent P. Ellis <vincent(a)linuxmail.org> wrote: > Is there a plugin, or a built-in feature i missed, where i can have Warnings > and Errors checked for my code in Geany? I'm trying to attach > PHP_CodeSniffer to Geany and output the warnings and errors directly in the > window. > Hi Vincent, Only commands run from the build menu compile or make sections are checked for errors by regex or fallback to HHH (hairy hardcoded heuristics). Detected error lines are marked and the message in the message window is red and is a link to the source line. I'm not a PHP programmer so I don't know what the tool you mention does but if its anything like a compiler or lint program then add it to the filetype section (see the manual). Cheers Lex > Vincent Ellis > C/C++ Technician > vincent(a)linuxmail.org > El Paso, TX > _______________________________________________ > Geany mailing list > Geany(a)uvena.de > https://lists.uvena.de/cgi-bin/mailman/listinfo/geany > > _______________________________________________ Geany mailing list Geany(a)uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
Vincent Ellis
C/C++ Technician
vincent(a)linuxmail.org
El Paso, TX
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. is it possible to replace something like this:
ololo = 0
wololo = 0
trololo = 0
into something like this:
ololo = 1
wololo = 2
trololo = 3
with geany regexp replacement?
I tryed selecting column of zeroes and apply custom function: awk '$1=++a',
but it didn't work really well:
ololo = 1
2
3
wololo =
trololo =
so, is there a way to do this with regexp replace?
--
View this message in context: http://geany-users.466218.n3.nabble.com/geany-regexp-replace-tp3379814p3379…
Sent from the Geany-Users mailing list archive at Nabble.com.
Good day.
I'm trying to build geany-plugins 0.20 from official distribution w/o
success: http://plugins.geany.org/geany-plugins/geany-plugins-0.20.tar.gz
The first problem is, that this distribution lacks this files:
geany-plugins-0.20\build\__init__.py
geany-plugins-0.20\build\wafcache.py
geany-plugins-0.20\build\wafutils.py
Ok, i'm copying them from your git repo, then try to execute ./waf
--help. It complains like this:
# ./waf --help
[...]
File
"/usr/ports.orig/devel/geany-plugins/work/geany-plugins-0.20/wscript",
line 207, in options
{ '1' : plugins[0], '2' : plugins[1] }, dest='enable_plugins')
IndexError: list index out of range
Ok, i'm patching it like this:
opt.add_option('--enable-plugins', action='store', default='',
- help='plugins to be built [plugins in CSV format, e.g.
"%(1)s,%(2)s"]' % \
- { '1' : plugins[0], '2' : plugins[1] }, dest='enable_plugins')
+ help='plugins to be built', dest='enable_plugins')
opt.add_option('--skip-plugins', action='store', default='',
help='plugins which should not be built, ignored when
--enable-plugins is set, same format as --enable-plugins',
dest='skip_plugins')
Then try to execute:
# ./waf configure --enable-plugins=spellcheck,geanysendmail
[...]
Plugins to compile : spellcheck geanysendmail
'configure' finished successfully (0.371s)
All is fine. Trying to build:
smeshariki3# ./waf build
Waf: Entering directory
`/usr/ports.orig/devel/geany-plugins/work/geany-plugins-0.20/_build_'
No wscript file in directory
/usr/ports.orig/devel/geany-plugins/work/geany-plugins-0.20/spellcheck
So it doesn't create wscript's for plugins for some reason. Can please
anybody investigate this? Since right now this distribution is unusable.
Thanks. I'm open to any tests.
--
Regards,
Ruslan
Tinderboxing kills... the drives.
Just wanted to say hello (again) from the UK.
Geany is my most favourite text editor on Linux, and I'd like to
contribute to the Geany community to give something back. So if
there's any front end web dev needed, give me a shout.
cheers, Jake
Hello Frank,
I would expect that two weeks after 29/9 is somewhere around October
13th,
as a string freeze for the plug-ins?
Peter Scholtens
On Sat, 2011-09-17 at 09:00 +0000, geany-request(a)uvena.de wrote:
>
> P.S. As we are used to on previous releases also the combined
> geany-plugins project will have a new stable release. Its currently
> scheduled two weeks after Geany 0.21 with a string freeze around
> October, 1st. If you like to provide also some translation for, it
> would be much appreciated. ;)
Hi translators and friends of Geany,
Time is passing by and it's time for doing a new release of Geany!
To manage all translation coming in in time we are having a string
freeze for upcoming Geany 0.21, which will be release around October,
1st.
The list of changes done for this release is long, but number of new
and changed strings isn't that huge. How I like to ask all translators
to check the translations so we really could put in updated
translations files into the new release and make to the best release we
ever had.
I'd be very happy if you could send a patch or complete file with
translation to either the geany-i18n mailing list or direct to me
within the next two weeks so we can include it to the next release.
Deadline will be 2011-09-29.
To make it more easy for you I've already uploaded updated versions of
the po files to svn with r5929. You can access them as always at
http://geany.svn.sourceforge.net/viewvc/geany/trunk/po/
or by checking out the svn tree of Geany by using e.g.
svn co https://geany.svn.sourceforge.net/svnroot/geany/trunk geany
Fans of git can also use the interface provided by http://git.geany.org
by using
git clone http://git.geany.org/git/geany
Also at http://i18n.geany.org/ are statistics and daily updated files
available.
As mentioned before, we are trying to have all translations complete by
2011-09-29.
If your language was translated by two or more in past, please double
check directly with them or by pinging me, so we don't need to
translate same things two or three times. Also please feel to ping me
for every question or if you like to start a new translation for an
unsupported language.
Thanks and happy translating ;)
Frank
P.S. As we are used to on previous releases also the combined
geany-plugins project will have a new stable release. Its currently
scheduled two weeks after Geany 0.21 with a string freeze around
October, 1st. If you like to provide also some translation for, it
would be much appreciated. ;)
--
http://frank.uvena.de/en/