+1

Replace across files stopped working

Anentropic hace 9 años actualizado hace 9 años 1

Sublime Text 2.0.2, build 2221 OS X Mavericks


My 'replace' button has stopped working yesterday. I can Cmd+Shift+F and find the occurrences I want to replace, but when I click the 'Replace' button nothing happens.


I have closed ST2 and reopened it again. I see nothing in the log window when I try to replace.

I found a way to make it work, I don't understand the problem though.


I had this in my 'Where' field:

/Users/me/Documents/myproject,-*.sql,-migrations/,-static/,-*.css,-*.js,-*.json,-*.svg,-*.scss,-*.html

As I said, this successfully finds all the places I want to replace, but the Replace button does nothing.


If I add an 'include filter' to the 'Where' field:

/Users/me/Documents/myproject,-*.sql,-migrations/,-static/,-*.css,-*.js,-*.json,-*.svg,-*.scss,-*.html,*.py

...now I can replace successfully.


I am 100% certain I did not have to do this in the past and it seems like a bug. Is this a new build? Have I enabled a 'feature' accidentally that is causing this?