Visual D with dub causes rebuild of project every time

Joe at bloow.edu Joe at bloow.edu
Fri Sep 8 19:41:11 UTC 2023


On Friday, 8 September 2023 at 06:41:47 UTC, Joe wrote:
> I used dub to create a visual studio project. When compiling it 
> rebuilds all dependencies every time making the compilation 
> very slow(using vibe.d basic example).
>
> Why is it doing this?

So, the issue is intellisense. The edits I was changing was to 
add a '.'. When I typed the . it would crash VS. At some point I 
was able to get intellisense and then it stopped working and VS 
started crashing and I simply stopped using intellisense but then 
when I was adding a . in a string it started crashing too.

I disabled the "intellisense from semantic analysis" and it 
doesn't crash. I'm still not getting any intellisense though.

Seems like some bug in semantic analysis and intellisense. I've 
noticed when I type the . I end up with the red squiggles under 
things like if statements and other keywords and stuff in the 
code then it crashes. I deleted debug files and rebuild but same 
issue.

dub init <name> -t vibe.d
cd <name>
dub generate visuald




More information about the Digitalmars-d-ide mailing list