Skip to content
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

Bundle default fallback compiler with vscode extension #710

Open
nguerrera opened this issue Jul 12, 2022 · 3 comments
Open

Bundle default fallback compiler with vscode extension #710

nguerrera opened this issue Jul 12, 2022 · 3 comments
Milestone

Comments

@nguerrera
Copy link
Contributor

nguerrera commented Jul 12, 2022

Once we're in the marketplace, it will be really nice if basic scenarios can work without installing a cadl compiler via npm.

We should bundle a language server+compiler with the extension and update the logic so that if it doesn't find a compiler, it uses the one inside the package.

@timotheeguerin
Copy link
Member

timotheeguerin commented Jul 12, 2022

the one thing with this is then this only work if you need no libraries at all (or those also needs to be bundled with)

@nguerrera
Copy link
Contributor Author

See also #711. I was thinking you'd get the core language working, then you do import "@foo/bar" then Ctrl+. on the squiggle and it offers to npm install it for you.

That seems like it would make a nice demo that doesn't involve command line installs. But, I was hoping this might unblock using vscode.dev directly, but we wouldn't be able to install libs in there would we?

@timotheeguerin
Copy link
Member

I see, that would make sense

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants