Jump to content

Tolsson

Members
  • Content Count

    3
  • Joined

  • Last visited

Posts posted by Tolsson


  1. 1 hour ago, Uwe Raabe said:

    As said, the error is not the search itself, but the refactoring part of the search menu, which barfs on some source code. As the underlying parser will be replaced by an LSP based one in the future.

     

    If you have no need for the refactoring at all, you can just disable the package in the Delphi registry: Known IDE Packages, $(BDS)\bin\refactoride280.bpl, edit the value and insert two underscores at the beginning.

    No guarantee, that the IDE will not get somewhat unstable by this. In that case revert the change.

    Thanks Uwe,

    Your suggestion seems to work really great!

    I did however do some searches around Known IDE Packages and came across the excellent tool "Known IDE Package Manager" by @dummzeuch

    image.thumb.png.7e2fd77632c8e8b76043294b421695df.png

    That tool is what I used to fix this issue, and it also helped me find some other packages that seem pointless to me which I also disabled.

    Delphi feels a lot quicker to work in now, especially how fast the search window opens up (and no longer crashes!)


  2. 2 hours ago, MathewV said:

    We narrowed it down to when there is a huge unit open (over 5000 lines of code). If that is closed in the IDE then it works.

     

    We have reported it https://quality.embarcadero.com/browse/RSP-32942

     

    It is not the Search that is the issue but the search menu. I got around this issue by adding a search button to the tool bar

    Right-Click and select customize

    Then go to the search group and drag "Find in Files" into your tool bar.

    image.thumb.png.7645d1fc39cc05af736673ba78725c74.png

     

    Hope that helps

    Thanks Mathew,

    I have voted for that defect.

    After some testing, your suggested workaround also seems to work. However, I strongly prefer to work with keyboard shortcuts.

     

    Therefore, I will try to see if Uwe's suggestion works since I have no need for (or rather don't trust) the built-in refactoring at all.


  3. I have exactly the same issue (Delphi 11.1 on Win11).

    I have tried uninstalling all of my plugins, but that seems to have no effect on the problem.

    Restarting Delphi or the computer also has no effect.

     

    It seems almost calendar-related, because it can work absolutely fine for weeks, and then it abruptly stops working and will give a crash with 100% certainty every time if I have any text selected when pressing Ctrl+Shift+F.

    Once it has stopped working, it will remain non-functional for weeks until it suddenly starts working again.

     

    The search functionality always works fine, as long as no text is selected in the editor.

     

    Has anyone reported this issue to Embarcadero yet, or should I report it?

×