Code Navigation not working from one file to another
tajain07 opened this issue · comments
Scenario:
File1.js -
<line:10> export const isOdd(n: number) : boolean {
return n%2 ===1;
}
File2.js -
<line:1> export {isOdd} from ./File1.js;
<line:2> const repsonse = isOdd(5);
Current behavior - Clicking on line:2 in File2.js takes us to line 1 in the same file i.e. File2.js
Expected/Right behavior - Clicking on line:2 in File2.js leads us to File1.js line:10. This is identical to the Visual Studio editor or any online multi-file editor, such as codesandbox, stackblitz, etc.
We are planning to use your repo in our organization code so can you please fix this asap?
Many thanks in advance!!!
you can try this gotodef in live-editor-example, I think it's jump to cc.ts line 1. Maybe there is another trouble?