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.

show other files besides `*.js` files in js import statement

See original GitHub issue

only *.js files are shown in hints when writing import statement in js file

import './' // only js files are shown

how to make it show other files, when working with a webpack project, I would like to import *.css files and image files

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:8
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

littleecommented, May 29, 2020

@aneeskodappana Did you just steal my avatar 🌚

ChristianKohlercommented, Nov 29, 2021

@AradAral Just installed the svelte extension. I can confirm that with the svelte extension it doesn’t work anymore.

I guess their extension has a higher score. Nothing I can do here 😕 Maybe you can disable autocompletion in the svelte extension?

Multiple providers can be registered for a language. In that case providers are sorted by their score and groups of equal score are sequentially asked for completion items. The process stops when one or many providers of a group return a result.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I include a JavaScript file in another JavaScript file?
You can write your JavaScript files in "modules" and then reference them as dependencies in other scripts. Or you can use RequireJS as...
Read more >
How to Include a JavaScript File in another JavaScript File
Answer: Use the export and import Statement. Since ECMAScript 6 (or ES6) you can use the export or import statement in a JavaScript...
Read more >
JavaScript modules - MDN Web Docs
This guide gives you all you need to get started with JavaScript module ... modules is dependent on the import and export statements; ......
Read more >
How to include a JavaScript file in another JavaScript file?
Another popular way to import and export JS files is using the Node JS require function. Node.js is an open-source, cross-platform, backend ...
Read more >
Compiled JavaScript import is missing file extension #40878
js in the import inside a TypeScript file does allow to compile it with the TypeScript compiler and will output files with working...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found