mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-04 20:03:19 +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
851d858a91
commit
de0cfb545d
|
@ -84,6 +84,7 @@ function openInEditor(editor: string, path: string, stackFrame: StackFrame) {
|
||||||
case 'idea':
|
case 'idea':
|
||||||
url = `${editor}://open?file=${projectPath}${filePath}&line=${line}&column=${column}`;
|
url = `${editor}://open?file=${projectPath}${filePath}&line=${line}&column=${column}`;
|
||||||
break;
|
break;
|
||||||
|
// add support for jetbrains server
|
||||||
case 'jetbrains_server':
|
case 'jetbrains_server':
|
||||||
url = `http://localhost:63342/api/file/?file=${filePath}&line=${line}`;
|
url = `http://localhost:63342/api/file/?file=${filePath}&line=${line}`;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user