aaronpowell / vscode-profile-switcher

A VS Code extension for switching settings easily
https://marketplace.visualstudio.com/items?itemName=aaronpowell.vscode-profile-switcher&wt.mc_id=profileswitcher-github-aapowell
MIT License
177 stars 19 forks source link

"Select Profile" command is looking in the wrong directory #42

Open matronator opened 3 years ago

matronator commented 3 years ago

When I tried to select a profile I saved earlier, I got an ENOTDIR error. I discovered that the command was looking in the wrong directory.

The error said it was looking for /Users/Library/Application Support/User/settings.json which doesn't exists and I had to create it manually by copying it from /Users/Library/Application Support/VSCodium/User/settings.json.

Maybe it's because I'm using VSCodium instead of VSCode? If so, can VSCodium support be implemented please?

mTvare6 commented 3 years ago

Until the developer updates it to work for VSCodium a quick workaround would be: If you just have VSCodium and not VSCode a option would be to symbolic link those folders so

 ln -s /Users/you/Library/Application\ Support/VSCodium /Users/you/Library/Application\ Support/Code
 ln -s /Users/you/.vscode-oss /Users/you/.vscode

These are the directories for macOS find the directory where your OS has vscode

matronator commented 3 years ago

That works, thanks! :)