In Visual Studio Code when the cursor is on a TSX tag I would like to be able to jump to the closing tag, as that might be quite a bit away from the start tag:
<MyComponent
prop1="someValue"
prop2={someOtherValue}
>
<OtherComponent1 />
{/* Some other code, many more lines... */}
</MyComponent>
So how can I jump to </MyComponent>
when the cursor is within the first 4 lines of <MyComponent>
and vice versa?
I already stumbled across this SO question, but Ctrl + Shift + P --> "Emmet: Go to Matching Pair" does not work. Searching the Marketplace for an appropriate VS Code Extension also revealed no result.
Is it possible at all?
Edit:
Changed <MyComponent>
to not be self-closing anymore.