Home > OS >  Is it possible to write a cross platform extension for both VSCode and Visual Studio 2022?
Is it possible to write a cross platform extension for both VSCode and Visual Studio 2022?

Time:09-20

My understanding is that in writing an extension for VSCode, the extension can be packaged as a VSIX file, which is what Visual Studio uses as the extension file.

Would the extension written for VSCode need to be entirely re-written for use on visual studio, or is there some way to provide some similar operation between both IDEs with less redundancy in a practically repeat codebase?

CodePudding user response:

As far as I know, VS Code extensions are javascript-based, while Visual Studio extensions are c#/.net based; I haven't heard of a way to write a single extension for both editors.

Having said that ...

is there some way to provide some similar operation between both IDEs with less redundancy in a practically repeat codebase?

Language Servers are meant to help with exactly that!

  • Related