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

saving profile from command panel fails #31

Open kris-koford opened 4 years ago

kris-koford commented 4 years ago

visual studio code version 1.45.1 repro steps

  1. press control + shift + p to bring up command panel
  2. in control panel type profileswitcher: save profile
  3. press enter expected behavior: prompt for profile name should appear to save profile

Actual behavior: error message appears in bottom right corner of vscode saying "Command 'Profile Switcher: Save Profile resulted in an error (command 'extension.saveprofile' not found)"

LaurentOngaro commented 3 years ago

same issue for me

LaurentOngaro commented 3 years ago

I found a workaround by installing a missing npm dependency: from a command prompt (or a shell prompt), run the command sudo npm install -g lodash Then, if you haven't done it, create the package for the extension :

then , from vscode, install manually the extension by selecting the .vsix file that has just been created.

Now creating and selecting profiles works for me without errors.

I've not tested the load/unload of extensions yet

aaronpowell commented 3 years ago

It's possible that the extension is built against quite an outdated version of VS Code. I'm in the process of updating it but hitting an issue with the build pipeline.

cilufarag commented 3 years ago

The same issue using WSL and code-insiders. It doesn't pop up any error. Just it doesn't save the new profile.

HenriqueMSimoes commented 3 years ago

O mesmo problema usando WSL e code-insiders. Não aparece nenhum erro. Só que não salva o novo perfil.

Estou com o mesmo problema.