Skip to content

Commit a088eec

Browse files
authored
Updated editorId Property to editorIds open_in_editor.mdx
The editorId property has been updated to editorIds. The use of the editorId property will now result in an error, as it is no longer supported. Updating the configurations to use the new editorIds list format to avoid issues.
1 parent 63ba6e7 commit a088eec

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/integration/open_in_editor.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ To open repository files in your Documents directory:
5050
```json
5151
{
5252
"openInEditor": {
53-
"editorId": "idea",
53+
"editorIds": ["idea"],
5454
"projectPaths.default": "/Users/USERNAME/Documents"
5555
}
5656
}
@@ -84,7 +84,7 @@ To open repository files in your Documents directory:
8484
```json
8585
{
8686
"openInEditor": {
87-
"editorId": "vscode",
87+
"editorIds": ["vscode"],
8888
"projectPaths.default": "/Users/USERNAME/Documents"
8989
}
9090
}
@@ -97,7 +97,7 @@ To open repository files in your Documents directory:
9797
```json
9898
{
9999
"openInEditor": {
100-
"editorId": "vscode",
100+
"editorIds": ["vscode"],
101101
"projectPaths.default": "C:\Users\USERNAME\Documents"
102102
}
103103
}
@@ -110,7 +110,7 @@ To open repository files in your Home directory:
110110
```json
111111
{
112112
"openInEditor": {
113-
"editorId": "vscode",
113+
"editorIds": ["vscode"],
114114
"projectPaths.default": "//wsl$/Ubuntu-18.04/home"
115115
}
116116
}
@@ -134,7 +134,7 @@ Uses the assigned path for the detected Operating System when available:
134134
```json
135135
{
136136
"openInEditor": {
137-
"editorId": "vscode",
137+
"editorIds": ["vscode"],
138138
// basePath is required as the default path when no Operating System is detected
139139
"projectPaths.default": "/Users/USERNAME/Documents/",
140140
"projectPaths.windows": "/C:/Users/USERNAME/folder/",
@@ -153,7 +153,7 @@ To open directory where the repository files reside in a remote server:
153153
```json
154154
{
155155
"openInEditor": {
156-
"editorId": "custom",
156+
"editorIds": ["custom"],
157157
"projectPaths.default": "/Users/USERNAME/Documents/",
158158
// Replaces USER@HOSTNAME as appropriate.
159159
"custom.urlPattern": "vscode://vscode-remote/ssh-remote+USER@HOSTNAME%file",
@@ -170,7 +170,7 @@ Adds `sourcegraph-` in front of the string that matches the `(?<=Documents\/)(.*
170170
```json
171171
{
172172
"openInEditor": {
173-
"editorId": "vscode",
173+
"editorIds": ["vscode"],
174174
"projectPaths.default": "/Users/USERNAME/Documents/",
175175
"replacements": { "(?<=Documents\/)(.*[\\\/])": "sourcegraph-$1" }
176176
// vscode://file//Users/USERNAME/Documents/REPO-NAME/package.json => vscode://file//Users/USERNAME/Documents/sourcegraph-REPO-NAME/package.json
@@ -185,7 +185,7 @@ Removes `sourcegraph-` from the final URL.
185185
```json
186186
{
187187
"openInEditor": {
188-
"editorId": "vscode",
188+
"editorIds": ["vscode"],
189189
"projectPaths.default": "/Users/USERNAME/Documents/",
190190
"replacements": { "sourcegraph-": "" }
191191
// vscode://file//Users/USERNAME/Documents/sourcegraph-REST-OF_REPO-NAME/package.json => vscode://file//Users/USERNAME/Documents/REST-OF_REPO-NAME/package.json

0 commit comments

Comments
 (0)