-
Notifications
You must be signed in to change notification settings - Fork 12
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
Support the new C# Editor #252
Comments
Hi. This is definitely on my list of stuff to do but I'm not sure where to start with it either :) It's further complicated by having both editors in VS for Mac 2019. We probably need to support both editors until the old one is deprecated. |
Here is a transcript of a chat I had on Slack with some of the guys who worked on the new editor. Maybe it helps.
|
To get an Addin assembly loaded into MEF
|
Hi, I just upgraded to VSMac 8.1 build 2306, where the new C# editor has been made the default. As this is a Preview build, I switched back to the Stable channel and now life is good again. This is an important plugin! - will the version that supports the new editor be available soon, please? |
@corliss I have a build ready that should work with 8.1 soon. Not the new editor though - that will take a lot longer. |
|
The way that I debug is to launch a 2nd instance of VSMac from one running the XSVim source code - like this (Make sure that the XSVim branch that you are on is compatible with the version of VSMac - branch 81 for VSMac 8.1 and check the paths): Also, it's possible to debug unit tests using just a single instance.
No, sorry. Take a look in the log file and see if you can spot any exceptions.
You know about as much as me now :)
I'm not 100% sure, but I did think about having 2 separate Addins. At some point the new editor will work for all file types.
I spoke to @jaredpar about this. This is what he had to say about it.
It might be easier to port VSVim to Mac than it is to port XSVim to the new editor. I don't really have much idea of how much effort that would be at this point, especially as I'm not familiar at all with how the new editor works.
|
@corliss Not sure how you managed to comment from the future 🙂 My reply has finished above your last comment :) |
Let's hope git doesn't have the same reordering problems as GitHub! I deleted my previous comment since it appeared after this one, too. Thanks for the detailed response. VsVim deserves a closer look - from the above it looks like it is already platform-independent, just requiring a host implementation. If you could please update this issue when a smoke-tested version of the 8.1 plugin is available I will upgrade again and start experimenting. Cheers. |
@nosami have you had the time to work on updating XSVim to work with 8.1? is there a way to get XSVim working without installing the old version of VSMac? |
@bmatzelle There is a version of XSVim that works with 8.1 but you need to make sure that you use the old editor (the new editor is the default in 8.1) |
That did it. Thanks! |
I am working on porting VSVim to Mac here I guess this extension won't be needed at some point in the future as the old editor is used less and less. |
Since VS for Mac 2019 has the new C# Editor that uses the same core from VS 2019 with a lot of improvements, probably everyone will start using the new editor when it leaves preview, so having XSVim working with that is a must. Actually, that is exactly why I am not using the new editor ATM.
Are you working on this already? Do you have any guideline if anyone wants to start working on this?
The text was updated successfully, but these errors were encountered: