-
-
Notifications
You must be signed in to change notification settings - Fork 594
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
Feat request: absolute path for auto import #1177
Comments
If you add path mapping, does it work? https://github.com/vuejs/vetur/blob/master/docs/FAQ.md#vetur-cant-recognize-components-imported-using-webpacks-alias |
tsconfig.json
Extension Version
What's HappeningWith the above tsconfig.json here's what I get.
What do I expect?I would love the autocompletion inside the .vue file for a TS/JS project to always use absolute path, with the root alias. Why?With relative paths, it becomes a pain to figure out at what level a thing is and then moving those file while refactoring becomes an even bigger pain because VSCode's automatic file path updates don't work for .vue files. With an absolute path, it's absolutely easy to move around things. |
maybe you should try this vscode-extension https://marketplace.visualstudio.com/items?itemName=IWANABETHATGUY.path-alias |
Follow user's config while resolving autoImport path, related #1177
Fixed by #1753. |
Info
Problem
Currently the auto import is imported in relative path, is that any possible to add support auto import in absolute path or with alias?
Example:
Besides, I find that another extension auto import was working in previous version, but It was broken after new version installed. Is that any possible to disable?
Thank you so much for contributing such a great work, I hope It will getting better!
The text was updated successfully, but these errors were encountered: