mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-02-18 12:30:50 +03:00
Add support for JetBrains_server in openFile
This commit extends the functionality of the 'openFile.ts' within the redux-devtools-inspector-monitor-trace-tab package to support JetBrains_server. It does this by defining the URL for the JetBrains_server case which connects to the local server at port 63342.
This commit is contained in:
parent
3b7bca2dbb
commit
851d858a91
|
@ -84,6 +84,9 @@ function openInEditor(editor: string, path: string, stackFrame: StackFrame) {
|
|||
case 'idea':
|
||||
url = `${editor}://open?file=${projectPath}${filePath}&line=${line}&column=${column}`;
|
||||
break;
|
||||
case 'jetbrains_server':
|
||||
url = `http://localhost:63342/api/file/?file=${filePath}&line=${line}`;
|
||||
break;
|
||||
default:
|
||||
// sublime, emacs, macvim, textmate + custom like https://github.com/eclemens/atom-url-handler
|
||||
url = `${editor}://open/?url=file://${projectPath}${filePath}&line=${line}&column=${column}`;
|
||||
|
|
Loading…
Reference in New Issue
Block a user