You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cody/capabilities/auto-edit.mdx
+16-7Lines changed: 16 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ The auto-edit feature can help you with various repetitive tasks in your code:
41
41
-**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.
42
42
-**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.
43
43
44
-
Auto-edit is supported by both Cody VS Codeand JetBrains plugins.
44
+
Auto-edit is supported by both Cody VS Code, JetBrains, and Visual Studio plugins.
45
45
46
46
<Tabs>
47
47
<Tabtitle="VS Code">
@@ -56,9 +56,8 @@ Site admins can opt their organization out of the auto-edit feature by disabling
56
56
57
57
### Configure auto-edit access
58
58
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:
60
60
61
-
- To disable auto-edit, turn off the feature flag `cody-autoedit-experiment-enabled-flag` as disabled
62
61
- Add `fireworks::*` as an [allowed provider](https://sourcegraph.com/docs/cody/enterprise/model-configuration#model-filters)
63
62
64
63
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
85
84
}
86
85
```
87
86
87
+
#### Disable auto-edit
88
+
89
+
To disable auto-edit, turn off the feature flag `cody-autoedit-experiment-enabled-flag` as disabled
90
+
88
91
</Tab>
89
92
90
93
<Tabtitle="JetBrains">
@@ -105,9 +108,8 @@ Site admins can opt their organization out of the auto-edit feature by disabling
105
108
106
109
### Configure auto-edit access
107
110
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:
109
112
110
-
- To disable auto-edit, turn off the feature flag `cody-autoedit-experiment-enabled-flag` as disabled
111
113
- Add `fireworks::*` as an [allowed provider](https://sourcegraph.com/docs/cody/enterprise/model-configuration#model-filters)
112
114
113
115
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
134
136
}
135
137
```
136
138
139
+
#### Disable auto-edit
140
+
141
+
To disable auto-edit, turn off the feature flag `cody-autoedit-experiment-enabled-flag` as disabled
142
+
137
143
</Tab>
138
144
139
145
<Tabtitle="Visual Studio">
@@ -153,9 +159,8 @@ You can opt out and switch back to autocomplete by deselecting it from the Cody
153
159
154
160
### Configure auto-edit access
155
161
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:
157
163
158
-
- To disable auto-edit, turn off the feature flag `cody-autoedit-experiment-enabled-flag` as disabled
159
164
- Add `fireworks::*` as an [allowed provider](https://sourcegraph.com/docs/cody/enterprise/model-configuration#model-filters)
160
165
161
166
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
182
187
}
183
188
```
184
189
190
+
#### Disable auto-edit
191
+
192
+
To disable auto-edit, turn off the feature flag `cody-autoedit-experiment-enabled-flag` as disabled
0 commit comments