Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

saving profile from command panel fails #31

Open
kris-koford opened this issue May 25, 2020 · 5 comments
Open

saving profile from command panel fails #31

kris-koford opened this issue May 25, 2020 · 5 comments

Comments

@kris-koford
Copy link

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
Copy link

same issue for me

@LaurentOngaro
Copy link

LaurentOngaro commented Nov 15, 2020

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 :

  • clone the repo
  • open a command prompt (or a shell prompt) in the cloned folder
  • install or update required npm modules: npm update
  • create the package: vsce package

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
Copy link
Owner

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
Copy link

cilufarag commented Jul 9, 2021

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

@HenriqueMSimoes
Copy link

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.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants