[TSX] 'Go to definition' also opens the type #5770
Labels
bug
[core label]
language
An umbrella label for all programming languages syntax behaviors
typescript
TypeScript programming language support
Check for existing issues
Describe the bug / provide steps to reproduce it
Probably not a bug but a current feature 😅 , but opening a component's definition opens two files
Highlight component reference -> Go to definition -> If typings are generated using compiler, Zed will open one index.ts and the actual component definition.
Expected behavior
I think it's better to open only the definition of the component, instead of it's typings as well. Maybe this is related to my particular project since we do some typescript magic for micro-fronts.
Environment
Zed 0.61.0 – /Applications/Zed.app
macOS 12.6
architecture arm64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issueNo response
The text was updated successfully, but these errors were encountered: