How to write a Visual Studio extension for a template or markup language that supports embedded code snippets

橙三吉。 提交于 2019-11-30 17:33:07

You should take a look at https://github.com/SparkViewEngine/SparkSense as an example. It was built for the spark view engine to provide intellisense for VS 2010.

"SparkSense is a plugin for Visual Studio 2010 that enables various tooling support and productivity features when using Spark as a View Engine for various MVC frameworks including ASP.NET MVC"

you can write your own editor extension, see this article : http://www.devx.com/VS_2010/Article/45058

And to understand how it works : http://msdn.microsoft.com/en-us/library/dd885240(v=VS.100).aspx

Do research about "Managed Extensibility Framework (MEF) "

You can download an exemple for the Ook langage here

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!