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

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -