如何在 VS Code 中默认打开文本换行 [英] How do I turn on text wrapping by default in VS Code

查看:37
本文介绍了如何在 VS Code 中默认打开文本换行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通常当我使用 VS Code 时,我在新文档上做的第一件事是命令:切换自动换行"或 Alt+Z.我尝试查看用户设置,但没有找到任何相关条目.默认情况下,有没有办法让每个文档的文本换行打开"?

Usually when I use VS Code, very first thing I do on new document is command: "Toggle Word Wrap" or Alt+Z. I tried looking into User Settings, but I didn't find any relevant entries. Is there some way to have text wrapping 'on' for every document by default?

推荐答案

现在设置为 "editor.wordWrap": "on" 我设置为on"(默认为off"") 并在 Visual Studio Code 中激活我所有文档的自动换行.

The setting is now "editor.wordWrap": "on" which I set to "on" (the default is "off") and that activates word wrap on all my documents in Visual Studio Code.

请参阅关于自动换行更改的发行说明,了解更多信息信息.

See the release notes about Word Wrap changes for more info.

这篇关于如何在 VS Code 中默认打开文本换行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