Skip to content

Commit

Permalink
fix: Add 'code-insiders' to launchEditor
Browse files Browse the repository at this point in the history
Visual Studio Code Insiders has a seperate editor name than Visual Studio Code, but has the same signature, so this PR adds 'code-insiders' to getArgumentsForLineNumber
  • Loading branch information
joshuayoes authored and szymonrybczak committed Oct 3, 2023
1 parent 0af4af6 commit 8c18af7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli-tools/src/launchEditor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ function getArgumentsForLineNumber(
case 'mine':
return ['--line', String(lineNumber), fileName];
case 'code':
case 'code-insiders':
return addWorkspaceToArgumentsIfExists(
['-g', `${fileName}:${lineNumber}`],
workspace,
Expand Down

0 comments on commit 8c18af7

Please sign in to comment.