Jump to page: 1 2
Thread overview
Geany editor: Dlang code autocomplete
May 08, 2018
Denis Feklushkin
May 08, 2018
Seb
May 08, 2018
Basile B.
May 09, 2018
Denis Feklushkin
May 08, 2018
Alexibu
May 09, 2018
Denis Feklushkin
May 09, 2018
Chris
May 08, 2018
Basile B.
May 09, 2018
Denis Feklushkin
May 09, 2018
Basile B.
May 09, 2018
Basile B.
May 08, 2018
Hi!

Does anyone else use Geany as Dlang code editor?

I'm looking at the ongoing fundraising for another editor. Unlike it, we have almost everything ready: https://github.com/denizzzka/geany_dlang
(More precisely, I think that Geany is not so advanced and currently it is enough to add only tips and autocompletion :-))

But there is one significant "but": in the Geany editor there is no support for plugins that implement autocompletion. More details about this can be found in this issue: https://github.com/geany/geany/issues/1854

If someone knows С and understands how to add good support for this in Geany itself (this is GTK application) plese write to me or to Github issue from above.

Estimation of work ~3 hours, it seems. And we finally get a normal autocompletion for D language.

Thanks!

May 08, 2018
On Tuesday, 8 May 2018 at 07:47:26 UTC, Denis Feklushkin wrote:
> Hi!
>
> Does anyone else use Geany as Dlang code editor?
>
> I'm looking at the ongoing fundraising for another editor. Unlike it, we have almost everything ready: https://github.com/denizzzka/geany_dlang
> (More precisely, I think that Geany is not so advanced and currently it is enough to add only tips and autocompletion :-))
>
> ...
>
> Estimation of work ~3 hours, it seems. And we finally get a normal autocompletion for D language.
>
> Thanks!

Sorry, but I highly doubt that you can get a "normal autocompletion" for D within 3 hours.
D's "state of the art" DCD struggles a lot with autocompletion as it only has an AST and no semantic analysis.
Fixing this by e.g. using DMD's frontend is way beyond 3 hours of work.

Though of course, DCD works well for many cases already.

BTW I quickly skimmed your linked issue and it seems that Geany already supports autocompletion for plugins, just not re-using the naive default completion.
May 08, 2018
On Tuesday, 8 May 2018 at 07:47:26 UTC, Denis Feklushkin wrote:
> Hi!
>
> Does anyone else use Geany as Dlang code editor?
>

I use Geany for D.
It already performs autocomplete.
I am not sure how good it is.
It isn't something I'm that interested in, but I do seem to use it.
I suspect if I configured paths for it to scan for files to find symbols in it would work better.
May 08, 2018
On Tuesday, 8 May 2018 at 19:23:44 UTC, Seb wrote:
> On Tuesday, 8 May 2018 at 07:47:26 UTC, Denis Feklushkin wrote:
>> Hi!
>>
>> Does anyone else use Geany as Dlang code editor?
>>
>> I'm looking at the ongoing fundraising for another editor. Unlike it, we have almost everything ready: https://github.com/denizzzka/geany_dlang
>> (More precisely, I think that Geany is not so advanced and currently it is enough to add only tips and autocompletion :-))
>>
>> ...
>>
>> Estimation of work ~3 hours, it seems. And we finally get a normal autocompletion for D language.
>>
>> Thanks!
>
> Sorry, but I highly doubt that you can get a "normal autocompletion" for D within 3 hours.
> D's "state of the art" DCD struggles a lot with autocompletion as it only has an AST and no semantic analysis.

What do i read here... that's wrong. DCD does have semantic. What it has not are the compile-time features (i.e CTFE and metaprog)


