vscode_deno
vscode_deno copied to clipboard
Automatically enable extension for files with deno shebang
trafficstars
I have a make.ts file in my Zig project which starts with
#!/usr/bin/env -S deno run --allow-all
import $ from "https://deno.land/x/dax/mod.ts";
I don't get any LSP features in this file, unless I explicitly invoke Deno: Initialize Workspace Configuration and click through two questions.
It seems like with a shebang the thing should just work without any extra configuration from my side?
It should work with the .ts too.
Authoring executable script without editor support is quite difficult.