8
Pro tip: VS Code's 'Peek Definition' changed how I read other people's messy code
I was super skeptical at first but after using it to trace a 400-line function in a open source project last week, now I'm convinced it's the best thing for beginners trying to understand complex codebases.
2 comments
Log in to join the discussion
Log In2 Comments
jones.angela10d ago
The peek feature totally changed my workflow too (though I still get lost in nested callbacks sometimes). Right click and peek has saved me from printing out entire files just to follow one variable. It's like having X-ray vision for code, but way less creepy than it sounds.
1
diana15510d ago
My buddy Dave used peek to track a variable through 12 callback layers and found a bug he'd missed for three weeks, useful stuff @jones.angela.
7