Skip to content

IntelliSense from remote CDN #42545

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jimmywarting opened this issue Jan 29, 2021 · 1 comment
Closed

IntelliSense from remote CDN #42545

jimmywarting opened this issue Jan 29, 2021 · 1 comment
Labels
Duplicate An existing issue was already created

Comments

@jimmywarting
Copy link
Contributor

Some developers host there esm script directly on a CDN so you can use import directly in the browser. Some even provide JSDoc on dev build files.

It would be grate if vscode could download remote javascript files to a temp directory, cache it and parse it accordingly and even work offline after the files have been downloaded from a CDN.

Deno are one that acts more like the browser and they don't use any package mananger. (neither dose the browser) they simply just import something from a absolute http path from some CDN and starts coding

// vscode downloads remote file and scans it
import sdk from 'https://example.com/sdk-dev-esm.js'

// vscode provide autosuggestion
sdk...

if this was supported then you wouldn't need any npm modules to provide autocompletion
A plus would be if it also could provide IntelliSense based on SourceMaps from the original source code.

@MartinJohns
Copy link
Contributor

Duplicate of #35749. Used search terms: import url.

You also forgot to fill out the issue template.

@RyanCavanaugh RyanCavanaugh added the Duplicate An existing issue was already created label Jan 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

3 participants