May 08, 2018
On Tuesday, 8 May 2018 at 07:47:26 UTC, Denis Feklushkin wrote:
> Hi!
>
> Does anyone else use Geany as Dlang code editor?
>
> I'm looking at the ongoing fundraising for another editor. Unlike it, we have almost everything ready: https://github.com/denizzzka/geany_dlang
> (More precisely, I think that Geany is not so advanced and currently it is enough to add only tips and autocompletion :-))
>
> But there is one significant "but": in the Geany editor there is no support for plugins that implement autocompletion. More details about this can be found in this issue: https://github.com/geany/geany/issues/1854
>
> If someone knows С and understands how to add good support for this in Geany itself (this is GTK application) plese write to me or to Github issue from above.
>
> Estimation of work ~3 hours, it seems. And we finally get a normal autocompletion for D language.
>
> Thanks!

Hello have a look here: https://github.com/denizzzka/geany_dlang.
I cant tell if it's good or not. Personally i'm on another editor.
May 09, 2018
On Tuesday, 8 May 2018 at 22:52:26 UTC, Basile B. wrote:
> On Tuesday, 8 May 2018 at 07:47:26 UTC, Denis Feklushkin wrote:

>> Unlike it, we have almost everything ready: https://github.com/denizzzka/geany_dlang

>
> Hello have a look here: https://github.com/denizzzka/geany_dlang.
> I cant tell if it's good or not. Personally i'm on another editor.

denizzzka is me :-)
May 09, 2018
On Tuesday, 8 May 2018 at 22:27:19 UTC, Alexibu wrote:
> On Tuesday, 8 May 2018 at 07:47:26 UTC, Denis Feklushkin wrote:
>> Hi!
>>
>> Does anyone else use Geany as Dlang code editor?
>>
>
> I use Geany for D.
> It already performs autocomplete.
> I am not sure how good it is.

dcd does this job better than internal Geany autocompletion

May 09, 2018
On Tuesday, 8 May 2018 at 19:23:44 UTC, Seb wrote:
> On Tuesday, 8 May 2018 at 07:47:26 UTC, Denis Feklushkin wrote:
>> Hi!
>>
>> Does anyone else use Geany as Dlang code editor?
>>
>> I'm looking at the ongoing fundraising for another editor. Unlike it, we have almost everything ready: https://github.com/denizzzka/geany_dlang
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> BTW I quickly skimmed your linked issue and it seems that Geany already supports autocompletion for plugins, just not re-using the naive default completion.

Currently it can be supported only as dirty hack like as by link above.

May 09, 2018
On Wednesday, 9 May 2018 at 08:48:41 UTC, Denis Feklushkin wrote:
> On Tuesday, 8 May 2018 at 22:52:26 UTC, Basile B. wrote:
>> On Tuesday, 8 May 2018 at 07:47:26 UTC, Denis Feklushkin wrote:
>
>>> Unlike it, we have almost everything ready: https://github.com/denizzzka/geany_dlang
>
>>
>> Hello have a look here: https://github.com/denizzzka/geany_dlang.
>> I cant tell if it's good or not. Personally i'm on another editor.
>
> denizzzka is me :-)

Oops, sorry, i don't know how did i manage to miss this, especially since your name is on your profile.
May 09, 2018
On Wednesday, 9 May 2018 at 09:44:07 UTC, Basile B. wrote:
> On Wednesday, 9 May 2018 at 08:48:41 UTC, Denis Feklushkin wrote:
>> On Tuesday, 8 May 2018 at 22:52:26 UTC, Basile B. wrote:
>>> On Tuesday, 8 May 2018 at 07:47:26 UTC, Denis Feklushkin wrote:
>>
>>>> Unlike it, we have almost everything ready: https://github.com/denizzzka/geany_dlang
>>
>>>
>>> Hello have a look here: https://github.com/denizzzka/geany_dlang.
>>> I cant tell if it's good or not. Personally i'm on another editor.
>>
>> denizzzka is me :-)
>
> Oops, sorry, i don't know how did i manage to miss this, especially since your name is on your profile.

And the link to the project was there in the first post too. Definitively a big fail from my part lol.
« First   ‹ Prev
1 2