Language-Agnostic Logger Snippet #15082
Unanswered
babucarr32
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A simple bash script that wraps selected text with the appropriate logging statement based on file extension.
Features
:pipecommandUsage
username)Ctrl+l.js→console.log(username);.py→print(username).go→fmt.Println(username).rs→println!("{:?}", username);Extending
Simply add new cases to the
casestatement in the script for additional language support.logger-demo.mov
Find it here https://github.com/babucarr32/the-ultimate-helix-setup?tab=readme-ov-file
Beta Was this translation helpful? Give feedback.
All reactions