Skip to content

Commit

Permalink
fix: launchEditor not working for JetBrains IDEs (#2197)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarunrajput authored and thymikee committed Dec 11, 2023
1 parent 0a3635c commit 04e4f46
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/cli-tools/src/launchEditor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,6 @@ function getArgumentsForLineNumber(
case 'Atom Beta':
case 'subl':
case 'sublime':
case 'webstorm':
case 'wstorm':
case 'appcode':
case 'charm':
case 'idea':
return [`${fileName}:${lineNumber}`];
case 'joe':
case 'emacs':
Expand All @@ -91,6 +86,11 @@ function getArgumentsForLineNumber(
case 'rmate':
case 'mate':
case 'mine':
case 'webstorm':
case 'wstorm':
case 'appcode':
case 'charm':
case 'idea':
return ['--line', String(lineNumber), fileName];
case 'code':
case 'code-insiders':
Expand Down

0 comments on commit 04e4f46

Please sign in to comment.