Skip to content

Commit 7999145

Browse files
authored
Merge pull request #14038 from anandmeg/freshness-june
Freshness pass
2 parents 67c12bb + 35d5504 commit 7999145

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

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

Lines changed: 7 additions & 9 deletions
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
3-
description: Enable word wrapping in Visual Studio to display code on multiple lines, or turn the feature off to see line numbers.
4-
ms.date: 05/31/2024
3+
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
55
ms.topic: how-to
66
helpviewer_keywords:
77
- word wrap
@@ -16,24 +16,22 @@ ms.subservice: general-ide
1616
---
1717
# Manage word wrap in the editor
1818

19-
You can set and clear the **Word wrap** option. When this option is set, the portion of a long line that extends beyond the current width of the Code Editor window is displayed on the next line. When this option is cleared, you can scroll to the right to see the ends of long lines. You might turn this option off to facilitate the use of line numbering.
19+
You can turn the **Word wrap** option on or off. When enabled, long lines that extend beyond the current width of the Code Editor window continue onto the next line. When disabled, you can scroll horizontally to view the rest of long lines. You can turn this option off to use line numbering.
2020

2121
## To set word wrap preferences
2222

23-
1. On the Visual Studio menu bar, select **Tools** > **Options**.
24-
25-
:::image type="content" source="media/vs-2022/tools-options-menu-bar.png" alt-text="Screenshot of the menu bar in Visual Studio with Tools and Options selected." lightbox="media/vs-2022/tools-options-menu-bar.png":::
26-
23+
1. Select **Tools** > **Options**.
2724
1. Select **Text Editor** > **All Languages** > **General** to set this option globally.
2825

2926
— or —
3027

31-
Select **Text Editor**, select the folder that matches the programming language that you're using. Then select the **General** folder. For example, select **Text Editor** > **C#** > **General**.
32-
28+
Select **Text Editor** > Programming language that you're using, for example, **C#** > **General**.
3329
1. Under **Settings**, select or clear the **Word wrap** option.
3430

3531
When you select the **Word wrap** option, the **Show visual glyphs for word wrap** option is enabled.
3632

33+
:::image type="content" source="media/vs-2022/word-wrap-setting.png" alt-text="Screenshot of the word wrap option in Text Editor Settings." lightbox="media/vs-2022/word-wrap-setting.png":::
34+
3735
> [!NOTE]
3836
> 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.
3937
56.4 KB
Loading

0 commit comments

Comments
 (0)