如何更改 Visual Studio 空白设置?

发布于 2024-07-07 22:36:37 字数 45 浏览 5 评论 0原文

我在 Visual Studio 代码编辑器中显示了空白字符,我想将其删除。

I have whitespace characters showing in the Visual Studio code editor, and I'd like to remove them.

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

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

发布评论

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

评论(4

三生池水覆流年 2024-07-14 22:36:37

Ajryan 是正确的,但根据您的个人资料,此菜单项可能会被遮挡。 不过,键盘快捷键应该仍然有效。 Ctrl+R,Ctrl+W

Ajryan is correct but depending on your profile this menu item may be obscured. The keyboard shortcut should still work though. Ctrl+R,Ctrl+W

寄人书 2024-07-14 22:36:37

您需要关闭显示空白字符。 菜单:编辑> 高级> 查看空白。

You need to turn off showing whitespace characters. Menu: Edit > Advanced > View White Space.

柒七 2024-07-14 22:36:37

如果是VS2008则可以使用Ctrl+ES组合进行切换。

If it is VS2008 then you can use Ctrl+E, S combination to toggle.

聊慰 2024-07-14 22:36:37

对于 Visual Studio 2019

  • 打开/关闭 - 选项 1:Ctrl+RCtrl+ W
  • 切换开/关 - 选项 2:Edit > 高级> 查看空白
  • 更改外观:工具 > 选项> 环境> 字体和颜色> 可见空白(靠近列表顶部,可能是因为它是常用的设置)

For Visual Studio 2019:

  • Toggle on/off - Option 1: Ctrl+R,Ctrl+W
  • Toggle on/off - Option 2: Edit > Advanced > View White Space
  • Change appearance: Tools > Options > Environment > Fonts and Colors > Visible White Space (near top of list, probably because it is a commonly used setting)
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文