If you're still manually renaming variables one by one across a file, you're working too hard. In VS Code, hitting Cmd+D (or Ctrl+D) while a word is selected will highlight the next occurrence and add a new cursor. It’s a game-changer for refactoring small blocks of code or repetitive HTML tags. If you want to grab every instance at once, use Cmd+Shift+L. Just be careful—with great power comes the responsibility of not accidentally renaming a substring you didn't mean to touch!
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)