You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Project Search/Replace with RegExp with \n only searches in currently open file #13068
changed the title [-]Search/Replace with RegExp with \n only searches in currently open file[/-][+]Project Search/Replace with RegExp with \n only searches in currently open file[/+]on Sep 30, 2016
when a file is opened it searches using the same search implementation as the editor find widget (where multi-line search is supported)
when a file is not opened it searches in a separate process with a different implementation ((where multi-line search is NOT supported)
Hence you are seeing different results when files are open. I think ideal solution here would be is to support multi-line search in Search view completely #13155
Until then we should not be showing any results for multi line search. More over current shown results for multi line search in Search view are also not good because the matches representations are not correct.
3 months and no fix? Please see #18198 for a very simple use case. It actually is misleading that it says "no results found" whereas the problem is I don't have the files open currently. Either say the feature is not supported, or just implement it please.
Activity
[-]Search/Replace with RegExp with \n only searches in currently open file[/-][+]Project Search/Replace with RegExp with \n only searches in currently open file[/+]sandy081 commentedon Oct 3, 2016
Felix Becker (@felixfbecker) Currently search works as follows with different code paths.
Hence you are seeing different results when files are open. I think ideal solution here would be is to support multi-line search in Search view completely #13155
Until then we should not be showing any results for multi line search. More over current shown results for multi line search in Search view are also not good because the matches representations are not correct.
ahmetb commentedon Jan 6, 2017
3 months and no fix? Please see #18198 for a very simple use case. It actually is misleading that it says "no results found" whereas the problem is I don't have the files open currently. Either say the feature is not supported, or just implement it please.
felixfbecker commentedon Jan 6, 2017
ahmetalpbalkan (old account) (@ahmetalpbalkan) the vscode team is working very hard and there are plenty tickets I would consider higher priority.
sandy081 commentedon Jan 6, 2017
Felix Becker (@felixfbecker) Thanks for responding.
ahmetalpbalkan (old account) (@ahmetalpbalkan) We will try to fix this gap in Find in Files and Editor Find very soon. Thanks for mentioning its importance.
quickEscape commentedon May 22, 2018
Sandeep Somavarapu (@sandy081) "....very soon. ..."
sandy081 commentedon May 22, 2018
Yevhenii Kononko (@quickEscape) Sorry for that. There were other higher priorities.
roblourens Please consider this while implementing #13155
roblourens commentedon May 22, 2018
The most likely path to a fix involves #47058, although the UI still would need updates.
roblourens commentedon Sep 13, 2018
I think can be considered a dupe of #13155, sorry if there's something I'm missing