How can I toggle word wrap in Visual Studio?

前端 未结 11 1948
失恋的感觉
失恋的感觉 2020-11-29 15:17

Does Visual Studio .NET have a way to toggle word-wrap on and off?

I am used to this feature in Eclipse which allows you to right click and toggle word wrap on and o

11条回答
  •  再見小時候
    2020-11-29 16:15

    Following https://docs.microsoft.com/en-gb/visualstudio/ide/reference/how-to-manage-word-wrap-in-the-editor

    When viewing a document: Edit / Advanced / Word Wrap (Ctrl+E, Ctrl+W)

    General settings: Tools / Options / Text Editor / All Languages / Word wrap

    Or search for 'word wrap' in the Quick Launch box.


    Known issues:

    If you're familiar with word wrap in Notepad++, Sublime Text, or Visual Studio Code, be aware of the following issues where Visual Studio behaves differently to other editors:

    1. Triple click doesn't select whole line
    2. Cut command doesn't delete whole line
    3. Pressing End key twice does not move cursor to end of line

    Unfortunately these bugs have been closed "lower priority". If you'd like these bugs fixed, please vote for the feature request Fix known issues with word wrap.

提交回复
热议问题