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

Add source generator to VSIX #6821

Merged
merged 1 commit into from
Sep 13, 2022
Merged

Conversation

tmat
Copy link
Member

@tmat tmat commented Sep 12, 2022

Adds source generator and its dependencies to VSIX.

Roslyn change: dotnet/roslyn#63912

@tmat
Copy link
Member Author

tmat commented Sep 13, 2022

Need someone to hit the button, can't merge myself. Thanks!

@davidwengier
Copy link
Contributor

Is VS Mac on your radar anywhere? On this side it should be easy enough to add the files to the mpack, but I've no idea how the other side works. The code is probably in the vsmac repo, not Roslyn, I would expect.

@tmat
Copy link
Member Author

tmat commented Sep 13, 2022

@davidwengier Good point. Roslyn's code that loads analyzers from VSIX certainly does not work from VS Mac. Not sure if there is an equivalent code in VS Mac.

@davidwengier
Copy link
Contributor

Correct me if I'm wrong @chsienki, but I don't think VS Mac is blocking. Obviously the SDK is still going to get updates from this repo, so until there is some break in the compiler/tooling that means tooling no longer works with the SDK compiler, it's probably fine for VS Mac to lag a little. Plus I suspect such a break is undesirable for lots of other reasons. And besides that, the LSP editor is still behind a feature flag.

@jaredpar
Copy link
Member

it's probably fine for VS Mac to lag a little.

I agree it's fine to lag a little but would like to know what the plan is there.

@chsienki
Copy link
Contributor

chsienki commented Sep 13, 2022

Yeah, in the immediate/short term this doesn't affect VSMac or VSCode, they'll keep loading it from the SDK. In the near future we're going to want to do the same thing for them as well though. I'm working on figuring out the overall architecture which should give us a good idea of how we want to achieve that. I'll open a couple of issues to track that specific work though so we don't forget about it:

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

Successfully merging this pull request may close these issues.

5 participants