Reavert / VisualStudioDiscordRPC

Discord rich presence for Visual Studio with support for 2019 and 2022 versions.
https://marketplace.visualstudio.com/publishers/Ryavel
MIT License
74 stars 9 forks source link

LiveShare integration #5

Closed Reavert closed 1 year ago

Reavert commented 2 years ago

Is it possible to implement such a feature? LiveShare is also an extension for Visual Studio. How do I get access to installed extensions and their interfaces?

mikepattyn commented 2 years ago

I assume LiveShare is for real-time updates to discord?

Reavert commented 2 years ago

Yes. I want to make something like a button to connect to a Live Share session in real time.

mikepattyn commented 2 years ago

Yes. I want to make something like a button to connect to a Live Share session in real time.

I was asking because i have the impression that the Rich Presence either only works on vs2019 and vs2022 or that it doesn't update the active file name / extension / project. Currently it only shows the vs icon when installed into vs2022 preview

I started with refactoring the wrapper yesterday and making it ready for real time updates

mikepattyn commented 2 years ago

Ah so the built-in tool by microsoft for online collaboration in the same IDE, you want a button to join the team room? But what has this got to do with DiscordRPC i wonder. Honestlyy i think that's a extension on its own

Reavert commented 2 years ago

The LiveShare extension itself makes it possible to provide a link to a session that can be sent to a collaborator. I think it would be convenient to join a LiveShare session by simply clicking on a button in the Discord. Now the problem for me is figuring out how to access other installed extensions (because LiveShare comes as an extension)