How does one find and replace text in all open files with kate?

8,139

Solution 1

In Kate 3.8.5-

Go to Settings -> Configure Kate -> Plugins and enable there Search & Replace. Then use the "Search and Replace" button that appears at the bottom of the Kate main window to find the desired functionality.

Solution 2

In at least this Kate version (built from source):

enter image description here

but I think some older versions have this too, you can add a plugin called "Search and Replace" (in Settings, Configure Kate, Plugins)

enter image description here

that has these, in Current file, in Open files, in Folder options:

enter image description here

Solution 3

The answer is simple. As of Kate 3.4.3 (present in KDE 4.4.3) you can not replace in multiple files at once but just in the one you're currently viewing calling "edit->replace" or with the CTRL+R shortcut.

Share:
8,139

Related videos on Youtube

CW Holeman II
Author by

CW Holeman II

You may have just discovered a dozen VMS posts today, but up voting them together causes all of the votes to be deleted. C++17 and XSLT: Aptcp C++ and I18N: Ask Library (C++) Perl, Javascript, XUL: Stevedore - DocWorker JavaScript, SVG, DOM, XML and XSLT: Emle - Electronic Mathematics Laboratory Equipment documentation VAX FORTRAN: SDSU_AskLib VMS, VAXELN, RSX-11M/M+, C, DCL, TCL/Tk, Scala OpenHub/cwhii Resume Windows NT looks like MS-Windows with features from VMS but in its heart it is like VAXELN...ZuckOS

Updated on September 17, 2022

Comments

  • CW Holeman II
    CW Holeman II over 1 year

    How does one find and replace text in all open files with kate?

    • xenoterracide
      xenoterracide about 13 years
      I'm not sure that you currently can. replace was only recently added, and I don't see that you can do a find/replace in more than one file at a time.
    • Kurt
      Kurt about 13 years
      Is this some kind of bot generating random 'how does one find and replace text in all open files with $EDITOR'??
    • Michael Mrozek
      Michael Mrozek about 13 years
      @axel He originally asked them all in one question, and it got closed. Several of us said (in insufficiently discouraging tones) that if he really needs to know in five different editors he should ask five questions, so he did
    • CW Holeman II
      CW Holeman II about 13 years
      I am unable to tap my magic wand to cause all of the people that I advise and support to use the OS distribution and editors of my own choosing. Advising most of them to use the command line with something like find would not support one of my objectives of promoting Linux over MS Windows. So, knowing the functionality of multiple editors is useful.
    • Patches
      Patches over 12 years
      FWIW, Kate is getting a brand new search and replace plugin for KDE 4.8 that can find and replace in all open files or any arbitrary directory. You can try it out in KDE 4.8 Beta 1 or by building Kate from source if you'd like.
  • Chance
    Chance almost 13 years
    Figures. KDE is notorious for taking things that work and making them not so.
  • Augusto Destrero
    Augusto Destrero about 9 years
    This answer applies also to Kate 3.13.2 (KDE Development Platform 4.13.2)