Skip to content

Instantly share code, notes, and snippets.

@darrenderidder
Created June 22, 2012 13:30
Show Gist options
  • Save darrenderidder/2972745 to your computer and use it in GitHub Desktop.
Save darrenderidder/2972745 to your computer and use it in GitHub Desktop.
Comment Toggle Switch
// Toggle commented blocks of code with a single slash
// open comment: /*
// close comment: // */
// uncomment: //*
// pivot comment /*/
/*
"commented"
// */
//*
"not commented"
// */
/*
"commented"
/*/
"not commented"
// */
//*
"not commented"
/*/
"commented"
// */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment