Support line number arguments for RubyMine
Summary: RubyMine's command line launcher `mine` supports the same syntax as `mate` for jumping to line numbers. This patch adds it to the list. Closes https://github.com/facebook/react-native/pull/3883 Reviewed By: svcscm Differential Revision: D2615422 Pulled By: pcottle fb-gh-sync-id: 79a70f524f852ba8eb4803e6abc6970abbf02b61
This commit is contained in:
parent
1e52ef23e7
commit
635edd9ccc
|
@ -37,6 +37,7 @@ function getArgumentsForLineNumber(editor, fileName, lineNumber) {
|
||||||
return ['+' + lineNumber, fileName];
|
return ['+' + lineNumber, fileName];
|
||||||
case 'rmate':
|
case 'rmate':
|
||||||
case 'mate':
|
case 'mate':
|
||||||
|
case 'mine':
|
||||||
return ['--line', lineNumber, fileName];
|
return ['--line', lineNumber, fileName];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue