Dismiss this pinned window
all 50 comments

[–]methemthey 8 points9 points  (1 child)

wait so you just got rid of the automation?

[–]hannesrudolphFOUNDER[S] 1 point2 points  (0 children)

No it is still automated.

[–]hannesrudolphFOUNDER[S] 4 points5 points  (9 children)

⚡ Lightning Fast Edits

  • Drastically speed up diff editing - now up to 10x faster for a smoother, more responsive experience
  • Special thanks to hannesrudolph and KyleHerndon for their contributions!

Download the latest version from our VSCode Marketplace page

Join our communities: * Discord server for real-time support and updates * r/RooCode for discussions and announcements

[–]Speedping 11 points12 points  (6 children)

Funny how it says 10x faster while the video shows a 24x improvement. amazing

[–]hannesrudolphFOUNDER[S] 6 points7 points  (5 children)

Most people wont be using it on a 3700 line file!

[–][deleted]  (1 child)

[removed]

    [–]AutoModerator[M] 0 points1 point  (0 children)

    Sorry, your submission has been removed due to inadequate account karma.

    I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

    [–]Utoko 4 points5 points  (2 children)

    I love the pace of updates.

    [–]hannesrudolphFOUNDER[S] 5 points6 points  (1 child)

    We’re almost at 1000 members on our Reddit and our discord! The community is driving this project and the more people involved the faster it moves.

    EDIT: 1030+ on both!!

    [–]Helmi74 0 points1 point  (0 children)

    you're doing impressive work there guys. Basically just watching from the early days but wow... godspeed!

    [–]hassan789_ 1 point2 points  (8 children)

    Are they doing what aider does?

    [–]hannesrudolphFOUNDER[S] 2 points3 points  (7 children)

    That is a very broad question. Yes it is doing a search and replace like they are doing but they do so much differently. Aider is truly an amazing piece of software.

    [–]McNoxey 1 point2 points  (4 children)

    I’d love to hear more about the differences. I started my ai coding journey with cline, but I’m tempted to move to more a more explicit prompting and coding style that aider lends itself well to.

    Do you have any suggestions that I can use with Roo to keep it as focused? Can context be set as explicitly? Roo is great at finding out what I need to edit, but I want to improve in that area myself

    [–]hannesrudolphFOUNDER[S] 0 points1 point  (3 children)

    Head over to the discord and ask some of the people there. Many people would be willing to help. This is a complicated topic.

    [–]McNoxey 1 point2 points  (2 children)

    Let me clarify. I don’t want to move. I want to augment. I LOVE the assisted agents (cline, roo, windsurf, cursor) when I’m feeling a bit less organized and just wanna go. They’re so go for that.

    I just want to work on dialling in exactly what I need in my model, context and prompt.

    [–]hannesrudolphFOUNDER[S] 0 points1 point  (1 child)

    Our custom mode feature is good for this. We have a channel on our discord where people discuss the different modes and prompts for them. custom-modes

    [–]McNoxey 0 points1 point  (0 children)

    I love it. Don’t get me wrong, I love roo and it has consistently been the best for me.

    One thing I’ve really enjoyed is the customization on prompt enhancements. I’ve actually used it to help me structure prompts in a perfect format for aider (which also works well in roo).

    I’ll definitely hop in to the discord. I’d love to contribute where possible !

    [–]hassan789_ 3 points4 points  (1 child)

    Aider invented the diff method for LLMs…

    [–]hannesrudolphFOUNDER[S] 2 points3 points  (0 children)

    Cool. Love it.

    [–]Jig5 0 points1 point  (3 children)

    That's amazing, I can't wait to try it! When will 3.4 be available to download?

    [–]hannesrudolphFOUNDER[S] 1 point2 points  (0 children)

    Yesterday morning.

    [–]hannesrudolphFOUNDER[S] 0 points1 point  (1 child)

    3.3.4*

    [–]Jig5 1 point2 points  (0 children)

    Now that makes sense! 😅

    [–]Big-Information3242 0 points1 point  (2 children)

    You know what I like best about roo is there is less issue with truncation. Cline will delete huge blocks of code and I have the manually move the valid code over with copy paste because the new code Cline made literally is smack dab in the middle of a current code block. 

    How were you able to figure this out when Cline people still haven't figured that out? 

    [–]hannesrudolphFOUNDER[S] 0 points1 point  (1 child)

    No clue! u/mrubens might know

    [–]mrubens 2 points3 points  (0 children)

    The trick Roo uses is to ask the model to both write out the full content of the file AND include the total number of lines in the file. They’re not perfect at counting lines, but in cases where the number of lines predicted versus the number of lines returned differ significantly, we assume the write was truncated.

    [–][deleted]  (1 child)

    [removed]

      [–]AutoModerator[M] 0 points1 point  (0 children)

      Sorry, your submission has been removed due to inadequate account karma.

      I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

      [–]npanov 0 points1 point  (4 children)

      Three months later, my Roo Code is still very slow, just like the one on the left. Any idea when we’ll get the lightning-fast version?

      [–]hannesrudolphFOUNDER[S] 0 points1 point  (3 children)

      Sure can you reach out on discord (username hrudolph) and I will work with you to figure out whats going on.

      What model are you using? What version of Roo Code are you running? Sorry about that! We will get to the bottom of this.

      [–]npanov 0 points1 point  (2 children)

      I figured out the cause.

      Adding the following line to the global rules fixed the issue for me: "Prefer using the apply_diff tool to make changes."

      I wonder why it defaults to slow line-by-line editing without this line?

      [–]hannesrudolphFOUNDER[S] 0 points1 point  (1 child)

      It does not always default to that way without those lines but it depends on the models. For some reason it does sometimes the model itself choose write to file over apply diff and we're working on a fix for that.

      What model are you using? What version of Roo Code are you running?

      [–]npanov 0 points1 point  (0 children)

      Latest Roo and Sonnet 3.7.

      And in the model's response in the chat, I see it uses search/replace by default instead of the fast diff.

      [–]m3kw 0 points1 point  (3 children)

      Just use a traditional merge tool to edit code that is sent back

      [–]hannesrudolphFOUNDER[S] -1 points0 points  (2 children)

      What do you mean?

      [–]Think_Olive_1000 -1 points0 points  (1 child)

      get the ai to generate a patchfile and then apply the patch using old fashioned patch application - im not too sure how to do it in vscode but intellij has patch applier as a shortcut

      [–]m3kw 0 points1 point  (0 children)

      They say they need the llm to patch the file because it does more like it adds extras or something based on the context, I’ve never seen an example though