www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - Intellij d plugin

reply Kingsley <kingsley.hendrickse gmail.com> writes:
Hi

Just to let you know I've started work again on my d language 
support plugin for intellij.

My original attempt was using the eclipse DDT parser but it had 
severe performance problems due to the way I had to connect it 
due to IntelliJ various restrictions on external parsers etc

Anyway I've spent a lot of this year learning how to write 
grammars in bnf format from scratch and have begun implementing 
again from the ground up using the grammar I'm working on.

I'm aware there is another D plugin already in the IntelliJ 
library list made by someone else - however it's only got very 
basic support and the grammar has many holes and issues etc. So I 
believe my plugin will supersede this one in time as I already 
implemented quite a lot of features on the original DDT based 
version. So it's not a big effort to add those back in.

I'm aiming to get the first cut out by end of the year with all 
the features of my previous attemp minus the horrible performance 
- this included code folding, syntax highlighting, jump to 
definitions, quick find, code completion, syntax checking, dub 
support and auto run configurations. It did not include quick 
fixes, refactoring support or debugging. The second milestone mid 
2016 aims to bring quick fixes, refactoring tools and minor 
improvements. Then the end of next year I hope to complete 
debugger support.

It's a slow but steady plan of progress which might go faster or 
slower depending on life etc

GitHub.com/kingsleyh/DLanguage
Nov 08 2015
next sibling parent Jeremy Powers via Digitalmars-d-ide <digitalmars-d-ide puremagic.com> writes:
Sounds great!

Unfortunately I haven't had a chance to return to my work on an intellij
plugin, good to see you moving forward.  Hope you don't mind, added a link
to your project from my old'n'busted one:
https://github.com/elendel-/intelliD/commit/277912a6968969c8eae069611de5d485a2e4f138


On writing a new parser:
Have you explored using libdparse/DCD instead?  Probably has more overhead
than writing a java parser, but a lot less work.


On Mon, Nov 9, 2015 at 7:46 AM, Kingsley via Digitalmars-d-ide <
digitalmars-d-ide puremagic.com> wrote:

 Hi

 Just to let you know I've started work again on my d language support
 plugin for intellij.

 My original attempt was using the eclipse DDT parser but it had severe
 performance problems due to the way I had to connect it due to IntelliJ
 various restrictions on external parsers etc

 Anyway I've spent a lot of this year learning how to write grammars in bnf
 format from scratch and have begun implementing again from the ground up
 using the grammar I'm working on.

 I'm aware there is another D plugin already in the IntelliJ library list
 made by someone else - however it's only got very basic support and the
 grammar has many holes and issues etc. So I believe my plugin will
 supersede this one in time as I already implemented quite a lot of features
 on the original DDT based version. So it's not a big effort to add those
 back in.

 I'm aiming to get the first cut out by end of the year with all the
 features of my previous attemp minus the horrible performance - this
 included code folding, syntax highlighting, jump to definitions, quick
 find, code completion, syntax checking, dub support and auto run
 configurations. It did not include quick fixes, refactoring support or
 debugging. The second milestone mid 2016 aims to bring quick fixes,
 refactoring tools and minor improvements. Then the end of next year I hope
 to complete debugger support.

 It's a slow but steady plan of progress which might go faster or slower
 depending on life etc

 GitHub.com/kingsleyh/DLanguage
Nov 09 2015
prev sibling next sibling parent reply Ramon <midiway midi.rs> writes:
On Monday, 9 November 2015 at 07:46:09 UTC, Kingsley wrote:
 Hi

 Just to let you know I've started work again on my d language 
 support plugin for intellij.

 My original attempt was using the eclipse DDT parser but it had 
 severe performance problems due to the way I had to connect it 
 due to IntelliJ various restrictions on external parsers etc

 Anyway I've spent a lot of this year learning how to write 
 grammars in bnf format from scratch and have begun implementing 
 again from the ground up using the grammar I'm working on.

 I'm aware there is another D plugin already in the IntelliJ 
 library list made by someone else - however it's only got very 
 basic support and the grammar has many holes and issues etc. So 
 I believe my plugin will supersede this one in time as I 
 already implemented quite a lot of features on the original DDT 
 based version. So it's not a big effort to add those back in.

 I'm aiming to get the first cut out by end of the year with all 
 the features of my previous attemp minus the horrible 
 performance - this included code folding, syntax highlighting, 
 jump to definitions, quick find, code completion, syntax 
 checking, dub support and auto run configurations. It did not 
 include quick fixes, refactoring support or debugging. The 
 second milestone mid 2016 aims to bring quick fixes, 
 refactoring tools and minor improvements. Then the end of next 
 year I hope to complete debugger support.

 It's a slow but steady plan of progress which might go faster 
 or slower depending on life etc

 GitHub.com/kingsleyh/DLanguage
