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

查看:66
本文介绍了如何在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天全站免登陆