[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: Re: Search & Replace - split "in current file" into separate plugin/tab
From: Alexander Neundorf <neundorf () kde ! org>
Date: 2022-01-14 22:20:10
Message-ID: 11732339.vap1DhSgYV () unknownc4d9870202f1
[Download RAW message or body]
On Freitag, 14. Januar 2022 22:55:38 CET Christoph Cullmann (cullmann.io) wrote:
> On 2022-01-14 22:52, Alexander Neundorf wrote:
> > Hi,
> >
> > (I know we had similar discussion a few years ago already).
> > I'd like to split the "Search in current file" into a separate
> > plugin/tab.
> >
> > For "in current file", less options would be required.
> > All the "advanced" options are not necessary, so also the button to
> > toggle
> > between options and results is not necessary, and always the results
> > would be
> > visible.
> > The "Search" buttin, the "Use current documents folder" button, the
> > mode
> > combobox, the "Expand results" button, the "add new search tab" button
> > would
> > all not be necessary.
> > I would suggest that this would always search automatically when the
> > search
> > text is modified, without maximum file size.
> > I would also suggest that it searches automatically when switching to a
> > different file, i.e. always the search results for the current search
> > string
> > in the current file would be visible.
> >
> > Together with this, I would suggest to remove the "In current file"
> > search
> > mode from the normal "Search and Replace", and also disable the
> > automatic
> > search in the current file when typing. To me, this would actually be
> > better
> > than it is now, since the automatic searching quite often dismissed my
> > search
> > results, while I actually wanted to keep them.
> >
> > What do you think ?
>
> I am not sure about this.
> This would make the "standard" in document search even more duplicated
> with the plugin.
> But perhaps others see this differently.
>
> My normal working pattern is:
>
> 1) for in document searches just using the search/replace of KTextEditor
> view
> 2) use the Kate level search plugin only for project wide searches
>
> Perhaps others use it more like you, for both use cases.
I also use both.
What I don't like about Ctrl+F, is that it immediately jumps to the first match as soon as I
start typing, i.e. I loose "focus". Also it doesn't show me how many matches there are in
the document.
Actually I use Ctrl+F more as a "go to"-function, not to "learn" something about a file.
If I want to see how often/where/how some text appears in the document, the in-current-
file search of Search&Replace is more convenient. My cursor stays where it is in the file
and it gives my an overview over the matches in this file.
Alex
[Attachment #3 (unknown)]
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">On \
Freitag, 14. Januar 2022 22:55:38 CET Christoph Cullmann (cullmann.io) wrote:</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> On 2022-01-14 \
22:52, Alexander Neundorf wrote:</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > Hi,</p> \
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p> \
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > (I \
know we had similar discussion a few years ago already).</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > I'd like \
to split the "Search in current file" into a separate</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > \
plugin/tab.</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> \
> </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> \
> For "in current file", less options would be required.</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > All the \
"advanced" options are not necessary, so also the button to</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > \
toggle</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> \
> between options and results is not necessary, and always the results</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > would \
be</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> \
> visible.</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > The \
"Search" buttin, the "Use current documents folder" button, \
the</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> \
> mode</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> \
> combobox, the "Expand results" button, the "add new search \
tab" button</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > \
would</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> \
> all not be necessary.</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > I would \
suggest that this would always search automatically when the</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > \
search</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> \
> text is modified, without maximum file size.</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > I would \
also suggest that it searches automatically when switching to a</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > \
different file, i.e. always the search results for the current search</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > \
string</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> \
> in the current file would be visible.</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > Together \
with this, I would suggest to remove the "In current file"</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > \
search</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> \
> mode from the normal "Search and Replace", and also disable the</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > \
automatic</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> \
> search in the current file when typing. To me, this would actually be</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > \
better</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> \
> than it is now, since the automatic searching quite often dismissed my</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > \
search</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> \
> results, while I actually wanted to keep them.</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > What do \
you think ?</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> \
</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> I am \
not sure about this.</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> This would \
make the "standard" in document search even more duplicated</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> with the \
plugin.</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> \
But perhaps others see this differently.</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> My normal \
working pattern is:</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> 1) for in \
document searches just using the search/replace of KTextEditor</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> view</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> 2) use the \
Kate level search plugin only for project wide searches</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Perhaps \
others use it more like you, for both use cases.</p> <br /><br /><p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">I also use \
both.</p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">What \
I don't like about Ctrl+F, is that it immediately jumps to the first match as soon as \
I start typing, i.e. I loose "focus". Also it doesn't show me how many \
matches there are in the document.</p> <p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Actually I use \
Ctrl+F more as a "go to"-function, not to "learn" something about \
a file.</p> <br /><p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">If I want to see \
how often/where/how some text appears in the document, the in-current-file search of \
Search&Replace is more convenient. My cursor stays where it is in the file and it \
gives my an overview over the matches in this file.</p> <br /><p \
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Alex</p> <br \
/></body> </html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic