I have not been able to find the markdown plugin for Geany for CentOS 7 on EPEL despite a number of other plugins being available. I filed a bug report some time ago so it may eventually be resolved.
In the meantime, has anyone found it in a repository or should I compile all plugins from the Geany website?
Hi,
I am a new user of Geany. Thank you for making and supporting this
wonderfull piece of software: I love the speed, knowing that I come from
Eclipse that is not so strange :).
As said: I am 'migrating' my (Joomla CMS PHP code) from Eclipse. I have
already a working Geany environment with includes for the Joomla
Libraries (for code completion) and a complete working phing build
system integrated.
What I am looking for now is to have Geany indicate that a function /
method, etc. I use is deprecated.
Deprecated methods are marked deprecated in the docblock (with the
@deprecated tag). What e.g. Eclipse or PHPstorm does is display the used
function with a 'striketrough'.
I know that Geany is not a complete IDE like Eclipse or PHPStorm, but I
was wondering if this is currently possible?
Thanks for any help!
regards,
Ruud.
Using version 1.23.1
Searching for way to remove from Print Preview at right end of line of
text an arrow that ends up being printed.
I don't want that arrow at all.
Searched through options, can't find anything.
Please help
Thanks
Dan
Hi, for some reason I did not receive your individual mails, just the
digest mails (multiple)... So not sure if this is going to break this
thread...
Anyway: thanks for answering :)
fyi, the @deprecated tag is not a Joomla (which is a cms) specific
docblock tag; it is a generic PHP tag:
http://docs.phpdoc.org/references/phpdoc/tags/deprecated.html
Does this change anything in your recommendations?
I will have a look at the Scintilla lexer and see what that is / offers
I am also investigating the possibility to add the @deprecated lookup
into the PHP Code Style functionality, I have that currently implemented
(with a Joomla Code Style file) and what that does is what you add the
red squiggly lines to the code lines that have warnings / errors
On 26-09-17 16:22, Ruud van Lent wrote:
> On 26 September 2017 at 22:43, <rhkramer at gmail.com
> <https://lists.geany.org/cgi-bin/mailman/listinfo/users>> wrote:
> >/On Tuesday, September 26, 2017 05:00:09 AM Lex Trotman wrote: />>/On 26 September 2017 at 17:33, Ruud van Lent <ruud.van.lent at
> zonnet.nl <https://lists.geany.org/cgi-bin/mailman/listinfo/users>> />/wrote: />>/> Deprecated methods are marked deprecated in the docblock (with the />>/> @deprecated tag). What e.g. Eclipse or PHPstorm does is display the
> used />>/> function with a 'striketrough'. />>/> />>/> I know that Geany is not a complete IDE like Eclipse or PHPStorm,
> but I />>/> was wondering if this is currently possible? />>//>>/There is nothing that provides highlighting for those sorts of />>/semantics, however strikethrough is available as a Scintilla />>/indicator, so you could make a plugin do it. />//>/Or, just to offer a (potential) alternative--I believe you could
> incorporate a />/change like this into the (Scintilla) (native) lexer for PHP and then it />/would become available to any editor that used the Scintilla text
> editing />/widgit (there are quite a few such editors). />//>/I say this: />/* without really knowing what Joomla CMS PHP code is, but assuming the
> PHP />/lexer does the hightlighting (and, I assume there is a PHP lexer in
> Scintilla) />/* without really being sure--I've never successfully created or
> modified a />/scintilla lexer, native or otherwise, but know that a native lexer has
> to be />/written in C / C++ (and some other methods of writing a Scintilla
> lexer (like />/using Lua are not, iirc, supported by Geany) /
> All correct, except that strikethrough is not a style available to
> Lexers, its an indicator which has to be set by the application (like
> for example the red squiggly lines (technical term :) under typos and
> compile errors). If a different style could suffice then the lexer
> may be able to do it.
>
> On the other hand since the docblocks are (IIUC) specific to Joomla,
> not PHP, then maybe the lexer shouldn't be infected by syntax specific
> to just one of many PHP frameworks.
Hi everyone,
I'm using Geany on Ubuntu 14.04/16.04, mostly for console/terminal
program dev in Python. I've always found Geany to be a great piece of
software.
I've started doing GUI program dev in Python with TKinter, PyQT, etc.
and find the fact that Geany always runs commands in the
Execute-commands section via the Terminal tool path (i.e. opening a
terminal window) to be a little annoying. Is there any "official" way
around this?
I've tried the workaround of putting the typical Python command (e.g.
python3 "%f") in the Python-commands or Independent-commands sections of
Set Build Commands (calling it e.g. "Execute Graphical") in order to
avoid the terminal window - this works but the busy indicator runs and
messages go to the Compiler tab.
I've also tried the workaround of changing the Terminal tool path to
bash c% and setting up two commands in the Execute-commands section of
Set Build Commands:
Execute => gnome-terminal -x bash -c 'python3 "%f"; echo -e "\n"; read
-p "Press Enter to continue..."'
Execute Graphical => python3 "%f"
but messages from commands in the Execute-commands section are not
displayed on a tab (Geany expects a terminal window to be open). Is
there any workaround for this?
This seems like a lot of gymnastics. Or am I completely missing
something? Wouldn't it make sense to have two different Execute commands
in Geany, one that uses a terminal and one that doesn't, with messages
from the second command going to a tab like they do with compile commands?
Part of my motivation comes from wishing to use Geany more in the
training courses that I deliver, and making it easier for the
participants to configure Geany for Python/Perl/PHP.
Thanks for any help!
Keith
Hi everyone,
I have been using Geany for quite some years now and really happy with it.
This times I am learning Python3 and, of course, use Geany for that purpose.
The way Geany autocomplete symbols does not completly fill my needs and I
wanted to try geany-jedi-complete plugin [0] but install fails with the
following output :
###
g++ -c src/preferences.cpp -O2 -fPIC `pkg-config --cflags geany` -std=c++0x -I./geany-complete-core/include -o lib/src/preferences.o
In file included from /usr/include/geany/editor.h:28:0,
from /usr/include/geany/document.h:32,
from /usr/include/geany/build.h:27,
from /usr/include/geany/geanyplugin.h:37,
from ./geany-complete-core/include/geanycc/cc_plugin.hpp:23,
from ./geany-complete-core/include/geanycc/geanycc.hpp:25,
from src/preferences.cpp:22:
src/preferences.cpp: In member function ‘virtual GtkWidget* geanycc::PythonCompletionFramework::create_config_widget(GtkDialog*)’:
/usr/include/geany/gtkcompat.h:81:11: error: invalid conversion from ‘gpointer {aka void*}’ to ‘GtkWidget* {aka _GtkWidget*}’ [-fpermissive]
NULL)
^
/usr/include/geany/gtkcompat.h:83:3: note: in expansion of macro ‘compat_gtk_box_new’
compat_gtk_box_new(GTK_ORIENTATION_VERTICAL, (homogeneous), (spacing))
^
src/preferences.cpp:122:24: note: in expansion of macro ‘gtk_vbox_new’
GtkWidget* vbox = gtk_vbox_new(FALSE, 5);
^
geany-complete-core/Makefile.core:39: recipe for target 'lib/src/preferences.o' failed
make: *** [lib/src/preferences.o] Error 1
###
OS : GNU/Linux openSUSE Leap 42.3
Geany : 1.29 (Gtk 3.20)
Package geany-devel is installed as well as other plugin build-time
dependencies.
Does anyone have an idea about how I can solve it ?
Beside that, if some other experimented Python developpers using Geany has
any advice on how I can configure it specifically for Python I would take it
:) (I have already set build options).
Thank you in advance.
Regards,
--
Sébastien 'sogal' Poher
(I've searched the list archives, but if I missed the answer please
direct me)
Although I've just re-subscribed to the list, I'm not a new Geany nor
Linux user. However, I'm working on educated guesses in this area and I
might be wrong. Please correct me if so.
At home, I'm running Geany 1.30 on Xubuntu 16.04 and at work, Geany 1.31
on CentOS 7 (under Xfce on both). However, they look really different
and I suspect it's because of GTK2 vs. GTK3, but that's where I'm not
100% sure. It's purely my personal preference but I vastly prefer the
GTK2 look and feel to GTK3.
On CentOS 7: http://pages.suddenlink.net/lenphilpot/img/Geany_CentOS7-Xf
ce-GTK3.jpg (GTK3?)
On Xubuntu: http://pages.suddenlink.net/lenphilpot/img/Geany_Xubuntu1604
-Xfce-GTK2.jpg (GTK2?)
There are a couple of preference differences (placement of message
window, etc.), but is the difference in look due to GTK3 vs. GTK2, just
theming or what? Or can it even be determined from a screenshot?
Bigger question: What can I do to get the "GTK2 look" (if in fact that's
the factor) with Geany on CentOS? Is there a theme, or do I need to
track down the newest Geany I can find built against GTK2? That one came
from the EPEL repo, but I have no problem removing it and installing a
local package.
This has larger significance for me as GTK3 becomes more widespread,
particularly now that KDE (Qt) has adopted a similar "Window 8" UI look
and feel.
Thanks for helping me educate myself.
--
Len Philpotlphilpot01(a)gmail.comSent from Evolution on Xubuntu Linux
Hey there,
I was looking through the preferences for Geany today and decided to
try this one since I occasionally have an unwanted space or tab at
the end of a line:
Edit --> Preferences --> Files --> Saving files --> Strip trailing
spaces and tabs
I turned it on and it works great on lines with a trailing space or
tab, but I noticed a behavior I consider unwanted and I'm wondering
if this is by design or if it's something that ought to get fixed:
If you put your cursor on a blank line and tab over three times and
save the file, Geany strips those three tabs out even though they're
leading tabs (they're not trailing after anything).
For the purposes I have for that option, Geany saving me from the
trailing spaces or tabs I occasionally litter a file with wouldn't be
worth the many times that Geany would prevent the cursor from being
in exactly the spot I want it in (three tabs over or whatever) on
save, so I'm going to turn that off again for now.
What I'd like is for Geany to only strip trailing spaces or tabs from
lines that also contain something other than tabs or spaces. Is there
any chance that that's what was intended and that it just needs
fixing or is it behaving as intended?
--
Little Girl
There is no spoon.