Re: Geany editor: Dlang code autocomplete

2018-05-09 Thread Chris via Digitalmars-d

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.
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.


I use Geany for D too, but the generic auto completion works well 
enough for me. There used to be issues with DCD crashing randomly 
when I used it with Textadept, but I suppose that is fixed now. 
Please keep us updated on the issue.


Re: Geany editor: Dlang code autocomplete

2018-05-09 Thread Basile B. via Digitalmars-d

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.


Re: Geany editor: Dlang code autocomplete

2018-05-09 Thread Basile B. via Digitalmars-d

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.


Re: Geany editor: Dlang code autocomplete

2018-05-09 Thread Denis Feklushkin via Digitalmars-d

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.




Re: Geany editor: Dlang code autocomplete

2018-05-09 Thread Denis Feklushkin via Digitalmars-d

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



Re: Geany editor: Dlang code autocomplete

2018-05-09 Thread Denis Feklushkin via Digitalmars-d

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 :-)


Re: Geany editor: Dlang code autocomplete

2018-05-08 Thread Basile B. via Digitalmars-d

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.


Re: Geany editor: Dlang code autocomplete

2018-05-08 Thread Basile B. via Digitalmars-d

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)





Re: Geany editor: Dlang code autocomplete

2018-05-08 Thread Alexibu via Digitalmars-d

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.


Re: Geany editor: Dlang code autocomplete

2018-05-08 Thread Seb via Digitalmars-d

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.


Geany editor: Dlang code autocomplete

2018-05-08 Thread Denis Feklushkin via Digitalmars-d

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!