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

发布于 2024-08-12 08:43:47 字数 176 浏览 1 评论 0原文

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

我想知道是否可以扩展 Visual Studio 2008 IntelliSense 来处理自定义 DLR 语言的语法?

编辑:我决定绕过 VS2008 并以 VS2010 为目标。有关更多信息,请参阅已接受的答案。

I have just started writing my first language for the .NET 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?

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

心碎的声音 2024-08-19 08:43:47

Visual Studio 支持新语言的主要扩展方法是通过语言服务 VSPackage

Visual Studio 2010从根本上改进了支持新语言的能力,但如果您的扩展以该语言为目标,您将无法在旧版本中使用它。如果您为 Visual Studio 2008 编写语言服务,则也可以将其与 Visual Studio 2010 一起使用。除非您在支持 Visual Studio 2008 方面有牢固的经济联系,否则绝对跳过它并选择 2010。

这是我目前所知道的最好的公共链接:

我正在编写一组有关 Visual Studio 2010 支持的新文章,但它们尚未准备好,并且可能暂时不会。 :\ 如果您决定使用 Visual Studio 2008 语言服务,我在我的博客上有几篇文章主题。

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

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:

I'm working on a new set of articles about support for Visual Studio 2010, but they aren't ready yet, and likely won't be for a while. :\ If you decide to go with a Visual Studio 2008 language service, I have several entries on my blog on the subject.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文