fannheyward / coc-deno

Deno extension for coc.nvim
MIT License
151 stars 9 forks source link

deno.cache command seems deleted? (accidentally?) #248

Closed LumaKernel closed 6 months ago

LumaKernel commented 6 months ago

CocCommand deno. completion does not show deno.cache and if I run CocCommand deno.cache I'll get the following error. (while it succeeds CocCommand deno.status)

[coc.nvim]: Error on notification "runCommand": invalid length 0, expected tuple struct Arguments with 3 element

deno.cache is described in README as well, so it sounds better to remove that description if it's an intentional change.

Tested on:

LumaKernel commented 6 months ago

oops, I can't find the last version there're deno.cache command... Possibly the problem of deno version...?

fannheyward commented 6 months ago

deno has added deno.cacheOnSave configuration to run cache on server, coc-deno also supported this and I removed the deno.cache command.

https://github.com/denoland/vscode_deno/pull/831 https://github.com/denoland/vscode_deno/pull/930

I should add this back for manually usage.

fannheyward commented 6 months ago

Added deno.cacheActiveDocument command as deno.cache is now an internal command.