Visual Studio 2015 社区版不支持实时代码分析器吗?

Visual Studio 2015 社区版不支持实时代码分析器吗?

问题描述:

我有 Visual Studio 2015 专业版(在 Windows 7 中)和 Visual Studio 2015 社区(在 Windows 10 中),两者都安装了最新的更新 1.我让他们都打开了完全相同的解决方案.这两个工具还安装了 Refactoring Essentials for Visual Studio 插件.

I have a Visual Studio 2015 professional (in Windows 7) and Visual Studio 2015 community (in Windows 10), both of have latest update 1 installed. And I have both of them opened the exactly same solution. Both tools also have Refactoring Essentials for Visual Studio plug-in installed.

在专业版中,我可以清楚地看到实时代码分析器确实有效:您可以在文件、文件夹、项目和解决方案下看到波浪线.当我将鼠标悬停在上面时,我可以在编译代码之前预览问题.

In professional edition I can clearly see live code analyzer actually works: You can see the wave lines under files, folders, projects and solution. When I hover mouse over then I can preview the issue before I compile the code.

但是在社区版中,根本没有这样的事情发生:

However in community edition, no such thing happens at all:

微软这样做是为了限制社区版的功能吗?上次我听说社区版应该同样支持 Roslyn.

Does Microsoft do this deliberately to limit the feature of community edition? Last time I heard Roslyn should be equally supported in community edition.

据我所知,Roslyn 代码分析器应该可以在 VS 2015 Community Edition 中使用.但是,在整个解决方案资源管理器中突出显示错误是由与您提到的不同的扩展处理的 - 它是 Productivity Power Tools 2015.

From what I learned, Roslyn code analyzers should work in VS 2015 Community Edition. However, highlighting errors in the whole Solution Explorer is handled by a different extension than you have mentioned - it is Productivity Power Tools 2015.