Visual Studio 2017 年缩进指南着色
Visual Studio 2017 Indent Guide Coloring
在 Visual Studio 2015 年,我为缩进指南着色。
我似乎无法在 Visual Studio 2017 中找到此功能。是否有执行此操作的扩展程序?
字体和颜色中有一个选项可以更改所有指南的颜色。但我想要的是 2015 年的一样,它会根据大括号的 type/level 自动进行颜色编码(蓝色、绿色、蓝绿色、紫色等)。
VS2015 中没有内置此功能。它是由扩展程序添加的。
例如。来自 Productivity Power Tools.
的 "Structure Visualiser"
但是 2017 版内置了一个(较小的)功能,因此 Productivity PowerTools 2017 不包含此功能。 (它现在也是一组独立的扩展,而不是一个单一的工具。)
这在 blog post 部分进行了解释,请参阅 缺少什么?
还有一个名为 Indent Guides 的 Visual Studio 2015 的出色扩展,它运行得非常好。
它默认不兼容 VS2017,但您可以通过修改 vsix
文件中的扩展清单文件来解决这个问题:
1) Download IndentGuide v14.vsix for VS2015
2) Use 7-zip (or other archive utility) to open the .vsix file (which is actually a .zip)
3) Edit the extension.vsixmanifest file within the .vsix file
4) Make a copy of the whole VisualStudio Version="14.0" section
5) Change that new copy to VisualStudio Version="15.0"
6) Save the manifest, save the vsix.
7) Double-click the .vsix file to install it. Ignore the compatibility warning.
在德语版的 VS2017 Enterprise 中,您要查找的设置在选项/环境/字体和颜色中称为 "Strukturführungslinien"。我会用 "structurelines".
翻译它
我认为这正是你 want.This 是名为 "Indent Guides" 的扩展名。
'#'后面的数字代表不同级别的缩进指南。
我知道我的回答看起来很糟糕。请原谅我。作为一个新来的,我真的尽力了。
VS2017 原生。它被称为"Structure Guide Lines"
这真的应该是一个评论,但由于我没有足够的声誉来发表评论,"answer" 它是。
添加了用户语音以征求有关当前添加到 VS2017 的结构可视化器缺少功能的反馈。如果您有兴趣看到恢复这些功能,请投票。
在 Visual Studio 2015 年,我为缩进指南着色。
我似乎无法在 Visual Studio 2017 中找到此功能。是否有执行此操作的扩展程序?
字体和颜色中有一个选项可以更改所有指南的颜色。但我想要的是 2015 年的一样,它会根据大括号的 type/level 自动进行颜色编码(蓝色、绿色、蓝绿色、紫色等)。
VS2015 中没有内置此功能。它是由扩展程序添加的。
例如。来自 Productivity Power Tools.
的 "Structure Visualiser"但是 2017 版内置了一个(较小的)功能,因此 Productivity PowerTools 2017 不包含此功能。 (它现在也是一组独立的扩展,而不是一个单一的工具。)
这在 blog post 部分进行了解释,请参阅 缺少什么?
还有一个名为 Indent Guides 的 Visual Studio 2015 的出色扩展,它运行得非常好。
它默认不兼容 VS2017,但您可以通过修改 vsix
文件中的扩展清单文件来解决这个问题:
1) Download IndentGuide v14.vsix for VS2015
2) Use 7-zip (or other archive utility) to open the .vsix file (which is actually a .zip)
3) Edit the extension.vsixmanifest file within the .vsix file
4) Make a copy of the whole VisualStudio Version="14.0" section
5) Change that new copy to VisualStudio Version="15.0"
6) Save the manifest, save the vsix.
7) Double-click the .vsix file to install it. Ignore the compatibility warning.
在德语版的 VS2017 Enterprise 中,您要查找的设置在选项/环境/字体和颜色中称为 "Strukturführungslinien"。我会用 "structurelines".
翻译它我认为这正是你 want.This 是名为 "Indent Guides" 的扩展名。
'#'后面的数字代表不同级别的缩进指南。
我知道我的回答看起来很糟糕。请原谅我。作为一个新来的,我真的尽力了。
VS2017 原生。它被称为"Structure Guide Lines"
这真的应该是一个评论,但由于我没有足够的声誉来发表评论,"answer" 它是。
添加了用户语音以征求有关当前添加到 VS2017 的结构可视化器缺少功能的反馈。如果您有兴趣看到恢复这些功能,请投票。