DenoDDeno
Powered by
jonJ
Denoβ€’2y agoβ€’
1 reply
jon

Automate Export+Import when using deps.ts pattern in VSCode/LSP

Hey, I wanted to see if there is a way to configure my IDE's (VSCode using the Deno extension) "Quick Fix" feature to automate importing from deps.ts instead of a fully-qualified URL, but in the case where an existing export in deps.ts is not present?

To restate, when deps.ts is present and used, I want to automate adding a new export from deps.ts, and then import that exported thing directly in the file I am trying to run the "Quick Fix" from. deps.ts will be recommended as an import origin, but only if the exported thing already exists in deps.ts.
Screenshot_2024-08-01_at_10.35.56_AM.png
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Deno LSP vscode issues when using Remote Explorer
sergeesSsergees / help
3y ago
LSP auto-import in workspaces
JolanJJolan / help
5mo ago
LSP/VSCode stops working
fro.profesionalFfro.profesional / help
3y ago
auto import in VSCode/Zed (general LSP support for auto importing)
CCPatriotCCCPatriot / help
16mo ago