Thread overview
Does the IntelliJ plugin support makefile built projects?
May 13
Sergey
May 12

I was trying to setup an existing project to work with the IntelliJ plugin.
It's a makefile built project, not one built with Dub.
But I'm seeing configuration issues. For example, IntelliJ asks for an SDK setup. I haven't figured out how to set this up properly. I'm guessing the plugin would pull this from a Dub configuration if there was one in the project.

May 13
On 13/05/2025 10:48 AM, Jon Degenhardt wrote:
> I was trying to setup an existing project to work with the IntelliJ plugin.
> It's a makefile built project, not one built with Dub.
> But I'm seeing configuration issues. For example, IntelliJ asks for an SDK setup. I haven't figured out how to set this up properly. I'm guessing the plugin would pull this from a Dub configuration if there was one in the project.

The SDK it is referring to the dmd install (not ldc/gdc).

Its implemented via the JDK configuration (which isn't available in all versions of IntelliJ).

May 13

On Monday, 12 May 2025 at 22:51:30 UTC, Richard (Rikki) Andrew Cattermole wrote:

>

On 13/05/2025 10:48 AM, Jon Degenhardt wrote:

>

I was trying to setup an existing project to work with the IntelliJ plugin.
It's a makefile built project, not one built with Dub.
But I'm seeing configuration issues. For example, IntelliJ asks for an SDK setup. I haven't figured out how to set this up properly. I'm guessing the plugin would pull this from a Dub configuration if there was one in the project.

The SDK it is referring to the dmd install (not ldc/gdc).

Its implemented via the JDK configuration (which isn't available in all versions of IntelliJ).

Hm... I'm using apple silicon. Running brew install dmd fails with the error:

dmd: The x86_64 architecture is required for this software.

For this reason I've been using LDC. Perhaps a direct installation of DMD would get around this, but I think I'll end the IntelliJ plugin experiment for now.

Thanks for the help.

--Jon

May 13

On Tuesday, 13 May 2025 at 00:55:42 UTC, Jon Degenhardt wrote:

>

Hm... I'm using apple silicon. Running brew install dmd fails with the error:

dmd: The x86_64 architecture is required for this software.

For this reason I've been using LDC. Perhaps a direct installation of DMD would get around this, but I think I'll end the IntelliJ plugin experiment for now.

Thanks for the help.

--Jon

Currently DMD is not available on ARM machines.
You can try to run dmd with Rosetta2, but afaik there were some problems with that as well.

Soon if Walter will spend less time in Borrow Checker forums finalize DMD for ARM and maybe with recently announced work of Luna's macOS support - the user experience could become better.

May 13
On 13/05/2025 6:35 PM, Sergey wrote:
> Soon if Walter will spend less time in Borrow Checker forums finalize DMD for ARM and maybe with recently announced work of Luna's macOS support - the user experience could become better.

He has been working on the ARM backend pretty consistently over the last two months.

However the ETA is next year.