Closed Spirarel closed 3 months ago
Sounds like the issue is that nimsuggest
doesnt know about -d:nimPreviewHashRef
.
Create a config.nims
and --d:nimPreviewHashRef
to it
Reopen if it doenst fix it.
Hmm I added this file with the entry to the directory; it's getting picked up by the build task, but the plugin is still showing issues. Does the extension require extra configuration?
No, it doesnt require extra configuration. Can you share your file structure? config.nims
should be near the entry point
Essentially flat,
I mean the actual files with a minimal repro
Here's a small example
compile with
-d:nimPreviewHashRef
Restarting vscode and building on save. The code compiles and runs, there are no problems highlighted:
Add a few newlines to the end and build & run again. The code compiles and runs fine, but the plugin shows problems:
This greatly limits the plugin's usefulness.
extension: v0.9.0 vscode: 1.87.2 nim: 2.0.2