microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164k stars 29.19k forks source link

Selecting a profile to copy when creating a new one seems to only ever copy the default profile #198973

Closed SSmale closed 11 months ago

SSmale commented 11 months ago

Does this issue occur when all extensions are disabled?: Yes/No

Version: 1.84.2 Commit: 1a5daa3a0231a0fbba4f14db7ec463cf99d7768e Date: 2023-11-09T10:52:33.687Z Electron: 25.9.2 ElectronBuildId: 24603566 Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Darwin x64 23.0.0

Steps to Reproduce:

  1. create a new profile called A
  2. add 1 or more extensions to profile A
  3. create a new profile called B selecting profile A as the 'copy from'
  4. extensions from step 2 are not present
sandy081 commented 11 months ago

It is working for me. Are there any steps missing in your repro steps?

SSmale commented 11 months ago

This was my test just now, I list out the extensions used in the default and SpringBoot profile, create a new profile based on the SpringBoot profile and then list the test profile and it is the same as default

ssmale@Simons-MacBook-Pro-2 ~ % code --list-extensions 
aaron-bond.better-comments
benjaminadk.emojis4git
BriteSnow.vscode-toggle-quotes
christian-kohler.path-intellisense
eamodio.gitlens
esbenp.prettier-vscode
GitHub.vscode-pull-request-github
GitLab.gitlab-workflow
Gruntfuggly.todo-tree
KnisterPeter.vscode-commitizen
michelemelluso.gitignore
ms-azuretools.vscode-docker
ms-vscode-remote.remote-ssh
ms-vscode-remote.remote-ssh-edit
ms-vscode-remote.remote-wsl
ms-vscode-remote.vscode-remote-extensionpack
ms-vscode.remote-explorer
quicktype.quicktype
richie5um2.vscode-sort-json
shyykoserhiy.vscode-spotify
streetsidesoftware.code-spell-checker
VisualStudioExptTeam.intellicode-api-usage-examples
VisualStudioExptTeam.vscodeintellicode
vscode-icons-team.vscode-icons
WakaTime.vscode-wakatime
wayou.vscode-todo-highlight
yzhang.markdown-all-in-one
ssmale@Simons-MacBook-Pro-2 ~ % code --list-extensions --profile SpringBoot
aaron-bond.better-comments
benjaminadk.emojis4git
BriteSnow.vscode-toggle-quotes
christian-kohler.path-intellisense
eamodio.gitlens
esbenp.prettier-vscode
GitHub.vscode-pull-request-github
GitLab.gitlab-workflow
Gruntfuggly.todo-tree
KnisterPeter.vscode-commitizen
michelemelluso.gitignore
ms-azuretools.vscode-docker
ms-vscode-remote.remote-containers
ms-vscode-remote.remote-ssh
ms-vscode-remote.remote-ssh-edit
ms-vscode-remote.remote-wsl
ms-vscode-remote.vscode-remote-extensionpack
ms-vscode.live-server
ms-vscode.remote-explorer
ms-vscode.remote-server
quicktype.quicktype
redhat.java
richie5um2.vscode-sort-json
ryanluker.vscode-coverage-gutters
shyykoserhiy.vscode-spotify
streetsidesoftware.code-spell-checker
VisualStudioExptTeam.intellicode-api-usage-examples
VisualStudioExptTeam.vscodeintellicode
vmware.vscode-boot-dev-pack
vmware.vscode-spring-boot
vscjava.vscode-java-debug
vscjava.vscode-java-dependency
vscjava.vscode-java-pack
vscjava.vscode-java-test
vscjava.vscode-lombok
vscjava.vscode-maven
vscjava.vscode-spring-boot-dashboard
vscjava.vscode-spring-initializr
vscode-icons-team.vscode-icons
WakaTime.vscode-wakatime
wayou.vscode-todo-highlight
yzhang.markdown-all-in-one

image

ssmale@Simons-MacBook-Pro-2 ~ % code --list-extensions --profile test      
aaron-bond.better-comments
benjaminadk.emojis4git
BriteSnow.vscode-toggle-quotes
christian-kohler.path-intellisense
eamodio.gitlens
esbenp.prettier-vscode
GitHub.vscode-pull-request-github
GitLab.gitlab-workflow
Gruntfuggly.todo-tree
KnisterPeter.vscode-commitizen
michelemelluso.gitignore
ms-azuretools.vscode-docker
ms-vscode-remote.remote-ssh
ms-vscode-remote.remote-ssh-edit
ms-vscode-remote.remote-wsl
ms-vscode-remote.vscode-remote-extensionpack
ms-vscode.remote-explorer
quicktype.quicktype
richie5um2.vscode-sort-json
shyykoserhiy.vscode-spotify
streetsidesoftware.code-spell-checker
VisualStudioExptTeam.intellicode-api-usage-examples
VisualStudioExptTeam.vscodeintellicode
vscode-icons-team.vscode-icons
WakaTime.vscode-wakatime
wayou.vscode-todo-highlight
yzhang.markdown-all-in-one
sandy081 commented 11 months ago

/duplicate #199453

vscodenpa commented 11 months ago

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

Happy Coding!