Skip to content

Instantly share code, notes, and snippets.

@TheWass
Last active August 29, 2015 14:18
Show Gist options
  • Save TheWass/e14c7b3c5d229cebab79 to your computer and use it in GitHub Desktop.
Save TheWass/e14c7b3c5d229cebab79 to your computer and use it in GitHub Desktop.
I came across a nifty way of quickly toggling C-style code: Simply, add a slash to comment/uncomment a block.
/*
Code block
//*/
//* <--Added a slash here!
Code block
//*/
/*
First code block
/*/
Second code block
//*/
//* <--Added a slash here!
First code block
/*/
Second code block
//*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment