Skip to content

Instantly share code, notes, and snippets.

@cdeutsch
Created April 10, 2018 16:15
Show Gist options
  • Save cdeutsch/e1700dc128364e589e7781516f0ed4d1 to your computer and use it in GitHub Desktop.
Save cdeutsch/e1700dc128364e589e7781516f0ed4d1 to your computer and use it in GitHub Desktop.
Select words in JSON and CSS using `cmd+D` in VSCode the way God intended
// This will comment out any lines that begin with wordPattern in jsonMain.js and cssMain.js
// jsonMain.js and cssMain.js moved to these locations in VSCode 1.22.1
sed -i -e "s/wordPattern/\/\/wordPattern/g" /Applications/Visual\ Studio\ Code.app/Contents/Resources/app/extensions/json-language-features/client/out/jsonMain.js
sed -i -e "s/wordPattern/\/\/wordPattern/g" /Applications/Visual\ Studio\ Code.app/Contents/Resources/app/extensions/css-language-features/client/out/cssMain.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment