GitShow/antfu/vscode-goto-alias
antfu

vscode-goto-alias

Go to Definition following alias redirections.

by antfu
Star on GitHubForknpm

TypeScript

277 stars24 forks10 contributorsQuiet · 9mo agoSince 2022v1.0.0MIT

Meet the team

See all 10 on GitHub →
antfu
antfu37 contributions
ShenQingchuan
ShenQingchuan3 contributions
Donovan-Ye
Donovan-Ye2 contributions
ascott18
ascott181 contribution
cpreston321
cpreston3211 contribution
so1ve
so1ve1 contribution
Tobiaqs
Tobiaqs1 contribution
9romise
9romise1 contribution

Languages

View on GitHub →
TypeScript98.8%
JavaScript1.2%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

5 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template✓PR Template

Recent PRs & issues

Quiet · 1 in progress · Last activity 9mo ago
See all on GitHub →
sawa-ko
Does not work with componentsOpenIssue

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.

sawa-ko · 2mo ago
n0099
chore: hint about value `gotoAndPeek` of VSCode setting `editor.gotoLocation.multipleDefinitions`OpenPR

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

n0099 · 3mo ago
iabhiyaan
[Bug]: IDE "Go to Definition" resolves to wrong file when component name matches a different filenameOpenIssue

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!)

iabhiyaan · 6mo ago

Recent fixes

View closed PRs →
mesqueeb
Cursor IDE supportClosedIssue

Hey! So cursor is a fork of VSCode I think, and 99% of the extensions just work on Cursor as well. But this one doesn't 😅 Would you be able to add support for Cursor IDE?

mesqueeb · 8mo ago
KazariEX
feat: re-implement with typescript pluginMergedPR

Description close #2, close #19, close #25, close #31, close #32 Linked Issues resolve #34 Additional context

KazariEX · 9mo ago
0x00A1FA
[Duplicate] Publish to OpenVSXClosedIssue

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.

0x00A1FA · 9mo ago
Structured data for AI agents

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.

·@ofershap

Replace github.com with gitshow.dev