question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Completion suggestions when import map is configured

See original GitHub issue

Autocomplete for absolute imports configured in import_map.json don’t work.

My import_map.json:

{
  "imports": {
    "~/": "./src/",
    "testing/": "https://deno.land/std@0.79.0/testing/"
  }
}

My .vscode/settings.json:

{
  "deno.enable": true,
  "deno.unstable": true,
  "deno.lint": true,
  "[typescript]": {
    "editor.defaultFormatter": "denoland.vscode-deno",
  },
  "[typescriptreact]": {
    "editor.defaultFormatter": "denoland.vscode-deno",
  },
  "deno.import_intellisense_origins": {
    "https://deno.land": true
  },
  "deno.import_map": "./import_map.json"
}

Screenshots

Screenshot from 2020-11-23 20-49-58

Versions

vscode: 1.51.1 deno: 1.5.4 extension: 2.3.3

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:7
  • Comments:15 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
crowlKatscommented, Nov 23, 2022

@bartlomieju will do

1reaction
bartlomiejucommented, Dec 26, 2022

Thanks @harrysolovay, we’ll investigate it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Dynamically Import JavaScript with Import Maps
Build tools are an important part of the development experience, but a spec called import maps will allow you to both import external...
Read more >
Everything You Need to Know About JavaScript Import Maps
Import maps are a new way for web pages to control the behavior of JavaScript imports, potentially enabling you to ditch your build...
Read more >
Solved: MP-BGP Import Map Mulfunction - Cisco Community
There are "import map" and "export map" configured under VRF configurations to restrict the prefixes that we want to transfer between the VRFs....
Read more >
Proper set-up for using import maps with Rails 7 and turbo
Following an bin/importmap pin pixabay-javascript-autocomplete. the importmap.rb has the proper entry and the header of the page does have ...
Read more >
Import Suggestions and Intelligent Registries | Manual - Deno
Module registry completions. Module registries that support it can be configured for auto completion. This provides a handy way to explore a module...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found