garethflowers / vscode-portable

Portable version of the Visual Studio Code editor.
https://garethflowers.dev/vscode-portable/
GNU General Public License v2.0
512 stars 71 forks source link

The config file of the extension "vscode-commandbar" not portable! #47

Closed daviduuang closed 6 years ago

daviduuang commented 6 years ago

The extension CommandBar is very useful! The config file it generated not located under path "VSCodePortable\Data".

garethflowers commented 6 years ago

Just installed the CommandBar extension and its installed to VSCodePortable\Data\code\extensions\gsppvo.vscode-commandbar-0.2.23 on my machine - so all looks good to me.

What version of VSCodePortable are you running?

daviduuang commented 6 years ago

When follow the instruction of CommandBar extension to make global settings, its config file saved in "\Users{MyUserName}\commandbar.json" which makes it not portable.

Create workspace and global settings file (Ctrl+Shift+P or Cmd+Shift+P type Commandbar: Settings) Apply settings immediately after saving changes in ./.vscode/commandbar.json file

garethflowers commented 6 years ago

The problem is with the CommandBar extension storing its configuration in a non-standard location. The proper location for global user settings (under windows) is %APPDATA%\Code\User.

It looks like there are already issues with config file location - see ppatotski/vscode-commandbar#55. I'd suggest logging an issue with them.