Closed
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.62.1
- OS Version: Windows 11 Home (21H2)
Steps to Reproduce:
- Clone this minimal example
- Open file
/src/pages/test.jsx
- Focus the jsx-tag
<HelloWorlder />
- Invoke "Go To Definition" (Ctrl+Click / via context menu / F12)
- The focus jumps to the import statement in line 2
This behavior might be correct, but highly useless. This way, you have to always manually focus the imported filename and invoke the command again in order to open the corresponding file.
Also, this behavior does not occur when deleting the jsconfig.json
file.