Tim Hutt
Tim Hutt
Here is the output with the original document (with `Deno;`) if I don't edit anything. One weird thing is that it doesn't show any errors until I make an edit....
Here you go: # Deno Language Server Status ## Workspace Settings ```json { "enable": true, "cache": null, "config": null, "importMap": null, "codeLens": { "implementations": false, "references": false, "referencesAllFunctions": false, "test":...
I don't have those documents open in my editor. `main.ts` is: const x = Deno;
Hmm I suspect they might have been open in a different VSCode window. Either way, I closed all the VSCode windows, restarted it, and this bug still happens even though...
Hmm interesting. Ok I'll try it on a couple of different machines. Are you using a Mac?
Finally figured it out. I have this in my VSCode settings: "typescript.tsserver.experimental.enableProjectDiagnostics": true Without that setting it works (though I'd like to keep that setting!).
Maybe set it to false when you run the "Initialise Deno" command?
It's not actually a plugin - it's built in to VSCode. Also, why not?
Hmm, is it at least possible to detect if that option is set and display a warning? You must agree that not doing anything is not a good solution? This...
I don't think it needs it in this library. [Petgraph itself supports outputting graphviz files](https://docs.rs/petgraph/0.6.0/petgraph/dot/struct.Dot.html) and then there are [external tools that can do ascii-art versions](https://stackoverflow.com/questions/3211801/graphviz-and-ascii-output) if you really don't...