Skip to content

Commit

Permalink
do not disable other autocomplete extensions when debugging
Browse files Browse the repository at this point in the history
It is sometimes useful to toggle GitHub Copilot on and off to test that there are no conflicts.

It is not needed to disable sourcegraph.cody-ai as that is done automatically when the extension under development has the same identifier.
  • Loading branch information
sqs committed Jul 28, 2023
1 parent 0643637 commit a744c53
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,7 @@
"request": "launch",
"runtimeExecutable": "${execPath}",
"preLaunchTask": "Build VS Code Extension (Desktop)",
"args": [
"--extensionDevelopmentPath=${workspaceRoot}/vscode",
"--disable-extension=sourcegraph.cody-ai",
"--disable-extension=github.copilot",
"--disable-extension=github.copilot-nightly"
],
"args": ["--extensionDevelopmentPath=${workspaceRoot}/vscode"],
"sourceMaps": true,
"outFiles": ["${workspaceRoot}/vscode/dist/**/*.js"],
"env": {
Expand All @@ -29,10 +24,7 @@
"args": [
"--user-data-dir=/tmp/vscode-cody-extension-dev-host",
"--profile-temp",
"--extensionDevelopmentPath=${workspaceRoot}/vscode",
"--disable-extension=sourcegraph.cody-ai",
"--disable-extension=github.copilot",
"--disable-extension=github.copilot-nightly"
"--extensionDevelopmentPath=${workspaceRoot}/vscode"
],
"sourceMaps": true,
"outFiles": ["${workspaceRoot}/vscode/dist/**/*.js"],
Expand All @@ -59,13 +51,7 @@
"request": "launch",
"preLaunchTask": "Build VS Code Extension (Web)",
"outFiles": ["${workspaceFolder}/vscode/dist/**/*.js"],
"args": [
"--extensionDevelopmentPath=${workspaceRoot}/vscode",
"--extensionDevelopmentKind=web",
"--disable-extension=sourcegraph.cody-ai",
"--disable-extension=github.copilot",
"--disable-extension=github.copilot-nightly"
]
"args": ["--extensionDevelopmentPath=${workspaceRoot}/vscode", "--extensionDevelopmentKind=web"]
}
]
}

0 comments on commit a744c53

Please sign in to comment.