Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit bf7c6fa

Browse files
danrrmorgs32
authored andcommittedSep 1, 2017
Support PyCharm in launchEditor (facebook#2740)
PyCharm has the same signature as WebStorm and PhpStorm `<editor> <projectPath> --line <number> <filePath>` so it can reuse the logic from those. https://www.jetbrains.com/help/pycharm/opening-files-from-command-line.html Tested with PyCharm Pro 2017.1.4 on MacOS 10.12
1 parent b0f3052 commit bf7c6fa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎packages/react-dev-utils/launchEditor.js

+2
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ function getArgumentsForLineNumber(editor, fileName, lineNumber, workspace) {
9191
case 'webstorm64':
9292
case 'phpstorm':
9393
case 'phpstorm64':
94+
case 'pycharm':
95+
case 'pycharm64':
9496
return addWorkspaceToArgumentsIfExists(
9597
['--line', lineNumber, fileName],
9698
workspace

0 commit comments

Comments
 (0)
Please sign in to comment.