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
Hi Lex,
Sorry for my late reply -- I just turned on Digest mode so it took a
while to see your message.
1. I have Geany 1.23, Ubuntu 12.04. Yes, my file is .py
I went into Geany and did these extra things: Turn off "Tab key indents"
in Indentation, Turn on "Snippet completion" in Completions.
Still, when I hit a tab key, it just inserts white spaces (sometimes 1,
sometimes 4/tab).
2. What's the best way to raise interest in a feature like Code minimap?
I looked at the Feature Request page on SourceForge and they seem to
request mainly support for miscellaneous language. Whereas some of the
slick Sublime-like features (minimap, multiple cursors, put both quotes
around a highlighted word) would seem to be universally appealing.
Thanks, - Anh
> Hi all, I recently stumbled upon Sublime Text 2 and was pretty
> impressed with its Snippet completion and Code minimap. I'm delighted
> to find out that Geany has snippet as well, but hitting Tab (my
> snippet completion keybinding) does not do anything for me... I did
> reload configuration + close/restart Geany From my snippets.conf
>> # Optional keybindings to insert snippets
>> # Note: these can be overridden by Geany's configurable keybindings
>> [Keybindings]
>> #for=<Ctrl>7
> There is also the appropriate section for Python snippets
>> [Python]
>> for=for i in xrange(%cursor%):\n\t
>> if=if %cursor%:\n\t
>> elif=elif %cursor%:\n\t
>> else=else:\n\t
>> while=while %cursor%:\n\t
>> try=try:\n\t%cursor%\nexcept Exception, ex:\n\t
>> with=with %cursor%:\n\t
>> def=def %cursor% (%cursor%):\n\t""" Function doc """\n\t
>> class=class %cursor%:\n\t""" Class doc """\n\t\n\tdef __init__
>> (self):\n\t\t""" Class initialiser """\n\t\tpass
> The second issue is that I'm wondering if there's code minimap planned
> for Geany? I'm surprised that Google only turns up one such request.
>
> Thank you all,
> Best regards,
> - Anh
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 1 Dec 2013 13:01:58 +1100
> From: Lex Trotman <elextr(a)gmail.com>
> To: Geany general discussion list <users(a)lists.geany.org>
> Subject: Re: [Geany-Users] Snippet completion not working + is code
> minimap planned?
> Message-ID:
> <CAKhWKDNddqYwBybv3FawZWmKUUtq4H-mO0hyO83ogE0vJrfrpw(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On 1 December 2013 11:43, Anh <ale(a)colgate.edu> wrote:
>
>> Hi all,
>>
>> I recently stumbled upon Sublime Text 2 and was pretty impressed with its
>> Snippet completion and Code minimap.
>>
>> I'm delighted to find out that Geany has snippet as well, but hitting Tab
>> (my snippet completion keybinding) does not do anything for me... I did
>> reload configuration + close/restart Geany
>>
> What version of Geany? What operating system? So you type for<tab> and
> nothing happens? Is the window you are in a Python filetype?
>
>
>> From my snippets.conf
>>
>>> # Optional keybindings to insert snippets
>>> # Note: these can be overridden by Geany's configurable keybindings
>>> [Keybindings]
>>> #for=<Ctrl>7
>>>
>> There is also the appropriate section for Python snippets
>>
>>> [Python]
>>> for=for i in xrange(%cursor%):\n\t
>>> if=if %cursor%:\n\t
>>> elif=elif %cursor%:\n\t
>>> else=else:\n\t
>>> while=while %cursor%:\n\t
>>> try=try:\n\t%cursor%\nexcept Exception, ex:\n\t
>>> with=with %cursor%:\n\t
>>> def=def %cursor% (%cursor%):\n\t""" Function doc """\n\t
>>> class=class %cursor%:\n\t""" Class doc """\n\t\n\tdef __init__
>>> (self):\n\t\t""" Class initialiser """\n\t\tpass
>>>
>> The second issue is that I'm wondering if there's code minimap planned for
>> Geany? I'm surprised that Google only turns up one such request.
>>
> No, its not planned. Its probably implementable as a plugin if somebody
> wants to do it.
>
> Cheers
> Lex
>
>
>> Thank you all,
>> Best regards,
>> - Anh
>> _______________________________________________
>> Users mailing list
>> Users(a)lists.geany.org
>> https://lists.geany.org/cgi-bin/mailman/listinfo/users
>>
>>
Hello Geany users,
I have just installed Geany on Ubuntu and when I open the preferences I
have tab General, Interface, ..., Various but after Various* I do not have
the Terminal tab (see image below)*, which is what I wanted to access to
paste and copy commands to the terminal to execute small pieces of code.
Have I made a mistake in installing geany (i used on the command line: sudo
apt-get install geany)
Thank you very much for help.
Best regards,
marco
[image: Inline image 1]
Hello everyone,
I might just be being dense, but I can’t seem to find any hard info
about this, so I’ll just throw it out there.
Suppose I’m writing a function such as the following C/Java-ish
pseudocode (the spurious symbols will be explained in due course):
void some_function(int foo, double spam)
{
int pointless_var = 0xD00D; *[1]*
while (HELL_HASNT_FROZEN_OVER) {
if (some_condition) {
do_something(); *[2]*
}
else {
do_something_else(); *[3]*
}
}
return;
}
Now, what would be useful is, to give some concrete examples, when the
cursor is at position *[1]*, everything between some_function’s braces
would be highlighted in some way, say with a slightly off-white
background; at position *[2]* everything between the if statement’s
braces would be highlighted, and at *[3]* — you guessed it — everything
within the else block would be highlighted. In other words, the extent
of the scope of declarations would always be highlighted.
Would it be possible in any way to extend the brace matching
capabilities of Geany to make anything like this possible? Of course, in
some languages scope is more complicated than “everything between a {
and a }” but even something this simple and stupid would be useful in a
lot of cases.
I should point out that this was prompted by me writing quite a lot of
Lisp, and occasionally getting ‘Lost In Silly Parentheses’, but I
presented a C-esque example for the benefit of anyone who would rather
eat their own toenails than program in Lisp.
Anyway, just wondering if the various components of Geany can be
persuaded to make something like this possible, whether that means me
writing a patch or something else.
James
--
"Unix is the worst computer operating system, except
all the others that have been tried."
Since installing Ubuntu 13.10 when I select File -> New(with template)
no template list is exposed to select from. It just exits without any
action.
The Geany version is showing 1..23.1
I use a separate /home partition so my customisation is preserved across
re-installations.
Where to next please?
Bob Parker
when code is folded a black horizontal line is drawn across the text
window and there does not seem to be any way to change its color
either in preferences or "filetypes" files though the text window
background color can be changed, which is a problem if for instance
the chosen background is dark
can the Scintilla message SCI_STYLESETFORE be used by a macro to
change the fold line color? will this have other side effects or
override "filetypes" colors? why does the "filetypes" file not support
styling of the fold line which kind of limits the validity of the
background color styling feature that is provided?
I've been using Geany for some time. I have a windows binary install on
my desktop which works great. However, recently when I print a file the
dialog box pops up showing "Preparing nnnn" where nnnn is a very rapidly
incrementing number. When I try printing anything, even a short 25 line
file, it runs into the tens of thousands of nnnn before I cancel it. I
can get NO printing out.
Now, printing used to work fine with prior versions. I've re-installed
and even re-installed the gtk+ package, all without any change.
Just thought I'd ask and see if anyone else had some across this and if
so how they resolved it. In the mean time I will try reverting back to
an older version.
Thanks
Hi all,
I recently stumbled upon Sublime Text 2 and was pretty impressed with
its Snippet completion and Code minimap.
I'm delighted to find out that Geany has snippet as well, but hitting
Tab (my snippet completion keybinding) does not do anything for me... I
did reload configuration + close/restart Geany
From my snippets.conf
> # Optional keybindings to insert snippets
> # Note: these can be overridden by Geany's configurable keybindings
> [Keybindings]
> #for=<Ctrl>7
There is also the appropriate section for Python snippets
> [Python]
> for=for i in xrange(%cursor%):\n\t
> if=if %cursor%:\n\t
> elif=elif %cursor%:\n\t
> else=else:\n\t
> while=while %cursor%:\n\t
> try=try:\n\t%cursor%\nexcept Exception, ex:\n\t
> with=with %cursor%:\n\t
> def=def %cursor% (%cursor%):\n\t""" Function doc """\n\t
> class=class %cursor%:\n\t""" Class doc """\n\t\n\tdef __init__
> (self):\n\t\t""" Class initialiser """\n\t\tpass
The second issue is that I'm wondering if there's code minimap planned
for Geany? I'm surprised that Google only turns up one such request.
Thank you all,
Best regards,
- Anh