Sublime, override/replace codes

Asked

Viewed 2,177 times

0

Hello, I’m looking to replace all the characters that have the color #a10f2b in Sublime Text 2.

I know it’s possible, but I couldn’t find the answer.

I want to replace all colors of the CSS theme.

  • http://sublime-text-unofficial-documentation.readthedocs.org/en/latest/search_and_replace/search_and_replace.html

  • Hello? Can you answer the question?

  • Managed to replace ? before asking questions try researching the question to see if there are any answers already in stackoverflow or Goolge.

  • 2

    Stop being silly, Google has practically everything, but in the community of Stack Overflow in Portuguese I found nothing. This question can help a lot of people. The link you passed does not answer the question and is also not in English. You didn’t even read what you sent.

  • I agree with @Felipejorge. We found everything on Google, but if we find it in Portuguese (here then) it’s always better!

  • http://answall.com/questions/67509/atalho-para-renomear-palavras-ou-variaveis-iguais-no-sublime-text-3

  • I changed the title of the other post to avoid future duplicates and facilitate the search.

Show 2 more comments

1 answer

1


If it is in one file, you can use the shortcut CTRL+D, after you have selected the color. From there, you press until all is selected. This will make that, when you type, all occurrences of #a10f2b are replaced in "real time"

Exemplo CTRL+D

If you want to do this in the entire project, you can do this through CTRL+SHIFT+F.

Then just fill in the field to search in find, the value of the substitution in replace, the value of the directory to search in where, and click on replace. Then just go on File > Save all

Example:

inserir a descrição da imagem aqui

Browser other questions tagged

You are not signed in. Login or sign up in order to post.