一千萬個為什麽

搜索

如何在Visual Studio中切換文字換行?

Visual Studio .NET是否可以打開或關閉換行符?

I am used to this feature in Eclipse which allows you to right click and toggle word wrap on and off so that when you have long lines that extend out to the right, you don't have to move the bottom scroll bar right and left to read your code/html: http://ahtik.com/blog/2006/06/18/first-alpha-of-eclipse-word-wrap-released/

最佳答案

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

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

或者在快速啟動框中搜索“自動換行”。


已知的問題:

  1. 啟用自動換行功能後,三次點擊不會選擇整行
  2. 按兩次結束鍵應將光標移動到邏輯行結束處
  3. 剪切命令應刪除邏輯行

如果您希望修復這些問題,請為此投票。

轉載註明原文: 如何在Visual Studio中切換文字換行?