S
S
silencer-spirit2017-04-30 12:58:14
JavaScript
silencer-spirit, 2017-04-30 12:58:14

How in Sublime Text 3 when searching in all files at once and editing them?

Good afternoon! Please tell me how to immediately edit the code in the sublime when searching in all files. Those. I press ctrl+shift+f and the search input appears, I enter a word and a folder there, it finds all the pieces of code that I need, but how do I edit them? Thanks in advance!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Guryev, 2018-06-05
@djsv

youmightnotneedjquery.com

P
Pavel Kornilov, 2018-06-06
@KorniloFF

document.querySelectorAll('selector').forEach(function(i) {
  i.onclick = function(e) {
    e.preventDefault();
    var url = this.querySelector('img').src,
    th = this.closest('.thumbs');
    // ... etc ...
  }
});

In this spirit and further. There is nothing difficult.

F
Foo Bar, 2017-05-02
@atomheart

F4 opens in turn the files in which the search expression was found.
In the menu, this item is: Find -> Find Results -> Next Result

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question