String Interpolation support in VS Code

Jordan Wilson wilsonjord at gmail.com
Sun Feb 23 20:16:27 UTC 2025


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](https://imgur.com/a/Q8dTRFk)
>
> 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



More information about the Digitalmars-d-learn mailing list