DiscordRPCVS
DiscordRPCVS copied to clipboard
Focusing on another window that's not the text editor causes RPC issues
When, for instance, editing a .cs file within the text editor, this will include the information about the file and the language. However, if another window is focused, RPC will change to the simple "Developing" state.
This occurs when focusing on a window in VS that's not a text editor.
This could be prevented by checking windowActivated.Type
for the text editor.
https://github.com/Swan/DiscordRPCVS/blob/2618e5d51b671c9ef254469e4af76ba846cc5306/discord-rpc-vs/DiscordRPCVSPackage.cs#L139