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
Hello, guys!
Yesterday I closed Geany with a certain file open. Then I modified
the file and it grew to about 50MB. When I opened Geany, it tried to
restore my session, but it would take forever, so I killed Geany and
deleted the line corresponding to that file from my session at
.config/geany. The problem is that, when I opened Geany again, my
session was OK, but my scribble notes disappeared! And I left some
important notes there! Any ideas on how to recover them? I haven't
closed Geany yet, so I still have some hope.
Thank you and best regards!
Teresa e Junior
I started using Geany for PHP development, working on Linux Ubuntu.Need help with setting to achieve the following:1- Setting up my working directory2- Setting up the target director (/var/www), the place where the target files will be copied to, once I finished a specific milestone, so the code will be available for usage3- How to do the above copy
ThanksYigal
Perhaps some of this applies to GTK, instead of Geany.
I am satisfied with the locations of the toolbar, sidebar, message window,
and the notebook tabs as I've configured them.
However occasionally I will temporarily like to move things around.
Currently there is limited flexibility to do so, and one has to access
preferences to do this.
I suggest the following features:
(1) Ability to move widgets around (like the side-bar) with snapping.
Things can always be locked in place to avoid annoyances due to accidental
moving.
(2) Autohide. I find this annoying myself generally. But I would find it
helpful in some circumstances. Again, autohide works best with an
"pin-in-place" button.
(3) Fading: I don't think I've seen this anywhere before, and hence might
be difficult to implement, but I think I'll find this very helpful. I
suggest that some/all widgets outside the editor be dimmed (low
contrast/brightness) at all times, but that they get lit up again when they
receive focus, or a mouse hover. I keep the sidebar visible always, and I
think fading it will reduce clutter. I need to look at the info on the
sidebar only when I'm intending to jump to another file/symbol. Likewise
for the notebook tabs, which I look at only when I'm switching tabs using
keyboard/mouse.
Thanks!
Niraj
Hi.
Yeterday I've found the "Vivify color scheme editor for Vim". This simple little page is really nice.
Are there some javascript experts out there, who are able to patch the functionality to work with geany? IMO that would a e great enhancement for the geany website.
http://bytefluent.com/vivify/
Regards.
--
Email: Joerg Desch <jd DOT vvd AT web DOT de>
Something I find very useful in Linux is the ability to highlight some
text and middle click paste somewhere else without having to do Ctrl C
then Ctrl V.
This doesn't seem to work in Geany. Is there some way I can enable it?
Hi all,
I recently installed AntiX-Linux on an old IBM Thinkpad and this was my first encounter with Geany, which is its default editor. The issue I have with Geany (version 0.21) is that I am not able to modify or change the colorscheme. I had a few looks into the manual and as far as I understood it (Apparently, I do not seem to have understood its section on styling very well), you would have to change the colors in the default styling section in the filetypes.common file to have a different background, font color, etc. I tried that with the help of the tool 'Color Chooser'. No modification had any effect on the look of Geany during my first shots at modifying the colorscheme. During the first tries I could tweak the highlighting settings for the current line in the editor, not any more, now it stays the same. The editor (I'm not talking about the toolbar) still keeps an ugly glaringly green/turquoise background with a font in a darker green (I can change the font type). What I did was pick a color in the 'Color Chooser' tool, say #87A7B1 and then put 0x87a7b1 in the place where I figured I had to put this value to the change the color. Was that wrong?
After each try I reloaded the configuration via 'Tools' > 'Reload Configuration' without any effect.
So I looked on the internet and all tutorials told me to apply changes to the filetypes.common configuration. What I do not understand, is that all the colors mentioned in filetypes.common have nothing to do with the colors actually used for the editor. The background should be white not green/turquoise and so on. What am I missing here?
Eventually I downloaded some sample colorschemes from Codebrainz' geany-themes on GitHub and installed them like recommended. That worked fine, I can select the colorscheme via 'View' > 'Editor' > 'Colorschemes'. In addition I linked the colorschemes menu in my HOME-folder ~/.config/geany to the 'central' folder under /usr/share/geany.
Unfortunately the installed colorschemes do not or only partially look like the screenshots I found on GitHub. Some barely differ from that green default, and all have green (There are different hues of green, it's not all the same sort of green) as the highlighting color for the current line. I grep'ed through all files on my system for the string #00FFFF, which 'Color Chooser' identified as that horrible default background, to find out where Geany got that color from, as it is not mentioned in filetypes.common. None of the places grep found had anything to do with Geany, as far as I can tell. That's a puzzle to me!
I tried to set a different colorscheme as the default in filetypes.common and geany.conf like tango.conf, say, but still the default scheme gets loaded with these weird green colors. Interestingly I had booted a Puppy Linux and looked into its Geany settings. The filetypes.common files seem to be identical, but on Puppy Linux, the font is black whereas the editor's background is white (As I would expect from the styling settings in filetypes.common. Modifying the styling on Puppy also didn't have any effect there.
By now I'm kind of lost, increasingly frustrated and I cannot resist doubts about my intellectual abilities anymore. So far I had successfully modified quite a few XML-files for window managers under Linux, but Geany's settings (These are not XML, I know) seem to escape me totally....
Thanks for your help,
Pascal