Skip to content

Commit 4452286

Browse files
committed
Add improvements
1 parent ed4a6d2 commit 4452286

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

docs/cody/capabilities/auto-edit.mdx

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The auto-edit feature can help you with various repetitive tasks in your code:
4141
- **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.
4242
- **Type system modifications**: Auto-edit identifies and suggests consistent changes across your codebase when updating type definitions or interfaces. This includes updating variable declarations, function parameters, and return types to maintain type consistency.
4343

44-
Auto-edit is supported by both Cody VS Code and JetBrains plugins.
44+
Auto-edit is supported by both Cody VS Code, JetBrains, and Visual Studio plugins.
4545

4646
<Tabs>
4747
<Tab title="VS Code">
@@ -56,9 +56,8 @@ Site admins can opt their organization out of the auto-edit feature by disabling
5656

5757
### Configure auto-edit access
5858

59-
Auto-edit is available as default for Enterprise customers with [Sourcegraph Cody Gateway](/cody/core-concepts/cody-gateway#sourcegraph-cody-gateway) access. To **disable** or configure the auto-edit feature, site administrators must do the following steps:
59+
Auto-edit is available as default for Enterprise customers with [Sourcegraph Cody Gateway](/cody/core-concepts/cody-gateway#sourcegraph-cody-gateway) access. To configure auto-edit:
6060

61-
- To disable auto-edit, turn off the feature flag `cody-autoedit-experiment-enabled-flag` as disabled
6261
- Add `fireworks::*` as an [allowed provider](https://sourcegraph.com/docs/cody/enterprise/model-configuration#model-filters)
6362

6463
The following example demonstrates how to add Fireworks as an allowed LLM provider:
@@ -85,6 +84,10 @@ The following example demonstrates how to add Fireworks as an allowed LLM provid
8584
}
8685
```
8786

87+
#### Disable auto-edit
88+
89+
To disable auto-edit, turn off the feature flag `cody-autoedit-experiment-enabled-flag` as disabled
90+
8891
</Tab>
8992

9093
<Tab title="JetBrains">
@@ -105,9 +108,8 @@ Site admins can opt their organization out of the auto-edit feature by disabling
105108

106109
### Configure auto-edit access
107110

108-
Auto-edit is available as default for Enterprise customers with [Sourcegraph Cody Gateway](/cody/core-concepts/cody-gateway#sourcegraph-cody-gateway) access. To **disable** or configure the auto-edit feature, site administrators must do the following steps:
111+
Auto-edit is available as default for Enterprise customers with [Sourcegraph Cody Gateway](/cody/core-concepts/cody-gateway#sourcegraph-cody-gateway) access. To configure auto-edit:
109112

110-
- To disable auto-edit, turn off the feature flag `cody-autoedit-experiment-enabled-flag` as disabled
111113
- Add `fireworks::*` as an [allowed provider](https://sourcegraph.com/docs/cody/enterprise/model-configuration#model-filters)
112114

113115
The following example demonstrates how to add Fireworks as an allowed LLM provider:
@@ -134,6 +136,10 @@ The following example demonstrates how to add Fireworks as an allowed LLM provid
134136
}
135137
```
136138

139+
#### Disable auto-edit
140+
141+
To disable auto-edit, turn off the feature flag `cody-autoedit-experiment-enabled-flag` as disabled
142+
137143
</Tab>
138144

139145
<Tab title="Visual Studio">
@@ -153,9 +159,8 @@ You can opt out and switch back to autocomplete by deselecting it from the Cody
153159

154160
### Configure auto-edit access
155161

156-
Auto-edit is available as default for Enterprise customers with [Sourcegraph Cody Gateway](/cody/core-concepts/cody-gateway#sourcegraph-cody-gateway) access. To **disable** or configure the auto-edit feature, site administrators must do the following steps:
162+
Auto-edit is available as default for Enterprise customers with [Sourcegraph Cody Gateway](/cody/core-concepts/cody-gateway#sourcegraph-cody-gateway) access. To configure auto-edit:
157163

158-
- To disable auto-edit, turn off the feature flag `cody-autoedit-experiment-enabled-flag` as disabled
159164
- Add `fireworks::*` as an [allowed provider](https://sourcegraph.com/docs/cody/enterprise/model-configuration#model-filters)
160165

161166
The following example demonstrates how to add Fireworks as an allowed LLM provider:
@@ -182,6 +187,10 @@ The following example demonstrates how to add Fireworks as an allowed LLM provid
182187
}
183188
```
184189

190+
#### Disable auto-edit
191+
192+
To disable auto-edit, turn off the feature flag `cody-autoedit-experiment-enabled-flag` as disabled
193+
185194
</Tab>
186195
</Tabs>
187196

0 commit comments

Comments
 (0)