Thread overview
String Interpolation support in VS Code
14 hours ago
Arredondo
14 hours ago
Dejan Lekic
8 hours ago
Jordan Wilson
3 hours ago
Arredondo
14 hours ago

Coming back to D after a few years of inactivity, and I'm pleasantly surprised that we now have string interpolation (sort of) in the language.

The issue I'm having is with Visual Studio Code. I'm getting a red squiggle under the entire expression with a nonsensical error message, when in reality the code is fine and compiling fine.

screenshot

Here are the D related extensions I have installed:

  • D Programming Language (code-d) by WebFreak
  • d by colinkaopu
  • d-code by tonyjewel
  • C/C++ Extension Pack by Microsoft
  • CodeLLDB by Vadim Chugunov

Has anyone encountered this issue? I'm also open to suggestions for other tooling options if there's something better than VS Code for D programming in Windows.

Cheers!
Arredondo.

14 hours ago

On Sunday, 23 February 2025 at 14:10:09 UTC, Arredondo wrote:

>

Has anyone encountered this issue? I'm also open to suggestions for other tooling options if there's something better than VS Code for D programming in Windows.

All you can do is to make a new issue on the code-d project, or, even better, implement it by yourself and submit a PR. :)

8 hours ago

On Sunday, 23 February 2025 at 14:10:09 UTC, Arredondo wrote:

>

Coming back to D after a few years of inactivity, and I'm pleasantly surprised that we now have string interpolation (sort of) in the language.

The issue I'm having is with Visual Studio Code. I'm getting a red squiggle under the entire expression with a nonsensical error message, when in reality the code is fine and compiling fine.

screenshot

Here are the D related extensions I have installed:

  • D Programming Language (code-d) by WebFreak
  • d by colinkaopu
  • d-code by tonyjewel
  • C/C++ Extension Pack by Microsoft
  • CodeLLDB by Vadim Chugunov

Has anyone encountered this issue? I'm also open to suggestions for other tooling options if there's something better than VS Code for D programming in Windows.

Cheers!
Arredondo.

I encountered this also, it boils down to this: https://github.com/dlang-community/libdparse/pull/510

I tried to have a go, seemed a bit beyond me, but I'll try again if I have the chance to get something going.

Thanks,

Jordan

3 hours ago

On Sunday, 23 February 2025 at 20:16:27 UTC, Jordan Wilson wrote:

>

https://github.com/dlang-community/libdparse/pull/510

Thanks for that, I was surprised that I didn't find anything but turns out I was looking at the issues instead of the pull requests.

Hopefully it gets merged soon.

Cheers!
Arredondo.