Skip to content

Commit 91e2870

Browse files
Merge pull request #10780 from TerryGLee/tglee-fresh32
(freshness) add VS Code info to Find & Replace Text page
2 parents 13f5a3b + 64a8215 commit 91e2870

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/ide/finding-and-replacing-text.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Find and replace text, and multi-caret selection
33
description: Learn about the Find and Replace feature and how to use it to find and replace instances of a pattern.
44
ms.custom: SEO-VS-2020
5-
ms.date: 02/01/2022
5+
ms.date: 01/12/2023
66
ms.topic: conceptual
77
f1_keywords:
88
- vs.find
@@ -38,10 +38,13 @@ ms.workload:
3838

3939
[!INCLUDE [Visual Studio](~/includes/applies-to-version/vs-windows-only.md)]
4040

41-
You can find and replace text in the Visual Studio editor by using [Find and Replace](#find-and-replace-control) (**Ctrl**+**F** or **Ctrl**+**H**) or [Find/Replace in Files](#find-in-files-and-replace-in-files) (**Ctrl**+**Shift**+**F** or **Ctrl**+**Shift**+**H**). You can also find and replace only *some* instances of a pattern by using *[multi-caret selection](#multi-caret-selection)*.
41+
You can find and replace text in the Visual Studio editor by using [Find and Replace](#find-and-replace-control) (**Ctrl**+**F** or **Ctrl**+**H**) or [Find/Replace in Files](#find-in-files-and-replace-in-files) (**Ctrl**+**Shift**+**F** or **Ctrl**+**Shift**+**H**). You can also find and replace *some* instances of a pattern by using *[multi-caret selection](#multi-caret-selection)*.
42+
43+
> [!NOTE]
44+
> The content on this page applies to Visual Studio. If you're looking for information that's specific to Visual Studio Code—also known as **VS Code**—see the [**Find and Replace**](https://code.visualstudio.com/docs/editor/codebasics#_find-and-replace) section of the [Basic Editing](https://code.visualstudio.com/docs/editor/codebasics) page in the [Visual Studio Code](https://code.visualstudio.com/docs) docs.
4245
4346
> [!TIP]
44-
> If you're renaming code symbols such as variables and methods, it's better to *[refactor](../ide/reference/rename.md)* them than to use find-and-replace. Refactoring is intelligent and understands scope, whereas find-and-replace blindly replaces all instances.
47+
> In [Visual Studio](../get-started/visual-studio-ide.md), if you're renaming code symbols such as variables and methods, it's better to *[refactor](../ide/reference/rename.md)* them than to use find-and-replace. Refactoring is intelligent and understands scope, whereas find-and-replace blindly replaces all instances.
4548
4649
Find-and-replace functionality is available in the editor, in certain other text-based windows such as the **Find Results** windows, in designer windows such as the XAML designer and Windows Forms designer, and in tool windows.
4750

0 commit comments

Comments
 (0)