denoland / deno

A modern runtime for JavaScript and TypeScript.
https://deno.com
MIT License
94.01k stars 5.23k forks source link

Shell completions not working in VSCode #24723

Open devsheva opened 1 month ago

devsheva commented 1 month ago

Version: Deno 1.45.1

I followed this guide to setup shell completions. They just work on my Warp external terminal, but not in the VSCode integrated one.

lucacasonato commented 1 month ago

Are you using zsh in your VS Code integrated terminal?

Did you restart VS Code after setting up the completions?

devsheva commented 1 month ago

The answer is yes for both. After restart it didn't work, but I found at that adding the completions dir to fpath was needed. Maybe this should be done with the deno plugin automatically i guess

lucacasonato commented 1 month ago

Do you use oh-my-zsh? Because the guide for just zsh mentions having to set fpath: https://docs.deno.com/runtime/manual/getting_started/setup_your_environment/#zsh-example

devsheva commented 1 month ago

Yes i use ohmyzsh