Re: String Interpolation support in VS Code

2025-02-23 Thread Arredondo via Digitalmars-d-learn
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

Re: String Interpolation support in VS Code

2025-02-23 Thread Jordan Wilson via Digitalmars-d-learn
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 e

Re: Intro to calling C libraries

2025-02-23 Thread Bradley Chatha via Digitalmars-d-learn
On Thursday, 20 February 2025 at 21:10:29 UTC, Ian wrote: ... Another cool aspect of ImportC is that you can use the D compiler's header generator to generate .di files from C sources - i.e. semi-automatic, native binding generation! I say semi-automatic since it misses out things like macr

Re: Intro to calling C libraries

2025-02-23 Thread Dejan Lekic via Digitalmars-d-learn
On Thursday, 20 February 2025 at 20:09:29 UTC, Ian wrote: What is the recommended documentation or introductory material on how to call C libraries from D? I've seen it done in GtkD (for GTK3) and I have heard of -betterC, but it's all a little overwhelming. (I'm an experienced C programmer but

Re: String Interpolation support in VS Code

2025-02-23 Thread Dejan Lekic via Digitalmars-d-learn
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](https://github.com/Pure-D/code

String Interpolation support in VS Code

2025-02-23 Thread Arredondo via Digitalmars-d-learn
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 rea