Visual Studio 2010 可扩展性、MPF 和语言服务 [英] Visual Studio 2010 Extensibility, MPF and language services

查看:33
本文介绍了Visual Studio 2010 可扩展性、MPF 和语言服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试扩展 Visual Studio 2010 RC 以便能够使用自定义编程语言.

I am trying to extend Visual Studio 2010 RC to be able to use a custom programming language.

我尝试做的前两件事是语法高亮/智能感知功能(很容易完成,感谢来自 PDC09 的Ook!"示例)和创建新项目模板的可能性(即能够打开 *.myproj 文件).

The first two things I've tried to do is a syntax highlight/Intellisense feature (easily done, thanks to "Ook!" sample from PDC09) and a possibility to create new project templates (i.e. be able to open *.myproj files).

对于第二个任务,我找不到任何简单的教程或示例.大多数示例适用于 Visual Studio 2008(如 IronPython 集成)甚至 VS2003.VS2010 提供的少数几个示例无法运行(包括 MPFProj)或无法编译,太难理解了.

For this second task, I can't find any easy tutorials or samples. Most samples are for Visual Studio 2008 (as for IronPython integration) or even VS2003. The few samples available for VS2010 do not work (including MPFProj) or do not compile, and are too hard to understand.

是否有任何易于理解的示例,无论是使用 MPFProj 还是独立的解决方案,展示如何在 Visual Studio 2010 中集成自定义语言的模板?

Is there any easy-to-understand sample, either using MPFProj or a standalone solution, showing how to integrate templates for a custom language inside Visual Studio 2010?

推荐答案

似乎MSDN 内容 现在是最新的,并且很好地解释了如何做我需要的事情.顺便说一下,MSDN 教程 现在可用于 Visual Studio 2010(从 Visual Studio 2008 的旧版本重写).

Seems that MSDN content is now up-to-date, and explains quite well how to do what I need. By the way, the MSDN tutorial is now available for Visual Studio 2010 (rewritten from an older version for Visual Studio 2008).

这篇关于Visual Studio 2010 可扩展性、MPF 和语言服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