Last 12 weeks · 0 commits
5 of 6 standards met
Describe the bug Actually I want to go to the source code of my auto-imported components but it only takes me to the components.d.ts file and nothing else, it does not close the file and open the source code of the component. https://github.com/antfu/vscode-goto-alias/assets/56084970/1a244234-0f01-4316-958d-ea90c2a3f04c Reproduction Watch video System Info Used Package Manager pnpm Validations [X] Follow our Code of Conduct [X] Read the Contributing Guide. [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [X] The provided reproduction is a minimal reproducible of the bug.
Please be aware that vibe-coding contributions are 🚫 STRICTLY PROHIBITED. We are humans behind these open source projects, trying hard to maintain good quality and a healthy community. Not only do vibe-coding contributions pollute the code, but they also drain A LOT of unnecessary energy and time from maintainers and toxify the community and collaboration. All vibe-coded, AI-generated PRs will be rejected and closed without further notice. In severe cases, your account might be banned organization-wide and reported to GitHub. PLEASE SHOW SOME RESPECT and do not do so. Before submitting the PR, please make sure you do the following: Read the Contributing Guide. Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate. Provide a description in this PR that addresses what the PR is solving and WHY**, or reference the issue that it solves (e.g. ). Ideally, include relevant tests that fail without this PR but pass with it. [x] Many types in Nuxt are defined multiple times across dependencies and in generated , using might misleading user that many types only have one definition. Linked Issues https://github.com/microsoft/vscode/issues/104824 Additional context
Describe the bug In a Nuxt 3 project using #components type-safe imports, the IDE navigation (Cmd/Ctrl + Click) resolves to the wrong file when a component's auto-generated name matches the literal filename of a different component. Project Structure: 1. components/Action/Wrapper.vue — (Nuxt auto-names this: ActionWrapper) 2. components/Pair/ActionWrapper.vue — (Nuxt auto-names this: PairActionWrapper) Steps to Reproduce: 1. Create the two files listed above. 2. In a page or another component, import the first component using the Nuxt alias: TypeScript 3. Use in the template. 4. Cmd + Click (Go to Definition) on ActionWrapper in either the script or template. Expected Behavior: The IDE should navigate to components/Action/Wrapper.vue. Actual Behavior: The IDE navigates to components/Pair/ActionWrapper.vue. Observations: It appears the language server is prioritizing a literal filename match (ActionWrapper.vue) over the actual TypeScript mapping provided by Nuxt in .nuxt/components.d.ts. Reproduction https://stackblitz.com/edit/nuxt-starter-cmxw4pdh?file=components%2FAction%2FWrapper.vue System Info Used Package Manager npm Validations [x] Follow our Code of Conduct [x] Read the Contributing Guide. [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [x] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [x] The provided reproduction is a minimal reproducible of the bug. Contributions [ ] I am willing to submit a PR to fix this issue [ ] I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)
Clear and concise description of the problem This ext is not on OpenVSX Suggested solution Publish this ext to OpenVSX Alternative _No response_ Additional context _No response_ Validations [X] Follow our Code of Conduct [X] Read the Contributing Guide. [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Repository: antfu/vscode-goto-alias. Description: Go to Definition following alias redirections. Stars: 277, Forks: 24. Primary language: TypeScript. Languages: TypeScript (98.8%), JavaScript (1.2%). License: MIT. Latest release: v1.0.0 (9mo ago). Open PRs: 1, open issues: 7. Last activity: 9mo ago. Community health: 85%. Top contributors: antfu, ShenQingchuan, Donovan-Ye, ascott18, cpreston321, so1ve, Tobiaqs, 9romise, jinghaihan, KazariEX.