Skip to content
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

add support for typescript "go to source definition" #1890

Open
christophsturm opened this issue Feb 22, 2023 · 1 comment
Open

add support for typescript "go to source definition" #1890

christophsturm opened this issue Feb 22, 2023 · 1 comment
Labels
feature request New feature or request limitation Constraints of the existing architecture make this hard to fix

Comments

@christophsturm
Copy link

Description

typescript now has a great new feature , go to source definition, but it does not yet work in svelte files in visual studio code.
see here:

microsoft/TypeScript#49003
and
microsoft/TypeScript#49003 (comment)

Proposed solution

it would be great if this could be added to the svelte vscode plugin. If someone could point me to a good starting point i could try to implement it.

Alternatives

No response

Additional Information, eg. Screenshots

No response

@jasonlyu123 jasonlyu123 added the feature request New feature or request label Feb 23, 2023
@jasonlyu123
Copy link
Member

I don't think this is suitable for a first-time contributor. Yes. There is an API for it, but we're using a lower-level API, so we can't access that API. We have to copy a lot of the logic from TypeScript to make it happen. For that reason, This won't happen any time soon.

@jasonlyu123 jasonlyu123 added the limitation Constraints of the existing architecture make this hard to fix label Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request limitation Constraints of the existing architecture make this hard to fix
Projects
None yet
Development

No branches or pull requests

2 participants