New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-line find and replace in project #398

Open
solomonkinard opened this Issue May 27, 2015 · 55 comments

Comments

Projects
None yet
@solomonkinard

solomonkinard commented May 27, 2015

The ability to find and replace multiple lines would be epic!
#397 is different from #396 because it is requesting multiple rows in both the find and replace fields.
#396 only accounts for the insertion of a newline character in the replace field.

@benogle

This comment has been minimized.

Contributor

benogle commented May 27, 2015

Is this for buffer find or project find?

@solomonkinard

This comment has been minimized.

solomonkinard commented May 27, 2015

It could be useful in both, so feel free to choose the easiest one to implement (e.g. buffer).

@NathanRSmith

This comment has been minimized.

NathanRSmith commented Jun 11, 2015

I would like to see this as well. Thanks.

@ChrisDavison

This comment has been minimized.

ChrisDavison commented Jun 29, 2015

+1

@dschwen

This comment has been minimized.

dschwen commented Jul 8, 2015

This already works in buffer find (with regular expressions containing \n), however it does not seem to work in project find.

@yoyurec

This comment has been minimized.

yoyurec commented Jul 22, 2015

+1 for \n

@dlewand691

This comment has been minimized.

dlewand691 commented Aug 20, 2015

+++++++1111111
Have to jump back to Sublime to do multiline find/replace across projects. LAME!

@varemenos

This comment has been minimized.

varemenos commented Aug 27, 2015

👍

1 similar comment
@ashtonsix

This comment has been minimized.

ashtonsix commented Aug 30, 2015

+1

@TW80000

This comment has been minimized.

TW80000 commented Aug 31, 2015

Just a heads up for anyone that might run into the same problems I did:

  1. On Windows newlines are denoted by \r\n, not just \n like on unix-like systems. You'll need this for multi-line regex find expressions.
  2. If you use the $ character in a regex followed by your \n or \r\n, you'll be able to highlight text that matches the regex, but the replace will fail (in my experience). Taking out the $ will allow you to do the replace.
@mik01aj

This comment has been minimized.

@johnjelinek

This comment has been minimized.

johnjelinek commented Sep 9, 2015

👍

13 similar comments
@reduardo7

This comment has been minimized.

reduardo7 commented Oct 2, 2015

+1

@tlrobinson

This comment has been minimized.

tlrobinson commented Oct 5, 2015

👍

@borisschapira

This comment has been minimized.

borisschapira commented Oct 10, 2015

👍

@leberblock

This comment has been minimized.

leberblock commented Oct 13, 2015

+1

@krasnovpro

This comment has been minimized.

krasnovpro commented Oct 29, 2015

👍

@colin-kiegel

This comment has been minimized.

colin-kiegel commented Nov 1, 2015

+1

@Ehres

This comment has been minimized.

Ehres commented Nov 2, 2015

+1

@pabloab

This comment has been minimized.

pabloab commented Nov 20, 2015

+1

@fmaj7

This comment has been minimized.

fmaj7 commented Nov 23, 2015

+1

@koltejas

This comment has been minimized.

koltejas commented Nov 24, 2015

+1

@phnah

This comment has been minimized.

phnah commented Nov 26, 2015

+1

@vincentorback

This comment has been minimized.

vincentorback commented Dec 2, 2015

👍

@hellpf

This comment has been minimized.

hellpf commented Dec 10, 2015

+1

@entr

This comment has been minimized.

entr commented Dec 14, 2015

+1 Just please, never consider releasing another version without such a basic functionality. Sometimes I really struggle to truly embrace atom as the one editor to go with.

@pashast

This comment has been minimized.

pashast commented Dec 17, 2015

+1

@samirfor

This comment has been minimized.

samirfor commented Dec 21, 2015

+1

10 similar comments
@swrobel

This comment has been minimized.

swrobel commented Dec 23, 2015

👍

@kirtangajjar

This comment has been minimized.

kirtangajjar commented Dec 29, 2015

+1

@ninja-

This comment has been minimized.

ninja- commented Jan 2, 2016

+1

@octoxan

This comment has been minimized.

octoxan commented Jan 7, 2016

+1

@idris

This comment has been minimized.

idris commented Jan 8, 2016

👍

@artursopelnik

This comment has been minimized.

artursopelnik commented Jan 11, 2016

+1

@ada-lovecraft

This comment has been minimized.

ada-lovecraft commented Jan 11, 2016

+1

@stephenjang

This comment has been minimized.

stephenjang commented Jan 22, 2016

+1

@awilhelmer

This comment has been minimized.

awilhelmer commented Jan 26, 2016

+1

@AndersDJohnson

This comment has been minimized.

AndersDJohnson commented Feb 4, 2016

+1

@andreasklinger

This comment has been minimized.

andreasklinger commented Feb 10, 2016

adding +1 - not sure if effective though ;) ;(

@bsingr

This comment has been minimized.

bsingr commented Feb 11, 2016

+1

12 similar comments
@laurel

This comment has been minimized.

laurel commented Feb 17, 2016

👍

@juni0r

This comment has been minimized.

juni0r commented Feb 18, 2016

👍

@jpsantos7

This comment has been minimized.

jpsantos7 commented Feb 19, 2016

+1

@Pierrotws

This comment has been minimized.

Pierrotws commented Feb 23, 2016

+1

@tomkur

This comment has been minimized.

tomkur commented Feb 24, 2016

+1

@justcfx2u

This comment has been minimized.

justcfx2u commented Feb 26, 2016

+1

@jaredkotoff

This comment has been minimized.

jaredkotoff commented Feb 26, 2016

+1

@johnwalshuk

This comment has been minimized.

johnwalshuk commented Mar 1, 2016

+1

@sainthardawa

This comment has been minimized.

sainthardawa commented Mar 1, 2016

+1

@philipkocanda

This comment has been minimized.

philipkocanda commented Mar 2, 2016

+1

@gsmetal

This comment has been minimized.

gsmetal commented Mar 2, 2016

+1

@jrbasso

This comment has been minimized.

jrbasso commented Mar 3, 2016

👍

@mkov88

This comment has been minimized.

mkov88 commented Mar 4, 2016

OMG PLXXXXXXZZZZZ w/ a panda on top!

+1

@50Wliu

This comment has been minimized.

Member

50Wliu commented Mar 4, 2016

At this point there isn't any constructive feedback happening, and each +1 notifies 56+ people, so I'm locking this issue. We will comment here as updates occur. As usual, PRs are welcomed for this issue.

@atom atom locked and limited conversation to collaborators Mar 4, 2016

@maxbrunsfeld maxbrunsfeld marked this as a duplicate of #918 Jun 30, 2017

@maxbrunsfeld maxbrunsfeld changed the title from Multi-line find and replace to Multi-line find and replace in project Jul 1, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.