Use Visual Studio for custom script language -


we using commercial software has own scripting language can customize product. tedious write code in without ide , has own compiler.

is possible use visual studio , create environment me write scripts in language , of intellisense , syntax highlightning , other things find in ide? ideally bind button in vs launch external compiler , compile code don't have switch windows time well.

if possible hard thing accomplish?

yes, possible. need create visual studio shell add-in custom language services , text editors. need install appropriate visual studio sdk , you'd continue to:

you're allowed ship visual studio isolated shell application (license required , there limitations) users don't need have visual studio professional installed.

there number of open-source projects provide custom editor, language services etc in visual studio, these provide nice place research how things done, next teh visual studio sdk documentation:

you'll want dig msbuild well, since visual studio expect create project file if want edit collection of files , compile them. msbuild in turn call own compiler, calls csc compile c# code example.


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -