Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for JetBrains server to open in editor #1621

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

IliyaBrook
Copy link

This PR adds support for opening files directly in JetBrains IDEs (such as WebStorm, PhpStorm, IntelliJ IDEA) from Redux DevTools using the JetBrains built-in server. This feature enhances the workflow for developers using JetBrains IDEs by allowing them to jump directly to the source code from the Redux DevTools.

Example of the added case in openFile.ts:

case 'jetbrains_server':
  url = `http://localhost:63342/api/file/?file=${filePath}&line=${line}`;
  break;

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 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.
Copy link

changeset-bot bot commented Mar 4, 2024

⚠️ No Changeset found

Latest commit: 0607e36

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@IliyaBrook IliyaBrook changed the title Add sipport for JetBrains server to open in editor Add support for JetBrains server to open in editor Mar 4, 2024
IliyaBrook and others added 13 commits March 5, 2024 00:43
The changes introduce new color attributes for various elements in both StackTrace and StackFrame components. Specifically, the color and background color of StackTrace have been revised, alongside the color adjustments of linkStyle, anchorStyle and codeAnchorStyle properties in StackFrame.
The changes provide a more readable color scheme and enhances component appearance for the CodeBlock and Collapsible components within redux-devtools-inspector-monitor-trace-tab. The updated styling features a lighter background color, adjusted text color, and included new border specifications.
The change updated the backgroundColor of StackFrameCodeBlock component in redux-devtools-inspector-monitor-trace-tab package to '#e0e0e0'. The new color scheme contributes to improved readability and overall component appearance.
The change updated the backgroundColor of StackFrameCodeBlock component in redux-devtools-inspector-monitor-trace-tab package to '#e0e0e0'. The new color scheme contributes to improved readability and overall component appearance.
The README has been expanded to include a detailed description of the customised version of Redux DevTools, highlighting its enhanced features for improved trace readability and JetBrains product support. Clear instructions for JetBrains integration have also been provided.
add images
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant