Skip to content

fix[JB]: misc apply bugs #5708

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

Merged
merged 7 commits into from
May 17, 2025
Merged

fix[JB]: misc apply bugs #5708

merged 7 commits into from
May 17, 2025

Conversation

Patrick-Erichsen
Copy link
Collaborator

@Patrick-Erichsen Patrick-Erichsen commented May 16, 2025

Summary by mrge

Fixed several bugs with applying diffs in the JetBrains plugin, improved diff streaming and rejection logic, and updated the UI to reflect changes more accurately.

  • Bug Fixes

    • Fixed issues with diff application and rejection in JetBrains editors.
    • Improved status updates and UI feedback when streaming or finishing diffs.
    • Resolved insertion and selection bugs during code edits.
  • Refactors

    • Simplified diff handling and state management in the JetBrains extension.
    • Added utility methods for editor scrolling and range handling.
    • Updated types and payloads for better consistency across components.

@Patrick-Erichsen Patrick-Erichsen requested a review from a team as a code owner May 16, 2025 23:16
@Patrick-Erichsen Patrick-Erichsen requested review from tomasz-stefaniak and removed request for a team May 16, 2025 23:16
@dosubot dosubot bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label May 16, 2025
Copy link

netlify bot commented May 16, 2025

Deploy Preview for continuedev canceled.

Name Link
🔨 Latest commit 65fea1c
🔍 Latest deploy log https://app.netlify.com/projects/continuedev/deploys/6827d0135612a000082704f9

@sestinj sestinj self-requested a review May 16, 2025 23:28
* Represents a range of text in a file with its contents.
* Provides utility methods for working with document positions and offsets.
*/
class RangeInFileWithContents(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great pattern, we should do this more often (classes for data types that need attached utility methods)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should definitely write unit tests for it, but nothing changed and this PR is such a large improvement that I want to merge

@github-project-automation github-project-automation bot moved this from Todo to In Progress in Issues and PRs May 17, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label May 17, 2025
@sestinj sestinj merged commit 129dfbe into main May 17, 2025
35 checks passed
@sestinj sestinj deleted the pe/apply-fixes-pt2 branch May 17, 2025 01:15
@github-project-automation github-project-automation bot moved this from In Progress to Done in Issues and PRs May 17, 2025
@github-actions github-actions bot locked and limited conversation to collaborators May 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm This PR has been approved by a maintainer size:XL This PR changes 500-999 lines, ignoring generated files.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants