Skip to content

Commit c438e0e

Browse files
committed
fix(auto-edit): improve wording and consistency in feature description
1 parent c11b266 commit c438e0e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/cody/capabilities/auto-edit.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ In terms of feature-set and functionality, auto-edit and autocomplete have some
5252

5353
The auto-edit feature can help you with various repetitive tasks in your code:
5454

55-
- **Function signature refactoring**: Automatically suggests adding error returns, new parameters, or changing return types across function definitions. For example, when you modify a function to return both a value and an error, auto-edits helps update the function signature.
55+
- **Function signature refactoring**: Automatically suggests adding error returns, new parameters, or changing return types across function definitions. For example, when you modify a function to return both a value and an error, auto-edit helps update the function signature.
5656
- **Call site updates**: When you change a function's signature, auto-edit detects all locations where the function is called and suggests necessary modifications to match the new signature. This includes updating parameter orders, adding error handling, and adjusting return value usage.
57-
- **Test file maintenance**: Helps with repetitive updates in test files, such as modifying test assertions, updating mock objects, or changing test data structures. Auto-edits recognizes patterns from your recent changes and suggests similar modifications across related tests.
58-
- **Parameter refactoring**: Assists in adding, removing, or reorganizing function parameters. When you unpack a function to handle more cases, auto-edits helps restructure the parameter list and suggests corresponding changes at call sites.
59-
- **Type system modifications**: When updating type definitions or interfaces, auto-edits identifies and suggests consistent changes across your codebase. This includes updating variable declarations, function parameters, and return types to maintain type consistency.
57+
- **Test file maintenance**: Helps with repetitive updates in test files, such as modifying test assertions, updating mock objects, or changing test data structures. Auto-edit recognizes patterns from your recent changes and suggests similar modifications across related tests.
58+
- **Parameter refactoring**: Assists in adding, removing, or reorganizing function parameters. When you unpack a function to handle more cases, auto-edit helps restructure the parameter list and suggests corresponding changes at call sites.
59+
- **Type system modifications**: When updating type definitions or interfaces, auto-edit identifies and suggests consistent changes across your codebase. This includes updating variable declarations, function parameters, and return types to maintain type consistency.
6060

6161
## Known limitations
6262

0 commit comments

Comments
 (0)