Built Log Stripper: A VS Code Extension to Remove Debug Logs Across 23+ Languages
Log Stripper is a new VS Code extension designed to automate the removal of debug logs from over 23 programming languages. It features a preview mode that allows developers to see what will be deleted before making any changes. The tool aims to streamline the cleanup process for developers, enhancing productivity and maintaining code quality.
- ▪Log Stripper can remove debug, log, and print statements from 23+ programming languages.
- ▪The extension includes a preview mode to confirm deletions before they occur.
- ▪It offers a workspace cleanup feature that allows stripping debug statements from an entire project in one command.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3965731) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Saurabh Choudhary Posted on Jun 3 Built Log Stripper: A VS Code Extension to Remove Debug Logs Across 23+ Languages #vscode #opensource #productivity #typescript Every developer has a version of this story. You're about to open a pull request. The code works. The tests pass. Everything looks good.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).