是否可以在 WebStorm 中设置 Wordwrap?我需要默认设置所有文件都应该是自动换行 [英] Is it possible to set Wordwrap in WebStorm? I need to set by default all the files should be in wordwraping

查看:25
本文介绍了是否可以在 WebStorm 中设置 Wordwrap?我需要默认设置所有文件都应该是自动换行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法为所有新/现有文件设置自动换行.

is there any way to set word-wrap for all new/existing files should be in word-wrapping.

我需要将所有文件默认设置为自动换行,如 notepadd++.

i need to set by default all the file in word-wrapping like notepadd++.

提前致谢.

推荐答案

设置/首选项 |编辑 |一般 |在编辑器中使用软包装 -- 此设置会影响所有文件.

Settings/Preferences | Editor | General | Use soft wraps in editor -- this setting affects all files.

您可以通过查看|逐个文件禁用或启用此选项(直到它关闭)活动编辑器 |使用软包装

更新的版本(与回答此问题时可用的版本相比)也在编辑器的装订线菜单中提供这些选项(右键单击行号/断点/等所在的区域).

More recent version (compared to the versions available when this question was answered) also have these options available in the Editor's gutter menu (right click in the area where the line numbers/breakpoints/etc are).

附言

设置屏幕有一个非常好的功能——快速搜索框(左上角)——它确实很神奇.它允许您通过名称(关键字)快速缩小特定设置的搜索范围.

Settings screen has very nice feature -- quick search box (top left corner) -- it does wonders. It allows you to quickly narrow the search scope of the specific setting by it's name (keyword).

您还可以使用随处搜索"(Shift 两次)以及查找操作"(Help | Find Action... Ctrl +Shift + A) 以搜索单个设置.

You can also use "Search anywhere" (Shift two times) as well as "Find Action" (Help | Find Action... Ctrl + Shift + A) to search for individual settings.

这篇关于是否可以在 WebStorm 中设置 Wordwrap?我需要默认设置所有文件都应该是自动换行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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