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,
I'm switching from SciTE to Geany, as I feel features provided by Geany are
exact what I missed in SciTE
Thanks to dev team and special thanks to creator on Lua plugin, which made
my transition seamless :)
My problem is column selection mode. I'm used to hold Ctrl then point,
click and drag. This feature seems like buggy in Geany, most of time it
doesn't work.
I then found out that I can use Shift+Ctrl which works as expected, but I
first need to position cursor then do this selection, while if I use SciTE
I just point and drag without positioning first.
Is there better solution to this problem, that may be not so obvious to new
user?
TIA
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
Hi!
I saw that "Remove duplicate lines - simple?" item on the Plugin
wishlist, and thought I'd have a go at it this weekend.
The results are at <https://github.com/unwind/geanyuniq>, and I would
love some feedback.
There is a huge known issue: because I tried to be clever(TM) and
install the menu item in a suitable place (rather than just at the
bottom of the Tools menu), this will likely break for localized
versions of Geany. Not good.
My idea on how to fix that is to make it customizable where to insert
the menu, so the user can enter the properly localized text to search
for. Other ideas? Is it "by design" that it's so hard for plugins to
add commands to arbitrary locations within Geany's menus? The GIMP
does this differently, with an abstract "menu path" concept that makes
it portable and easy to add items wherever.
Ignoring the menu item issue, the command is by default bound to
Shift+Control+D, and always runs over the entire document, ignoring
(and actually removing) the selection. Does this make sense? Should it
run only over the selection, if one is present? It outputs a line of
text to the Status window saying how many lines were deleted (if any
were deleted), is that a good idea, or annoying/spammy?
Thanks!
Regards,
/Emil
Hi group,
here again with yet another SciTE question :)
In my global/user properties files I had this line:
style.*.33=fore:#404040,back:#DDD9D8,$(font.small)
which is "mapped" in Geany fileprops with this property:
marker_line=0x404040;0xDDD9D8;(bool);(bool)
so I can't make line-number font smaller - my main concern, or even
different font, or different font for comments etc.
In Geany it seems that everything has same font, defined in geany.conf:
editor_font=Droid Sans Mono 9
or selected from the menu. And additionally:
tagbar_font=Droid Sans 9
msgwin_font=Droid Sans 9
probably read from OS setttings.
Is there any way I can make line-number font smaller then editor font?
And also I'm curious if I missed some font setting in any configuration
file.
Cheers
Hello,
I'm using Geany since a while now and it covers many needs of mine,
so I would say it became my default ide so far.
I'm having a little problem in using it which is described in the feature requests
here
https://sourceforge.net/tracker/?func=detail&atid=1056535&aid=3163207&group…
As I noticed that over a year is already passed since the original post
without an answer apparently, I would like to know if this feature would be ever
been implemented, as sometimes it can cause a waste of time.
Otherwise, if this would be somehow complicated to add,
another idea could be to add the possibility to save the current session
in order to re-open it at a later time, like the extension called 'session manager' works for chromium
https://chrome.google.com/webstore/detail/bbcnbpafconjjigibnhbfmmgdbbkcjfi
It would be great to hear your opinions on this.
Thank you all and best regards
--
Luca Borrione <write(a)tiscali.it>
Hi folks,
Its been a while since we published latest newsletter. A lot happen
inside community since but I need someone who like to write down
something of it. Yes! I need YOU contributing to the upcoming newsletter ;)
Does anyone have any addition content for the newsletter?
Cheers,
Frank
I want to transfer custom .api file created for SciTE to Geany .tags file
I changed the file to confirm to Tagmanager format as described in
documentation
Here is example part:
========================================
...
dialog.hr||( dlg )|Draws a horizontal separator across the dialog
dialog.label||( dlg, text )|Adds some informative text to the dialog
dialog.new||( title, buttons )|Creates a new dialog object
...
========================================
1. Now autocomplete drop-down menu appears after typing 4-th character and
I don't see setting to make . (dot) be autocomplete trigger. In SciTE
property this can be defined with:
autocomplete.$(filetype).start.characters=.
Is it possible to make this in Geany?
2. Calltip doesn't appear after I open bracket as I expected
Why could that be?
As mentioned in an earlier mail to this list, I'm stuck with GTK 2.10 due to using RHEL5, which means I was also stuck at Geany 0.20
Used this as an opportunity to learn more about Git; cloned the github repo and managed to rebase 0.20.0->0.21.0 such that commits requiring newer versions of GTK were left out. It builds and (as far as I can tell) runs just fine. Note it does not include changes made between 0.21.0 and now.
If anyone is interested in the process I used, it is below. If this is something that the dev. team finds interesting
git checkout -b gtk210
git reset --hard 0.21.0
git rebase -i ef9360c^ (commit before new GTK version is needed)
Remove these lines (so the commits will not be included):
---
pick ef9360c Add plugin_{idle_add,timeout_add,timeout_add_seconds}() to the plugin API
pick c9aaf4a Improve the `Set Custom Commands` dialog
pick 0e0b368 Fix ID of newly added commands in the `Set Custom Commands` dialog
pick 92ab59a Fix a leak and reword an error message
pick 2f20305 Dump dependencies to GTK >= 2.12, GLib >= 2.16 and GIO
pick 5d606ce Deprecate ui_widget_set_tooltip_text() in favor of gtk_widget_set_tooltip_text()
pick a465369 Stop talking about pre-GTK 2.12 tricks in the manual
pick ebca594 Remove GTK version check for setting show_symbol_list_expanders
pick 9830d56 Drop another wrapper for GTK 2.12 tooltips
pick 6bf947c Remove pre-GTK 2.10 tab DnD support
pick b32030d Fix a small typo in the ChangeLog
pick 6380810 Remove treeview-related pre GTK 2.12 support
pick c2f035c Remove checks for the GSlice allocator, use it unconditionally
pick e9e3f6a Remove most of the checks for GIO
pick 15eb27b Remove last GLib >= 2.16 check
pick 254007f Consistently always check if USE_GIO_FILEMON is defined, not for its value
pick d61dea8 Add an hidden pref to choose between GIO and plain C unsafe file saving.
pick 5914176 Completely drop HAVE_GIO checks
pick dac3d64 More GTK 2.8 => GTK 2.12 transition.
pick 65800f7 Simplify a bit `Set Custom Command` dialog code
pick 779e00e Reflect the existence of the entered command in `Set Custom Commands` dialog as well using the yes/no icon.
pick ee1d546 Refactor a little some code to be more readable
pick 534ad58 Change various prefs label to /warn/ the user to read the manual
pick 4d3959a Fix making various prefs tree sync with data values when showing the prefs dialog (patch by Dimitar Zhekov, thanks).
pick 6aeefe9 Use various_treeview global to tidy code a little.
pick 1afb825 Add configuration_add_various_pref_group().
pick 769dbde Change GTK 2.8 -> 2.12. Rename required GTK version section.
pick 0b79063 Fix date in the ChangeLog (oops)
pick 3921732 Fix a wrong file reference inside ChangeLog
---
lots of git status / vi <file>/ minor changes / git add <file> / git rebase --continue
mkdir m4 && ./autogen.sh && make
git tag 0.21.0-gtk210