www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - Intellij D Language plugin 1.31 released

reply singingbush <singingbush hotmail.com> writes:
The latest changes for the Intellij plugin are now available in 
the [Jetbrains 
Marketplace](https://plugins.jetbrains.com/plugin/8115). It can 
be installed directly in Intellij IDEA via the plugins section of 
the settings menu.

A big thanks to Richard (Rikki) Andrew Cattermole for 
contributing towards this release.

The plugin is for use in Intellij IDEA only. If you are 
interested in seeing improved D support in Intellij please get 
involved. The project is hosted at 
https://github.com/intellij-dlanguage/intellij-dlanguage/
Jun 25 2023
next sibling parent reply Danilo <anon dlang.org> writes:
Your plugin says it supports auto-completion. It never worked for 
me using IntelliJ on macOS.

I'm following D for some month, tried several versions of the 
IntelliJ plugin over the time, but never got any useful 
auto-completion to work. No code-completion popup or anything 
most of the time.

Now i tried again using the latest version and actually got some 
code-completion for some simple codes.

For the code:
```d
   string s = String("  abcd  ");
   s.
```
I get auto-completion that makes no sense. It shows hundreds of 
entries, all starting with the letter 's', but nothing of it has 
to do with strings.
```
.safeDecode()
.scanf()
.swapEndian()
.std
.stderr
.stdin()
```
Hundreds of entries that make no sense at all...

I would like to see useful string methods/functions like .trim 
and .strip instead.

In the current state, this plugin seems pretty useless, except 
for syntax highlighting...?
Jul 07 2023
parent reply "Richard (Rikki) Andrew Cattermole" <richard cattermole.co.nz> writes:
Auto completion is provided by DCD which you have to install & configure 
into IDE manually.

This is the standard solution and most of the popular IDE plugins use it.

If there is a problem with auto completion once installed & configured 
its probably DCD's fault.
Jul 07 2023
parent reply Danilo <anon dlang.org> writes:
On Friday, 7 July 2023 at 07:44:46 UTC, Richard (Rikki) Andrew 
Cattermole wrote:
 Auto completion is provided by DCD which you have to install & 
 configure into IDE manually.

 This is the standard solution and most of the popular IDE 
 plugins use it.

 If there is a problem with auto completion once installed & 
 configured its probably DCD's fault.
Of course I have configured the settings. Dub, DScanner, dcd-server, dcd-client, DFormat/dfmt. Sorry I forgot to mention that. It never worked for me on macOS.
Jul 07 2023
parent "Richard (Rikki) Andrew Cattermole" <richard cattermole.co.nz> writes:
Unfortunately I'm not a huge help with OSX due to not having a recent 
machine.

All I can suggest is look at the settings of the IDE for when it 
triggers DCD prompt (and turn off the experimental IDE completion 
support if you turned that on).
Jul 07 2023
prev sibling parent reply alishakihn <alishakihn1 gmail.com> writes:
On Sunday, 25 June 2023 at 20:47:22 UTC, singingbush wrote:
 The latest changes for the Intellij plugin are now available in 
 the [Jetbrains 
 Marketplace](https://plugins.jetbrains.com/plugin/8115). It can 
 be installed directly in Intellij IDEA via the plugins section 
 of the settings menu.

 A big thanks to Richard (Rikki) Andrew Cattermole for 
 contributing towards this release. [Flappy 
 Bird](https://flappy-bird.io)

 The plugin is for use in Intellij IDEA only. If you are 
 interested in seeing improved D support in Intellij please get 
 involved. The project is hosted at 
 https://github.com/intellij-dlanguage/intellij-dlanguage/
A big thanks to Richard.
Dec 21 2023
parent "Richard (Rikki) Andrew Cattermole" <richard cattermole.co.nz> writes:
On 22/12/2023 6:50 PM, alishakihn wrote:
 A big thanks to Richard.
I'm glad to hear some of my random bug fixes are appreciated! Yesterday I had another PR merged which fixed another 3 bugs. https://github.com/intellij-dlanguage/intellij-dlanguage/pull/918 Next release should make it throw a few less common exceptions :)
Dec 21 2023