phpstorm中的自动换行 [英] Word wrapping in phpstorm
问题描述
如何在phpstorm中启用自动换行?我只需要为我的某些文件(扩展名为.txt)启用它.有可能吗?
How can I enable Word wraping in phpstorm? I need to enable it only for some of my files (with extension .txt). Is is possible?
推荐答案
对于所有文件(打开文件的默认设置):Settings/Preferences | Editor | General | Use soft wraps in editor
For all files (default setting for opened file): Settings/Preferences | Editor | General | Use soft wraps in editor
对于编辑器中当前打开的文件:Menu | View | Active Editor | Use Soft Wraps
For currently opened file in editor: Menu | View | Active Editor | Use Soft Wraps
在最新的IDE版本中,您还可以通过上下文菜单访问编辑器装订线区域(在编辑器左侧具有行号的区域).
In latest IDE versions you can also access this option via context menu for the editor gutter area (the area with line numbers on the left side of the editor).
Search Everywhere
( Shift 2x次)或Help | Find Action...
(在Windows上使用默认键映射的 Ctrl + Shift + A )来快速更改此选项(而不是进入设置/首选项".
Search Everywhere
(Shift 2x times) or Help | Find Action...
( Ctrl + Shift+ A on Windows using Default keymap) can also be used to quickly change this option (instead of going into Settings/Preferences).
这篇关于phpstorm中的自动换行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!