tail -f ~/Library/Logs/Zed/Zed.log
to capture logscd
into wherever you clone'd this repozed
to open the clone'd repo in Zed- Open
example-subdir/index.ts
file - Zed logs should say:
Using Typescript version (user-setting) 5.3.3 from path \"/Users/exampleuser/bug_zed-typescript-detection/node_modules/typescript/lib/tsserver.js\"
- Close Zed
zed example-subdir/
to open the sub directory in Zed- Open
example-subdir/index.ts
file - Zed logs should say:
Using Typescript version (user-setting) 4.9.5 from path \"/Users/exampleuser/bug_zed-typescript-detection/example-subdir/node_modules/typescript/lib/tsserver.js\"
- Conclusion: Zed is searching the TypeScript version to use closest to the "root/project" directory rather than the closest version to the file being opened.
- Expected: Zed should use the TypeScript version closest to the file being opened.