sgwilym / nova-deno

A Deno extension for Nova.
https://extensions.panic.com/extensions/co.gwil/co.gwil.deno/
MIT License
13 stars 1 forks source link

Resolve #22, #20 #23

Closed belcar-s closed 2 years ago

belcar-s commented 2 years ago

This pull request resolves #22 and resolves #20.

This is my first substantial contribution to someone else's software, so please be patient and forgive any issues 🙂.

These changes enable the use of the extension in project-less windows:

Screen Shot 2022-04-30 at 1 23 32 PM

Except during editing of unsaved documents 🙁:

Screen Shot 2022-04-30 at 1 35 37 PM

They also cause tasks defined in deno.jsonc files to be displayed inside the Tasks menu:

Screen Shot 2022-04-30 at 1 25 47 PM

I used the strip-json-comments NPM module to parse JSON with comments files, and tried to mimic the way vscode-languageserver-types was imported.

sgwilym commented 2 years ago

Released in v1.0.4!