Hello everybody,
I've been happily using Geany for a little while now, coding mostly in
Python. I have a couple questions:
1. For a dark color scheme, eg Vibrant Ink, how do i get the active
line to not be highlighted. White text + white highlighting =
invisible text on the line I'm trying to edit. Arrgh!
2. Any debugger advice for python? I am finding winpdb is pretty slow
and actually crashes on my machine a fair amount.
I'm on a windows 7 64 bit installation.
Thanks!
--
A musician must make music, an artist must paint, a poet must write,
if he is to be ultimately at peace with himself.
- Abraham Maslow
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
Hello,
I just updated GTK+ to the lastest (and supposedly best ever) gtk for
windows.
Unfortunately, Geany doesn't work with it (worked fine with 2.24.0 which
was previously installed). It starts up, but exits before the UI is shown.
Geany -v is show a lot of 'assertion failed' messages (redirecting
stdout/err doesnt work because geany -v opens another window for debug
output). I can't paste it somewhere because the debug window is closing
shortly after appearing.
I hope it can be fixed. I sort of depend on Geany at work :(
Best regards.
Hello!
I'm evaluating Geany to replace present modest usage of (G)Vim for our
upcoming D project and some PHP (possibly some Python) coding.
Yesterday I saw a video aboout new version of Bluefish and its
context-sensitive (un)commenting and see that Geany is lacking here...
Let's say we have simple *.html file with the following snippet:
{{extend 'layout.html'}}
<script><!--
jQuery(document).ready(function(){
jQuery("table.sortable tbody tr").mouseover( function() {
jQuery(this).addClass("highlight"); }).mouseout( function() {
jQuery(this).removeClass("highlight"); });
jQuery('table.sortable tbody tr:odd').addClass('odd');
jQuery('table.sortable tbody tr:even').addClass('even');
});
//--></script>
(it's simple view from web2py project)
If I select part of the
jQuery(document).ready(function(){
line and select format --> comment, I get:
<!--
jQuery(document).ready(function(){
-->
The main problem appears if I want to uncomment this line, iow selecting
part of the
jQuery(document).ready(function(){
line does not remove comment around line?
Is it due the fact that Geany does not recognize there could be
different styles of comments within single file which is very prominent
in *.html files combining HTML/CSS/JS ?
Sincerely,
Gour
--
As the embodied soul continuously passes, in this body,
from boyhood to youth to old age, the soul similarly passes
into another body at death. A sober person is not bewildered
by such a change.
http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810
Hello
I'm programming in C using Geany. It creates well the object but
Geany doesn't run the program. Usually it doesn't create an
executable neither.
How can I have the executable?
How can I run the program with Geany?
Thanks!
Sylvia
I am trying to use the ./configure option to install geany 0.21 on ubuntu.
I am getting an error that the gtk dependencies aren't met. I think it may
just be the naming of the dependencies that is stopping it . Any idas on
how to get round it.
The error configure: error: Package requirements (gtk+-2.0 >= 2.12 glib-2.0
>= 2.16 gio-2.0 >= 2.16) were not met:
No package 'gtk+-2.0' found
However I searched and found that all were installed just in the name
format of gir1.2-gtk-2.0 (see below) the same holds true for glib and gio.
sayth@sayth-TravelMate-5740G:~/Downloads/geany-0.21$ sudo apt-get install
gir1.2-gtk-2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'gir1.2-gtk-2.0' for regex 'gir1.2-gtk-2'
gir1.2-gtk-2.0 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Any ideas how to make configure complete?
Sayth
Hi, I have a question about the external terminal in Geany. When you start your
compiled program, and it is complete, the terminal does not finish immediately,
but waits for pressing the "return". How is this done exactly? Thanks in advance
for your reply.
http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/04/gean…