Why will you implement a parser D? You might consider using https://github.com/Hackerpilot tools as the backend for your plugin
Nov 09 2015
parent Kingsley <kingsley.hendrickse gmail.com> writes:
On Monday, 9 November 2015 at 18:12:15 UTC, Ramon wrote:
 On Monday, 9 November 2015 at 07:46:09 UTC, Kingsley wrote:
 [...]
Why will you implement a parser D? You might consider using https://github.com/Hackerpilot tools as the backend for your plugin
Hi - unfortunately IntelliJ does not support using an external parser so there is no option but to write a grammar and lexer in the format IntelliJ wants. It is possible to use DCD and dscanner though which I already integrated.
Nov 09 2015
prev sibling next sibling parent reply Zekereth <paul acheronsoft.com> writes:
On Monday, 9 November 2015 at 07:46:09 UTC, Kingsley wrote:
 Hi

 Just to let you know I've started work again on my d language 
 support plugin for intellij.

 [...]
This is good to hear. I appreciate all the hard work you're putting into this and can't wait till you release it!
Nov 12 2015
parent reply Kingsley <kingsley.hendrickse gmail.com> writes:
On Friday, 13 November 2015 at 02:53:59 UTC, Zekereth wrote:
 On Monday, 9 November 2015 at 07:46:09 UTC, Kingsley wrote:
 Hi

 Just to let you know I've started work again on my d language 
 support plugin for intellij.

 [...]
This is good to hear. I appreciate all the hard work you're putting into this and can't wait till you release it!
I've released DLanguage v1.1 to the IntelliJ plugin repository - see the GitHub screenshots for an idea
Dec 24 2015
parent reply Kingsley <kingsley.hendrickse gmail.com> writes:
On Friday, 25 December 2015 at 00:15:01 UTC, Kingsley wrote:
 On Friday, 13 November 2015 at 02:53:59 UTC, Zekereth wrote:
 On Monday, 9 November 2015 at 07:46:09 UTC, Kingsley wrote:
 Hi

 Just to let you know I've started work again on my d language 
 support plugin for intellij.

 [...]
This is good to hear. I appreciate all the hard work you're putting into this and can't wait till you release it!
I've released DLanguage v1.1 to the IntelliJ plugin repository - see the GitHub screenshots for an idea
I'd appreciate if any Intellij users could give it a spin and give me some feedback and also report any issues on the github page: https://github.com/kingsleyh/DLanguage/issues
Dec 26 2015
parent reply Israel <tl12000 live.com> writes:
On Saturday, 26 December 2015 at 19:11:12 UTC, Kingsley wrote:
 On Friday, 25 December 2015 at 00:15:01 UTC, Kingsley wrote:
 On Friday, 13 November 2015 at 02:53:59 UTC, Zekereth wrote:
 On Monday, 9 November 2015 at 07:46:09 UTC, Kingsley wrote:
 Hi

 Just to let you know I've started work again on my d 
 language support plugin for intellij.

 [...]
This is good to hear. I appreciate all the hard work you're putting into this and can't wait till you release it!
I've released DLanguage v1.1 to the IntelliJ plugin repository - see the GitHub screenshots for an idea
I'd appreciate if any Intellij users could give it a spin and give me some feedback and also report any issues on the github page: https://github.com/kingsleyh/DLanguage/issues
on it
Dec 27 2015
parent reply Kingsley <kingsley.hendrickse gmail.com> writes:
On Monday, 28 December 2015 at 01:08:04 UTC, Israel wrote:
 On Saturday, 26 December 2015 at 19:11:12 UTC, Kingsley wrote:
 On Friday, 25 December 2015 at 00:15:01 UTC, Kingsley wrote:
 On Friday, 13 November 2015 at 02:53:59 UTC, Zekereth wrote:
 On Monday, 9 November 2015 at 07:46:09 UTC, Kingsley wrote:
 [...]
