How to delete a word from every project in Visual Code

Asked

Viewed 357 times

0

I want to delete that piece of code ng-show="$ctrl.state == 'downloading' which was set several times, but as the code is extensive it takes a lot of work to delete one by one. I’m using Visual Code, there’s some way to erase that chunk from everywhere in the project at once?

1 answer

0

inserir a descrição da imagem aqui

Amigo type CTRL+F and click on this arrow marked in the photo, put your text in the top field and the bottom one puts an empty string in the ''. And then click on the second icon marked to replace everywhere.

I hope I helped friend.

  • but it will replace with the '' character or just delete?

  • It will replace with an empty string space that is the same as deleting.

  • It worked out buddy?

Browser other questions tagged

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