Code navigation for codecept BDD framework

I am working on a codeceptJS based BDD framework with features → steps → pages. How to do we navigate the code in Visual code. ctrl+click is not working on the gherkin/step definitions, making it almost impossible to code. I tried typescripting by npx codeceptjs def, but that only seems to help with codeceptJS helper methods.

Would really appreciate any help to circumvent this issue.

Thank you!