www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Intellij: Support for TextMate Bundled

reply Andre Pany <andre s-e-a-p.de> writes:
Hi,
Intellij added support for TextMate bundles. By adding the DLang 
TextMate Bundle[1] you get syntax highlighting.

If you want also code completion, formatting and linting you can 
install the LSP plugin from marketplace and setup DLS [2].

In addition there is also the complete D support including 
debugging by installing the IntelliJ D plugin from marketplace.

[1] https://github.com/textmate/d.tmbundle
[2] https://github.com/d-language-server/dls

Kind regards
Andre
Jul 25
next sibling parent Greatsam4sure <greatsam4sure gmail.com> writes:
On Thursday, 25 July 2019 at 16:20:15 UTC, Andre Pany wrote:
 Hi,
 Intellij added support for TextMate bundles. By adding the 
 DLang TextMate Bundle[1] you get syntax highlighting.

 If you want also code completion, formatting and linting you 
 can install the LSP plugin from marketplace and setup DLS [2].

 In addition there is also the complete D support including 
 debugging by installing the IntelliJ D plugin from marketplace.

 [1] https://github.com/textmate/d.tmbundle
 [2] https://github.com/d-language-server/dls

 Kind regards
 Andre
Thanks, I will dry it later
Jul 25
prev sibling next sibling parent reply bachmeier <no spam.net> writes:
On Thursday, 25 July 2019 at 16:20:15 UTC, Andre Pany wrote:
 Hi,
 Intellij added support for TextMate bundles. By adding the 
 DLang TextMate Bundle[1] you get syntax highlighting.

 If you want also code completion, formatting and linting you 
 can install the LSP plugin from marketplace and setup DLS [2].

 In addition there is also the complete D support including 
 debugging by installing the IntelliJ D plugin from marketplace.

 [1] https://github.com/textmate/d.tmbundle
 [2] https://github.com/d-language-server/dls

 Kind regards
 Andre
Curious if there are a lot of D programmers using IntelliJ. It's $500 just for the first year.
Jul 25
next sibling parent reply Andre Pany <andre s-e-a-p.de> writes:
On Thursday, 25 July 2019 at 18:46:00 UTC, bachmeier wrote:
 On Thursday, 25 July 2019 at 16:20:15 UTC, Andre Pany wrote:
 Hi,
 Intellij added support for TextMate bundles. By adding the 
 DLang TextMate Bundle[1] you get syntax highlighting.

 If you want also code completion, formatting and linting you 
 can install the LSP plugin from marketplace and setup DLS [2].

 In addition there is also the complete D support including 
 debugging by installing the IntelliJ D plugin from marketplace.

 [1] https://github.com/textmate/d.tmbundle
 [2] https://github.com/d-language-server/dls

 Kind regards
 Andre
Curious if there are a lot of D programmers using IntelliJ. It's $500 just for the first year.
The community edition is free to use even for commercial usage. Kind regards Andre
Jul 25
parent bachmeier <no spam.net> writes:
On Thursday, 25 July 2019 at 19:42:21 UTC, Andre Pany wrote:
 On Thursday, 25 July 2019 at 18:46:00 UTC, bachmeier wrote:
 On Thursday, 25 July 2019 at 16:20:15 UTC, Andre Pany wrote:
 [...]
Curious if there are a lot of D programmers using IntelliJ. It's $500 just for the first year.
The community edition is free to use even for commercial usage. Kind regards Andre
I'll check it out. I must not have understood when I read people talking about paying for it.
Jul 26
prev sibling next sibling parent Daniel Kozak <kozzi11 gmail.com> writes:
On Thu, Jul 25, 2019 at 8:50 PM bachmeier via Digitalmars-d-announce
<digitalmars-d-announce puremagic.com> wrote:
 Curious if there are a lot of D programmers using IntelliJ. It's
 $500 just for the first year.
Thats not true. I have all products pack (include idea, clion, pystorm, phpstorm ...) and I am paying something like $200 per year.
Jul 25
prev sibling next sibling parent David Bennett <davidbennett bravevision.com> writes:
On Thursday, 25 July 2019 at 18:46:00 UTC, bachmeier wrote:
 Curious if there are a lot of D programmers using IntelliJ. 
 It's $500 just for the first year.
