Navigate to parent file shortcut key

I am looking for a shortcut I need in js/react projects. Lets say I have an:

index.tsx

```

import Btn frm ./Btn.tsx

export default function() { render <Btn/>});
```

 

Btn.tsx

```

export default Btn = () =><button>test</button>;
```

 

In Btn.tsx, I want to navigate to `index.tsx` from `Btn.tsx` with a shortcut. Is there a shortcut for this? I couln't find it

0

you can try searching for btn usages (see what shortcut is assigned to Edit > Find Usages > Find Usages in your keymap)

0

请先登录再写评论。