如何实现在VS2008自定义DLR语言智能感知支持?自定义、如何实现、语言、智能

2023-09-03 17:27:56 作者:叚裝吥帥ヾ

我刚开始写我的第一语言为.NET DLR。

I have just started writing my first language for the .NET DLR.

我想知道是否有可能延长Visual Studio 2008的智能感知来处理自定义的DLR语言的语法?

I would like to know if it is possible to extend Visual Studio 2008 IntelliSense to handle the syntax of a custom DLR language?

编辑:我已决定绕过VS2008和目标VS2010代替。见接受的答案以获取更多信息。

I have decided to bypass VS2008 and target VS2010 instead. See accepted answer for more information.

推荐答案

Visual Studio的主要扩展方法,用于支持新的语言通过的语言服务在 VSPackage的。

Visual Studio's primary extensibility method for supporting new languages is through Language Services in a VSPackage.

Visual Studio 2010中具有的的根本的改进,以支持新的语言,但如果针对您的扩展它,你将不能够使用它在旧版本的能力。如果你写的Visual Studio 2008的语言服务,你就可以使用它与V​​isual Studio 2010为好。除非你有一定的强烈的金融纽带,以支持Visual Studio 2008中,绝对跳过它,去为2010。

Visual Studio 2010 has radically improved the ability to support a new language, but if target your extension to it you will not be able to use it in older versions. If you write a language service for Visual Studio 2008, you'll be able to use it with Visual Studio 2010 as well. Unless you have some strong financial ties to supporting Visual Studio 2008, definitely skip it and go for 2010.

下面是我所知道的,现在最好的公立链接:

Here is the best public link I know of right now:

Django的编辑在VS 2010中 - 第1部分(颜色)(这是一个7部系列在其博客上的第一项) Django Editor in VS 2010 – Part 1 (Colors) (This is the first entry of a 7-part series on his blog.)

我的工作了一套新的关于支持文章为Visual Studio 2010,但他们还没有准备好,而且可能不会是一会儿。 :\如果你决定去与Visual Studio 2008的语言服务,我有href="http://blog.280z28.org/" rel="nofollow">我的博客在上