Created
April 3, 2021 07:58
-
-
Save termosa/32ce7165734791b4892770642d917d2a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls ~/Code | node -e "rootPath=require('path').resolve('~/Code');process.stdin.on('data', d => console.log(JSON.stringify(d.toString().split('\n').filter(Boolean).map(name => ({ name, rootPath, enabled: true })), null, 4)))" > ~/Library/Application\ Support/Code/User/projects.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment