-
Notifications
You must be signed in to change notification settings - Fork 0
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
Go to Definition Misbehaves for Imported Variables in Svelte Files #3
Comments
Go to definition has completely stopped working for me in |
This appears to no longer be an issue for me. Could you check whether |
Just installed Zed for the first time, added the svelte extension and hitting F12 or rightclick |
have you added the following to your "plugins": [
{
"name": "typescript-svelte-plugin",
// the following options can be set additionally; they are optional; their default values are listed here
"enabled": true, // enables this plugin
"assumeIsSvelteProject": false // if true, skip detection and always assume it's a Svelte project
}
] |
I'm encountering an issue with the "Go to Definition" feature in Svelte files. When I try to go to the definition of a variable that is imported from another file, instead of navigating to the variable's actual definition, the feature takes me to the point in the file where the variable is imported.
This behavior occurs consistently and disrupts my workflow, as I need to manually locate the original definition.
Steps to Reproduce:
Expected Behavior:
The "Go to Definition" feature should navigate directly to the location in the original file where the imported variable is defined.
Actual Behavior:
The "Go to Definition" feature takes you to the import statement rather than the variable's definition.
Environment:
The text was updated successfully, but these errors were encountered: