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

Lex Trotman elextr at xxxxx
Thu Sep 11 22:18:20 UTC 2014


On 11 September 2014 21:38, Péter <peter20 at mpp.hu> wrote:
> Lex Trotman wrote:
>>>
>>> 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.
>
>
> I guess it may be a quite common procedure currently to:

How "common" something is is always debatable since everyone has their
own usage patterns, all you can say is it is common for you, and I
don't think I've ever done it :)


> 1. issue a "find in files" (with extra "-l" grep-option to achieve a *lot*
> shorter list);
> 2. keep pressed the "next message" until all files (with the searched text
> in them) get opened;
> 3. issue a "replace all (in session, i.e. opened files)" command.
>
> The 2. point is cumbersome, ugly, and maybe error-prone (is it guaranteed
> that no file will skipped? will it start from the first hit?).

So that will be extra incentive for you to provide a pull-request/patch :)

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