This is good to hear. I appreciate all the hard work you're putting into this and can't wait till you release it!
I've released DLanguage v1.1 to the IntelliJ plugin repository - see the GitHub screenshots for an idea
I'd appreciate if any Intellij users could give it a spin and give me some feedback and also report any issues on the github page: https://github.com/kingsleyh/DLanguage/issues
on it
Also where is the correct place/places to list the intellij plugin so that the D community can make use of it on dlang.org etc
Dec 28 2015
next sibling parent Rikki Cattermole <alphaglosined gmail.com> writes:
On 29/12/15 10:52 AM, Kingsley wrote:
 On Monday, 28 December 2015 at 01:08:04 UTC, Israel wrote:
 On Saturday, 26 December 2015 at 19:11:12 UTC, Kingsley wrote:
 On Friday, 25 December 2015 at 00:15:01 UTC, Kingsley wrote:
 On Friday, 13 November 2015 at 02:53:59 UTC, Zekereth wrote:
 On Monday, 9 November 2015 at 07:46:09 UTC, Kingsley wrote:
 [...]
This is good to hear. I appreciate all the hard work you're putting into this and can't wait till you release it!
I've released DLanguage v1.1 to the IntelliJ plugin repository - see the GitHub screenshots for an idea
I'd appreciate if any Intellij users could give it a spin and give me some feedback and also report any issues on the github page: https://github.com/kingsleyh/DLanguage/issues
on it
Also where is the correct place/places to list the intellij plugin so that the D community can make use of it on dlang.org etc
For dlang.org it must be added manually to https://github.com/D-Programming-Language/dlang.org/blob/master/download.dd
Dec 28 2015
prev sibling parent reply Israel <tl12000 live.com> writes:
On Monday, 28 December 2015 at 21:52:31 UTC, Kingsley wrote:
 On Monday, 28 December 2015 at 01:08:04 UTC, Israel wrote:
 On Saturday, 26 December 2015 at 19:11:12 UTC, Kingsley wrote:
 On Friday, 25 December 2015 at 00:15:01 UTC, Kingsley wrote:
 On Friday, 13 November 2015 at 02:53:59 UTC, Zekereth wrote:
 [...]
I've released DLanguage v1.1 to the IntelliJ plugin repository - see the GitHub screenshots for an idea
I'd appreciate if any Intellij users could give it a spin and give me some feedback and also report any issues on the github page: https://github.com/kingsleyh/DLanguage/issues
on it
Also where is the correct place/places to list the intellij plugin so that the D community can make use of it on dlang.org etc
It has already been added to the IDE page on http://wiki.dlang.org/IDEs
Dec 28 2015
parent reply Kingsley <kingsley.hendrickse gmail.com> writes:
On Tuesday, 29 December 2015 at 02:13:12 UTC, Israel wrote:
 On Monday, 28 December 2015 at 21:52:31 UTC, Kingsley wrote:
 On Monday, 28 December 2015 at 01:08:04 UTC, Israel wrote:
 On Saturday, 26 December 2015 at 19:11:12 UTC, Kingsley wrote:
 On Friday, 25 December 2015 at 00:15:01 UTC, Kingsley wrote:
 On Friday, 13 November 2015 at 02:53:59 UTC, Zekereth wrote:
 [...]
I've released DLanguage v1.1 to the IntelliJ plugin repository - see the GitHub screenshots for an idea
I'd appreciate if any Intellij users could give it a spin and give me some feedback and also report any issues on the github page: https://github.com/kingsleyh/DLanguage/issues
on it
Also where is the correct place/places to list the intellij plugin so that the D community can make use of it on dlang.org etc
It has already been added to the IDE page on http://wiki.dlang.org/IDEs
D-Unit support is coming for IntelliJ - it's going to be awesome! https://raw.githubusercontent.com/kingsleyh/DLanguage/testrunnerspike/.README/d-unit-support.png
Jan 14 2016
parent christophe <jnkj gmail.com> writes:
Does this work with ldc and gdc or only dmd?
May 04 2016
prev sibling parent Basile B. <b2.temp gmx.com> writes:
On Monday, 9 November 2015 at 07:46:09 UTC, Kingsley wrote:
 GitHub.com/kingsleyh/DLanguage
ca te fait pas trop chier d'avoir une tĂȘte de con ?
Jan 25 2016