Skip to content

Commit 4d7ef75

Browse files
authored
Fix grammar in Refactoring documentation (#9525)
This PR fixes a grammatical error in the Refactoring documentation. Change: - "so that can reuse the code elsewhere" → "so that you can reuse the code elsewhere" This improves readability and corrects the sentence without changing its meaning.
1 parent 91b2323 commit 4d7ef75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/editing/refactoring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ MetaDescription: Refactoring source code in Visual Studio Code.
99

1010
![refactoring hero image](images/refactoring/refactoring-hero.png)
1111

12-
For example, a common refactoring used to avoid duplicating code (a maintenance headache) is the [Extract Method](https://refactoring.com/catalog/extractMethod.html) refactoring, where you select source code and pull it out into its own shared method, so that can reuse the code elsewhere.
12+
For example, a common refactoring used to avoid duplicating code (a maintenance headache) is the [Extract Method](https://refactoring.com/catalog/extractMethod.html) refactoring, where you select source code and pull it out into its own shared method, so that you can reuse the code elsewhere.
1313

1414
Refactorings are provided by a language service. VS Code has built-in support for TypeScript and JavaScript refactoring through the [TypeScript](https://www.typescriptlang.org/) language service. Refactoring support for other programming languages is enabled through VS Code [extensions](/docs/configure/extensions/extension-marketplace.md) that contribute language services.
1515

0 commit comments

Comments
 (0)