Vscode: Add find and replace in files/project

Created on 29 Dec 2015  ยท  60Comments  ยท  Source: microsoft/vscode

ctrl+shift+f dialog does not feature a project-level find and replace.

feature-request search

Most helpful comment

@ashes999 I'm one of the said Microsoft employees :smiley:

I think if GitHub reactions were around at launch then we wouldn't have needed user voice. Currently both lists are used to find what features are highly desired by the community.

All 60 comments

:+1:

:+1: Required for me!

:+1:

:thumbsup:

+1

๐Ÿ‘

UPDATE 6/21/16
eca501f82483cf063f73045316c8c2a1

What sense does it make to thumbs-down posts from before reactions were introduced in March 2016?

Thumbs down if you think you think you should stop trolling and start contributing.

Please.

:+1:

There were 6 distinct :+1:'s on https://github.com/Microsoft/vscode/issues/773 which was closed in favor of this.

Finally...
เผผ ใค โ—•_โ—• เผฝใค PRAISE CODE เผผ ใค โ—•_โ—• เผฝใค

What is this still doing in the backlog? There are more important features? [:

I'm currently using another editor just for the cases when I have to do a mass find-replace for refactoring.

+1

+1

:+1:

+1

+1

+1

+1 :+1:
I'm in the same situation of having to use something else solely for "replace all" in multiple files :(

@JeandeCampredon To be fair, since it's been assigned, it does look like this is being worked on now :)

The correct Another place for this is User Voice: https://visualstudio.uservoice.com/forums/293070-visual-studio-code/suggestions/11329521-find-and-replace

Please add votes there (also).

@ashes999 both user voice and :+1:'s on GitHub are useful.

@Tyriar if you look at user voice, MS employees actually respond to and act on those. So it's a matter of getting enough momentum there. (I don't know how closely they look at GitHub issues.)

:+1:

:+1:

+1

@ashes999 I'm one of the said Microsoft employees :smiley:

I think if GitHub reactions were around at launch then we wouldn't have needed user voice. Currently both lists are used to find what features are highly desired by the community.

Please add this feature

+1

+1

+1

+1

+1

+1

Hi all, prefer :+1: reactions on the original issue comment as that helps us with prioritization.

+1

Can't believe you guys went past version 1.0 without this!

Makes me wonder if the editor has already a similar functionality that I'm not seeing??

@cesarvarela I agree. Maybe there is an extension or something. I tried looking and couldn't find one.

God, stop posting these +1's.
And wouldn't it be easy as calling the find&replace function over the found files?
I'll try looking it up

@tsirolnik it is as easy (or as hard) as that. It can be quite a task with matches spanning across a significant amount of files.

:+1:

:+1:

+1 this is a pain to do now. Also the file find/replace box covers the first line of code, very annoying!

๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘

+1 Probably one of the most important features to have... It makes no sense not to have it in.

This is the only thing keeping this editor from being my primary choice. It's a simple thing to implement but it saves SOOOOO much time.

+1

+1 ๐Ÿ‘

This is coming for June, stay tuned.

@sandy081 you deserve credit here.

Praise the mighty @sandy081 ๐Ÿค—๐ŸŽ‰

Implemented using #7602

And what about Global Replacing with RegExp captures?
Content: SomeTextAndStopKeyword
Find: (.*)AndStopKeyword
Replace: StopKeywordAnd$1
Expect: StopKeywordAndSomeText

Currently, I see it just replaces with a plain text StopKeywordAnd$1, while inline Search&Replace works just fine.

Why is Regex Replace supported on single file edition and not on multiples files, where it is really needed.
You may search with Regex, but not replace/substitute based on your regex conditions..

Furthermore, since preview is provided, there no risk of massive/unexpected changes
Other node based editor already implements it like Atom.

@dazewell @jacquelineth

There was no reason for not supporting it. I just pushed this feature today and is available from next insiders build. - https://github.com/Microsoft/vscode/issues/9010

Thanks

Cool!
Thanks, looking forward using it.

Just used it.... Awesome.
Thanks a lot!

Today I had an update but it doesn't seem to contain those changes. So, I'm still waiting.
But what about those hotkeys for turning on the RegExp mode and Whole Word mode and Case Sensitive mode for the Global Search?

@dazewell I think you're referring to https://github.com/Microsoft/vscode/issues/4719, please add a :+1: to show your interest in it.

It is available in latest insiders build (not on stable).

screen shot 2016-07-14 at 8 10 04 pm

@Tyriar thanks, that's exactly what I was talking about. Sorry for polluting this issue.
@sandy081 understood, thanks!

Why is it that VS Code limits find/replace to 999 occurences only?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

curtw picture curtw  ยท  3Comments

shanalikhan picture shanalikhan  ยท  3Comments

borekb picture borekb  ยท  3Comments

philipgiuliani picture philipgiuliani  ยท  3Comments

lukehoban picture lukehoban  ยท  3Comments