Skip to content
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.

Commit

Permalink
Add WebStorm >2017 launchEditor Support (#2414)
Browse files Browse the repository at this point in the history
  • Loading branch information
wirmar authored and wmonk committed Aug 7, 2017
1 parent 3d6ead5 commit 1cb5fbb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/react-dev-utils/launchEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ function getArgumentsForLineNumber(editor, fileName, lineNumber, workspace) {
['-g', fileName + ':' + lineNumber],
workspace
);
case 'webstorm':
case 'webstorm64':
return addWorkspaceToArgumentsIfExists(
['--line', lineNumber, fileName],
workspace
);
}

// For all others, drop the lineNumber until we have
Expand Down

0 comments on commit 1cb5fbb

Please sign in to comment.