12

I was working on a section of code and had to make a change to an if-statement. So I searched for "if" to get there... Idiot...

Comments
  • 3
    Tried and true, just not optimal :-p
  • 2
    You have to use case sensitive search.
    .
    .
    .
    ;-)
  • 2
    @Fast-Nop How... How would that help me? 😅
  • 2
    @ScriptCoded You'd have much fewer hits for "IF" than for "if". You could even use some #define-like mechanism to define IF as if, and then you use IF in the source text only for the important ifs. ^^
  • 2
    @Fast-Nop Haha, absolutely. Then I'd just have to tab though a few hundred less!
  • 1
    "\nif " or "\nif{" or shit like that.
    Notepad++ supports these if you enable them with a clearly-labeled button.
  • 2
    @Parzi Yeah, I'll absolutely find if's that way as well. But that doesn't mean that I've got less ifs!
Add Comment