unplugin / unplugin-vue-components

📲 On-demand components auto importing for Vue
https://www.npmjs.com/package/unplugin-vue-components
MIT License
3.65k stars 341 forks source link

Direct component resolution in VS Code #732

Open wmelton opened 5 months ago

wmelton commented 5 months ago

Clear and concise description of the problem

This may be a limitation of VS Code, but in VS Code if you option click a component name within Nuxt, rather than drilling directly to the component file, it takes you to components.d.ts where you then must drill on the resolved path for the component.

Suggested solution

If VS Code will allow it, it would be excellent if there was a way to drill directly to the component rather than the intermediate components.d.ts file. This would keep the workspace cleaner as well since components.d.ts gets needlessly opened in the tabs and left open once you arrive at the final file you actually need to edit.

Alternative

No response

Additional context

No response

Validations