Skip to content

Commit 9f78a17

Browse files
committed
Add word wrap indentation
1 parent 79a7ff4 commit 9f78a17

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

docs/ide/reference/how-to-manage-word-wrap-in-the-editor.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Toggle word wrap to see long code or line numbers
33
description: Enable word wrapping to display code on multiple lines, or turn the feature off to see line numbers.
4-
ms.date: 06/27/2025
4+
ms.date: 07/28/2025
55
ms.topic: how-to
66
helpviewer_keywords:
77
- word wrap
@@ -35,6 +35,16 @@ You can turn the **Word wrap** option on or off. When enabled, long lines that e
3535
> [!NOTE]
3636
> The **Show visual glyphs for Word Wrap** option displays a return-arrow indicator where a long line wraps onto a second line. These reminder arrows are not added to your code. They are for display purposes only.
3737
38+
## To indent word wrap
39+
40+
To change word wrap indentation:
41+
42+
1. Go to **Tools > Options > Text Editor > General**.
43+
1. Under **Display**, select or clear the **Automatically indent when word wrap is enabled** option.
44+
45+
By default, word wrap indentation is enabled. If you prefer your wrapped lines not be indented, simply uncheck this option.
46+
Use this setting to help improve readability and maintain the desired formatting of your code.
47+
3848
## Known issues
3949

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

0 commit comments

Comments
 (0)