-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't require a global install of cadl for the IDE extension to work #1197
Don't require a global install of cadl for the IDE extension to work #1197
Conversation
7c0fc0a
to
7a1995c
Compare
You can try these changes at https://cadlplayground.z22.web.core.windows.net/prs/1197/ Check the website changes at https://cadlwebsite.z1.web.core.windows.net/prs/1197/ |
For VS, it might not be too difficult to do a parent folder walk like resolveModule? Might capture more cases (such as opening a subfolder of a monorepo). |
yeah I guess that's right we don't need to have most of the resolveMOdule functionality just traverse parent up. I'll update |
fix #1116
Vscode extension calls out to resolveModule to get a better result(lookup in parent dir)
VS is more basic and only lookup in
./node_modules/@cadl-lang/compiler