show other files besides `*.js` files in js import statement
See original GitHub issueonly *.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:
- Created 3 years ago
- Reactions:8
- Comments:9 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@aneeskodappana Did you just steal my avatar 🌚
@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?
https://code.visualstudio.com/api/references/vscode-api