Is it possible to set Wordwrap in WebStorm? I need to set by default all the files should be in wordwraping

前端 未结 5 1192
走了就别回头了
走了就别回头了 2021-01-31 13:06

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

I need to set by default all the file in word-wrapping like Notepad++.

5条回答
  •  失恋的感觉
    2021-01-31 14:00

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

    You can disable or enable this option on per file basis (until it's closed) via View | Active Editor | Use Soft Wraps

    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).


    P.S.

    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).

    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.

提交回复
热议问题