[Geany-Users] Feature request: "Open all" (after "Find in files")

Lex Trotman elextr at xxxxx
Wed Sep 10 12:33:32 UTC 2014


On 10 September 2014 21:12, Péter <peter20 at mpp.hu> wrote:
> It would be handy to have an "open all" command when the message tab shows
> the search results (with file names).
>
> (Because, among others, there is no "replace all, in this directory (and
> below)", only "replace all, in opened files".)

Editing closed files is a good way to screw things up royally since
you can't see what happened :)  So it should not be added as a
standard part of Geany.  Those who know enough to want to change all
files in the directory are probably also able to write scripts to do
so.

>
> I can manually add the extra "-l" option to grep, but maybe it is worth to
> add a "only file names" checkbox too.

You wouldn't need to do that, just ignore the line number in the
message window.  Opening from clicking on the line in the message
window already checks if the file is open and just switches to it
without re-opening.

Exactly where "open all files listed in the message window" menu item
should go is debatable, but if a pull request was provided then that
can be bikeshedded afterwards.

Cheers
Lex

>
> --
> Péter
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users


More information about the Users mailing list