I've been using IntelliJ Idea Community for D development for years, mostly for the syntax highlighting, code completion and linting. Still use the cli for compilation because nothing beats CTRL+R. I did have some jank issues but now with the LSP support and using DLS these seem to be gone now. The debugger worked the last I tried it but lately I haven't had so many runtime D errors that require debuging as I've now use a subset of D that tends to work so long as it compiles.
Jul 25
prev sibling parent reply JN <666total wp.pl> writes:
On Thursday, 25 July 2019 at 18:46:00 UTC, bachmeier wrote:
 On Thursday, 25 July 2019 at 16:20:15 UTC, Andre Pany wrote:
 Hi,
 Intellij added support for TextMate bundles. By adding the 
 DLang TextMate Bundle[1] you get syntax highlighting.

 If you want also code completion, formatting and linting you 
 can install the LSP plugin from marketplace and setup DLS [2].

 In addition there is also the complete D support including 
 debugging by installing the IntelliJ D plugin from marketplace.

 [1] https://github.com/textmate/d.tmbundle
 [2] https://github.com/d-language-server/dls

 Kind regards
 Andre
Curious if there are a lot of D programmers using IntelliJ. It's $500 just for the first year.
I tried to give it a go, but this bug https://github.com/intellij-dlanguage/intellij-dlanguage/issues/455 is killing me and I always go back to VSCode w/ Code-D
Jul 27
parent Andre Pany <andre s-e-a-p.de> writes:
On Saturday, 27 July 2019 at 11:38:28 UTC, JN wrote:
 On Thursday, 25 July 2019 at 18:46:00 UTC, bachmeier wrote:
 On Thursday, 25 July 2019 at 16:20:15 UTC, Andre Pany wrote:
 Hi,
 Intellij added support for TextMate bundles. By adding the 
 DLang TextMate Bundle[1] you get syntax highlighting.

 If you want also code completion, formatting and linting you 
 can install the LSP plugin from marketplace and setup DLS [2].

 In addition there is also the complete D support including 
 debugging by installing the IntelliJ D plugin from 
 marketplace.

 [1] https://github.com/textmate/d.tmbundle
 [2] https://github.com/d-language-server/dls

 Kind regards
 Andre
Curious if there are a lot of D programmers using IntelliJ. It's $500 just for the first year.
I tried to give it a go, but this bug https://github.com/intellij-dlanguage/intellij-dlanguage/issues/455 is killing me and I always go back to VSCode w/ Code-D
Yes, calling on every keystroke a DCD client executable which itself calls DCD server executable via TCP just doesn't work. Instead, in addition to the D plugin, I installed LSP plugin and the D Language Language Server DLS. DLS will also call DCD but as library. Another performance issue is, the D Intellij plugin executes Dub very often for syntax checking. There is currently only a hack to disable it (https://github.com/intellij-dlanguage/intellij-dlanguage/issues/331) At the moment there is some manual work needed (1 hour) to setup the D Intellij plugin. But if you invest it, it is a great IDE and makes a lot of fun. Kind regards Andre
Jul 27
prev sibling parent reply Andre Pany <andre s-e-a-p.de> writes:
On Thursday, 25 July 2019 at 16:20:15 UTC, Andre Pany wrote:
 Hi,
 Intellij added support for TextMate bundles. By adding the 
 DLang TextMate Bundle[1] you get syntax highlighting.

 If you want also code completion, formatting and linting you 
 can install the LSP plugin from marketplace and setup DLS [2].

 In addition there is also the complete D support including 
 debugging by installing the IntelliJ D plugin from marketplace.

 [1] https://github.com/textmate/d.tmbundle
 [2] https://github.com/d-language-server/dls

 Kind regards
 Andre
There is an answer from Intellij why there are highlighting issues: https://youtrack.jetbrains.com/oauth?state=%2Fissue%2FIDEA-219012
Textmate plugin doesn't support named captures which are 
actively used in D bundle.
As a workaround, you can use https://github.com/Pure-D/code-d bundle instead. Note that you still need to wait for the next version (or 2019.2.2) as at the moment that bundle is not registered for d extension, only for ds. I've just fixed this.<< Kind regards Andre
Aug 01
parent Jacob Carlborg <doob me.com> writes:
On 2019-08-01 17:19, Andre Pany wrote:

 There is an answer from Intellij why there are highlighting issues:
 https://youtrack.jetbrains.com/oauth?state=%2Fissue%2FIDEA-219012
That's disappointing. Named captures are very useful and makes the grammar easier to read and understand. TextMate uses this regular expression implementation [1]. [1] https://github.com/textmate/Onigmo -- /Jacob Carlborg
Aug 03