Del key causes lag

I constantly get lag when trying to use the delete key, backspace key does not show the same behavior.

Happens for me on both 2025EAP8 and 2024.3.6

I have collected trace scenarios for the editor and uploaded logs here 

2025_03_26_9cQVNGS3ENsQg7smKpSeo2 

0
5 comments

Hello Michael,

Thank you for contacting JetBrains Support. I'm glad to work with you on this ticket.

Based on your description, I suspect this issue could be caused by plugins. Could you test if the issue persists after disabling all downloaded plugins: Go to Rider Settings | Plugins | Disable All Downloaded Plugins

If the issue persists, could you please try to clear the caches via `File | Invalidate caches => Invalidate and restart` ? 

If still no luck, please enable traces below and collect Rider logs.
• Go to Help | Diagnostic tools | Show Log in Explorer, then clear the existing logs. 

• Restart Rider

• Go to Help | Diagnostic tools | Choose Trace Scenarios;

• Enable the trace scenario for Editors and EditosDumpAllTypingAndActions;

• Reproduce the issue;

• Collect the full log bundle via Help | Collect Logs and Diagnostic Data;

• Disable the trace scenarios enabled;

• Attach the resulting log bundle to this ticket or upload it to our server (https://uploads.jetbrains.com/) and share the ID.

 

Thanks,

Tom

0

So I'm pretty sure I have traced the issue to the bundled Angular plugin. What further actions would you like me to take? Would you like more trace logs in addition to the ones I submitted originally?

0

Thanks for the update. Do you mean the issue disappeared if you disable “Angular” plugin? In my environment, this plugin is enabled but I still can't reproduce the issue. 

I've checked the logs you shared. Unfortunately it looks like “editor” trace is not enabled successfully, so the logs I expect is not there. Basically if editor trace is enabled, we should be able to see log like below, indicating the typed key:

2025-04-02 14:27:42,561 [ 164397]  FINER - #c.j.r.e.TypingSessions - Queueing operation: TypedAction (
  actionId = "TextControl.Delete"
  dataContext = [
    TextControlConstant (
      id = KernelAwareTextControlId (
        kernelEditorId = "pqbli1ob6fussio9ubea"
        documentId = RdFrontendDocumentId (
          projectId = RdProjectId (
            value = "ffe6d1a8-8b08-484c-b57b-6375309defcd601268227662500"
          )
          id = 2
        )

And the timestamp when the editor reacts and completes the change. 

2025-04-02 14:27:42,563 [ 164399]  FINER - #c.j.r.d.Document#2(RdFrontendDocumentId ( projectId = RdProjectId ( value = "ffe6d1a8-8b08-484c-b57b-6375309defcd601268227662500" ) id = 2 )) - Queueing change RdTextChange (
  kind = Remove
  startOffset = 583
  old = 'b'
  new = ''
  fullTextLength = 697
)
.
2025-04-02 14:27:42,564 [ 164400]  FINER - #c.j.r.e.RiderEditorSynchronizerWithTypingSession#2(RdFrontendDocumentId ( projectId = RdProjectId ( value = "ffe6d1a8-8b08-484c-b57b-6375309defcd601268227662500" ) id = 2 ), 1, EditorTab) - Document was changed. Selection is (active: (583, 0, false) - anchor: (583, 0, false)).

Such information is helpful to identify the issue. 

Could you please follow the steps I shared above to re-collect logs? Please ensure Editors and EditosDumpAllTypingAndActions trace are enabled. 

Pleaes also provide the information below:

  • Does the issue happen on all file types or only certain file type? 
  • How long is the lag? A few seconds? It'd be great if you could share a video recording to demonstrate the issue. 

Thanks,

Tom

 

0

Yes, sorry for lack of clarity. The issue only occurs when the Angular plugin is enabled, and this is specific to editing HTML files in my angular project.

The error seems to mainly happen if I am editing text inside of quotation marks, like editing the a div's class attribute, or the style attribute. It also seems to happen when editing attribute names. Issue does seem to happen less often with element names, but it does happen. 

I would say I have a fairly large angular application, so size and complexity might be a factor.

The length of lag can vary wildly, sometimes it's just a brief stutter, but it can last a few seconds as well, I've been sitting for 10+ seconds in some extreme situations with the prompt for cancel and dump all threads on screen.

 

New log file package 

2025_04_02_26cFxB3AAw8RbcACEGpKma 

 

 

0

Hello Michael, 

Thanks for the logs. This issue will require additional time to investigate thoroughly. To ensure it receives the necessary attention, I’ve escalated it to our development team by creating a ticket in our issue tracker: RIDER-124466 Del key causes lag. To help prioritize this issue, please consider upvoting the ticket to indicate your interest. Additionally, feel free to subscribe to the ticket for updates or add any further details in the comments if I’ve missed anything.
 
If you have any further questions or additional information to share, please don’t hesitate to let me know.

Regards,

Tom

0

Please sign in to leave a comment.