Harold Aling | 1 Nov 2011 10:04
Picon

Re: [RFC] Geany Plugin Names

On Tue, Nov 1, 2011 at 09:46, Thomas Martitz
<thomas.martitz@...> wrote:
> Am 29.10.2011 08:09, schrieb Lex Trotman:
>>
>> Although in my, probably poorly informed, opinion, gproject seems to
>> encompass most of geanyprj
>>
>
> Did anyone heck if geanyprj even works (as intended)? IIUC it's largely
> unmaintained since a very long time. If it turns out broken it should just
> be dropped.

Unfortunately I have to admit that GeanyPRJ is indeed quite broken and
lags the whole interface when enabled on a recent build of Geany.

Does Gproject index a whole tree so that symbol and calltip
autocomplete work? I can't seem to find how to enable that, so I guess
not... :(

Harold
Lex Trotman | 1 Nov 2011 10:54
Picon

Re: [RFC] Geany Plugin Names

On 1 November 2011 20:04, Harold Aling <geany@...> wrote:
> On Tue, Nov 1, 2011 at 09:46, Thomas Martitz
> <thomas.martitz@...> wrote:
>> Am 29.10.2011 08:09, schrieb Lex Trotman:
>>>
>>> Although in my, probably poorly informed, opinion, gproject seems to
>>> encompass most of geanyprj
>>>
>>
>> Did anyone heck if geanyprj even works (as intended)? IIUC it's largely
>> unmaintained since a very long time. If it turns out broken it should just
>> be dropped.
>
> Unfortunately I have to admit that GeanyPRJ is indeed quite broken and
> lags the whole interface when enabled on a recent build of Geany.

Dunno about lags, more frags, see attached traceback :)

Cheers
Lex

>
> Does Gproject index a whole tree so that symbol and calltip
> autocomplete work? I can't seem to find how to enable that, so I guess
> not... :(
>
>
> Harold
> _______________________________________________
> Geany-devel mailing list
(Continue reading)

Jiří Techet | 1 Nov 2011 14:05
Picon

Re: [RFC] Geany Plugin Names

On Tue, Nov 1, 2011 at 10:04, Harold Aling <geany@...> wrote:
> On Tue, Nov 1, 2011 at 09:46, Thomas Martitz
> <thomas.martitz@...> wrote:
>> Am 29.10.2011 08:09, schrieb Lex Trotman:
>>>
>>> Although in my, probably poorly informed, opinion, gproject seems to
>>> encompass most of geanyprj
>>>
>>
>> Did anyone heck if geanyprj even works (as intended)? IIUC it's largely
>> unmaintained since a very long time. If it turns out broken it should just
>> be dropped.
>
> Unfortunately I have to admit that GeanyPRJ is indeed quite broken and
> lags the whole interface when enabled on a recent build of Geany.
>
> Does Gproject index a whole tree so that symbol and calltip
> autocomplete work? I can't seem to find how to enable that, so I guess
> not... :(

Yes, it should. There's "generate tags for all project files" option
under GProject tab of project properties for that (off by default
because it's too slow for tens-of-thousand file projects I use
GProject for). I hope it works alright, I haven't tested it for quite
some time now but unless there was some change in Geany, it should
work fine.

Cheers,
Jiri
(Continue reading)

Harold Aling | 1 Nov 2011 14:50
Picon

Re: [RFC] Geany Plugin Names

On Tue, Nov 1, 2011 at 14:05, Jiří Techet <techet <at> gmail.com> wrote:
> On Tue, Nov 1, 2011 at 10:04, Harold Aling <geany <at> sait.nl> wrote:
>> On Tue, Nov 1, 2011 at 09:46, Thomas Martitz
>> <thomas.martitz <at> student.htw-berlin.de> wrote:
>>> Am 29.10.2011 08:09, schrieb Lex Trotman:
>>>>
>>>> Although in my, probably poorly informed, opinion, gproject seems to
>>>> encompass most of geanyprj
>>>>
>>>
>>> Did anyone heck if geanyprj even works (as intended)? IIUC it's largely
>>> unmaintained since a very long time. If it turns out broken it should just
>>> be dropped.
>>
>> Unfortunately I have to admit that GeanyPRJ is indeed quite broken and
>> lags the whole interface when enabled on a recent build of Geany.
>>
>> Does Gproject index a whole tree so that symbol and calltip
>> autocomplete work? I can't seem to find how to enable that, so I guess
>> not... :(
>
> Yes, it should. There's "generate tags for all project files" option
> under GProject tab of project properties for that (off by default
> because it's too slow for tens-of-thousand file projects I use
> GProject for). I hope it works alright, I haven't tested it for quite
> some time now but unless there was some change in Geany, it should
> work fine.

Nice!!!

(Continue reading)

Johann SAUNIER | 2 Nov 2011 15:27
Picon

Re: [RFC] Geany Plugin Names

Pleeeeeeeeease don't kill geanyprj : It's a killer plugin !!!

I've been using it for three years now and tweaked it to my needs (but still haven't found the time to make it clean and push it to the maintainer).

I couldn't live without it either at work or at home. 

2011/11/1 Harold Aling <geany-EObh4zkT6Rw@public.gmane.org>
On Tue, Nov 1, 2011 at 14:05, Jiří Techet <techet <at> gmail.com> wrote:
> On Tue, Nov 1, 2011 at 10:04, Harold Aling <geany-EObh4zkT6Rw@public.gmane.org> wrote:
>> On Tue, Nov 1, 2011 at 09:46, Thomas Martitz
>> <thomas.martitz-oe7qfRrRQfejm0qNnjbvntAswbaBtrod@public.gmane.org> wrote:
>>> Am 29.10.2011 08:09, schrieb Lex Trotman:
>>>>
>> Unfortunately I have to admit that GeanyPRJ is indeed quite broken and
>> lags the whole interface when enabled on a recent build of Geany.
>>


What do you mean by broken ? I must admit that I don't look closely at it as far as it works as expected :)

Cheers,
Johann 
<div>
<div>Pleeeeeeeeease don't kill geanyprj : It's a killer plugin !!!</div>
<div><br></div>
<div>I've been using it for three years now and tweaked it to my needs (but still haven't found the time to make it clean and push it to the maintainer).</div>
<div>
<div><br></div>
<div>I couldn't live without it either at work or at home.&nbsp;</div>
<div class="gmail_quote"><br></div>
<div class="gmail_quote">2011/11/1 Harold Aling <span dir="ltr">&lt;<a href="mailto:geany <at> sait.nl">geany@...</a>&gt;</span><br><blockquote class="gmail_quote"><div class="im">On Tue, Nov 1, 2011 at 14:05, Ji&#345;&iacute; Techet &lt;<a href="mailto:techet@...">techet <at> gmail.com</a>&gt; wrote:<br>

&gt; On Tue, Nov 1, 2011 at 10:04, Harold Aling &lt;<a href="mailto:geany <at> sait.nl">geany@...</a>&gt; wrote:<br>
&gt;&gt; On Tue, Nov 1, 2011 at 09:46, Thomas Martitz<br>
&gt;&gt; &lt;<a href="mailto:thomas.martitz@...">thomas.martitz@...</a>&gt; wrote:<br>
&gt;&gt;&gt; Am 29.10.2011 08:09, schrieb Lex Trotman:<br>
&gt;&gt;&gt;&gt;<br>&gt;&gt; Unfortunately I have to admit that GeanyPRJ is indeed quite broken and<br>
&gt;&gt; lags the whole interface when enabled on a recent build of Geany.<br>
&gt;&gt;<br><br>
</div></blockquote>
<div><br></div>
<div>What do you mean by broken ? I must admit that I don't look closely at it as far as it works as expected :)</div>
<div><br></div>
<div>Cheers,</div>
<div>Johann&nbsp;</div>
</div>
</div>
</div>
Harold Aling | 2 Nov 2011 15:33
Picon

Re: [RFC] Geany Plugin Names

On Wed, Nov 2, 2011 at 15:27, Johann SAUNIER
<jsaunier.devel@...> wrote:
>> >> Unfortunately I have to admit that GeanyPRJ is indeed quite broken and
>> >> lags the whole interface when enabled on a recent build of Geany.
>> >>
>>
>
> What do you mean by broken ? I must admit that I don't look closely at it as
> far as it works as expected :)

Since 'Symbol list update frequency' (aka real time symbol parsing)
got in, GeanyPRJ lags every <freq> miliseconds. Geany stops taking
input every cycle until the cycle is done. Secondly: saving a file
takes 1-2 seconds.

Gproject is able to do the same (plus more) without any lags.

Both plugins index in a single thread, which is a pity for multi-core
PC's as it takes quite a while to open a project and index all tags.

I changed from geanyprj to gproject 1-2 days ago and I'll probably
never look back!

-H-
Johann SAUNIER | 2 Nov 2011 17:33
Picon

Re: [RFC] Geany Plugin Names

Ok, I gave Gproject a try :

> Since 'Symbol list update frequency' (aka real time symbol parsing)
> got in, GeanyPRJ lags every <freq> miliseconds. Geany stops taking
> input every cycle until the cycle is done.

I haven't noticed that

> Secondly: saving a file
> takes 1-2 seconds.

Ok, but closing Geany with Gproject is so long that Metacity gets
upset and asks me if it should be forced to close ;) It was
instantaneous with Geanyprj

> Gproject is able to do the same (plus more) without any lags.

I agree, it seems to be more reactive

> Both plugins index in a single thread, which is a pity for multi-core
> PC's as it takes quite a while to open a project and index all tags.

Still too long to load :(

At last, here is what the Gproject's documentation says about their
differences :

- GProject is an extension of Geany's project so every Geany project
is a GProject at the same time and vice versa. On the other hand,
GeanyPrj project is a separate project so if you want to set build
properties for a GeanyPrj project, you have to set up a second Geany
project in parallel.

I don't use this facility much, but it's a good thing anyway (+1 for Gproject)

- Because GeanyPrj is a separate project management plugin, it can do
some things that GProject cannot - in particular, it can manage
several projects in parallel. If you need to switch between several
projects, GeanyPrj might be a better option for you. Alternatively,
you can open several Geany instances for different projects to work on
several projects in parallel using GProject.

I often have more than one project opened in the same instance of
Geany -> I will hardly get used to this (-1)

- GProject displays full tree in the sidebar while GeanyPrj displays
only two-level tree (full directory name as a parent and a list of
files under the directory).

I agree, Geanyprj's project view is unusable. That's one the patches
I've made  -> don't display the project sidebar (0)

- GProject has configurable patterns while patterns in GeanyPrj are hard-coded

That just make Geanyprj more straightforward to configure since I
don't need patterns. I use C for the project itself, Python for
functional testing, CMake files for the build system and interfaces
are written in C++, Java and even C# -> so I have to use * as the
pattern filter in Gproject (-1)

- GProject offers header/source swapping

So does "code navigation" plugin -> redundant in Gproject (0)

- GProject offers finding project files by name

Never use it because my brain is too small to remember the hundredths
of file names I have in my projects :) I prefer walking the treeview
to find a file (0)

In conclusion, I will try it for a few days and hope I can get used to
it, and who knows ... adopt it :)

Cheers,
Johann
Johann SAUNIER | 2 Nov 2011 17:43
Picon

Re: [RFC] Geany Plugin Names

> It would be interesting to know which features you enjoy most. Perhaps gproject already offers them or can
be extended.

1) Multi projects opened in a single instance of Geany

2) Setting up a new project is more straightforward :

- Download a tarball -> open a file on the root -> click menu :
tools->project->create a project -> enter and you're set up to browse
the source code.

- With Gproject, one have to walk the directories to set the base of
the project (even if one of its files is already opened), and then set
up wildcards (ok I'm a lazy person ;)

Point 2 would be a simple improvement I guess, but point 1 would
expect much more dev :(

Gproject is anyway better and more polished, I admit.

Best Regards
Johann
Thomas Martitz | 2 Nov 2011 16:33
Picon
Gravatar

Re: [RFC] Geany Plugin Names

Am 02.11.2011 15:27, schrieb Johann SAUNIER:
>
> I couldn't live without it either at work or at home.

It would be interesting to know which features you enjoy most. Perhaps 
gproject already offers them or can be extended.

Best regards.
Lex Trotman | 3 Nov 2011 00:10
Picon

Re: [RFC] Geany Plugin Names

[...]
> What do you mean by broken ? I must admit that I don't look closely at it as
> far as it works as expected :)

Unfortunately compiled against Geany Git it crashes creating a new
project.  I don't have time (or interest I admit) to find out why, but
it may need some maintenance.

Cheers
Lex

> Cheers,
> Johann
> _______________________________________________
> Geany-devel mailing list
> Geany-devel@...
> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>
>

Gmane