diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2021-04-09 11:27:27 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-09 11:27:27 +1000 |
commit | d9d4a5d73c28741deaa2c93d87672ce117315fbf (patch) | |
tree | 57d08deb2e80796f9e426a4592b47254b112021d /cli/main.rs | |
parent | 3168fa4ee7782e72b57745483a7b0df5df5ce083 (diff) |
feat(lsp): add registry import auto-complete (#9934)
Diffstat (limited to 'cli/main.rs')
-rw-r--r-- | cli/main.rs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/cli/main.rs b/cli/main.rs index 7146d8548..d8e893906 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -252,11 +252,14 @@ fn print_cache_info( let deno_dir = &state.dir.root; let modules_cache = &state.file_fetcher.get_http_cache_location(); let typescript_cache = &state.dir.gen_cache.location; + let registry_cache = + &state.dir.root.join(lsp::language_server::REGISTRIES_PATH); if json { let output = json!({ "denoDir": deno_dir, "modulesCache": modules_cache, "typescriptCache": typescript_cache, + "registryCache": registry_cache, }); write_json_to_stdout(&output) } else { @@ -268,9 +271,14 @@ fn print_cache_info( ); println!( "{} {:?}", - colors::bold("TypeScript compiler cache:"), + colors::bold("Emitted modules cache:"), typescript_cache ); + println!( + "{} {:?}", + colors::bold("Language server registries cache:"), + registry_cache, + ); Ok(()) } } |