microsoft / vscode

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

Cannot create new profile via copying default one #198518

Open tomaxsas opened 10 months ago

tomaxsas commented 10 months ago

Type: Bug

Create new profile, in Copy from field select Default profile. There is error:

notificationsAlerts.ts:40 Error: Not Supported at n.copyExtensions (extensionManagementService.ts:573:10) at o.copy (extensionsResource.ts:182:41) at userDataProfileImportExportService.ts:585:73 c @ notificationsAlerts.ts:40 (anonymous) @ notificationsAlerts.ts:28 y @ event.ts:1140 z @ event.ts:1151 fire @ event.ts:1175 addNotification @ notifications.ts:204 error @ notificationService.ts:130 R @ userDataProfileImportExportService.ts:539 log.ts:441 ERR Not Supported: Error: Not Supported at n.copyExtensions (vscode-file://vscode-app/c:/Users/user/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2709:636) at o.copy (vscode-file://vscode-app/c:/Users/user/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2389:38690) at vscode-file://vscode-app/c:/Users/user/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:2623:24153

VS Code version: Code - Insiders 1.85.0-insider (444e73750b99b11c3597a5f5d210d2b52257e377, 2023-11-16T05:36:13.931Z) OS version: Windows_NT x64 10.0.22000 Modes: Remote OS version: Linux x64 5.15.133.1-microsoft-standard-WSL2

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-10850H CPU @ 2.70GHz (12 x 2712)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|31.75GB (11.21GB free)| |Process Argv|--folder-uri vscode-remote://wsl%2Bcentos9-stream/home/zalent/source_code/endor-iac| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|WSL: CentOS9-stream| |OS|Linux x64 5.15.133.1-microsoft-standard-WSL2| |CPUs|Intel(R) Core(TM) i7-10850H CPU @ 2.70GHz (12 x 2711)| |Memory (System)|15.50GB (11.44GB free)| |VM|0%|
Extensions (79) Extension|Author (truncated)|Version ---|---|--- vscode-nginx-conf|ahm|0.3.2 LogFileHighlighter|emi|2.16.0 vscode-systemd-support|han|1.0.1 remote-containers|ms-|0.324.0 remote-ssh|ms-|0.108.2023110315 remote-ssh-edit|ms-|0.86.0 remote-wsl|ms-|0.81.8 vscode-remote-extensionpack|ms-|0.24.0 remote-explorer|ms-|0.5.2023110609 remote-server|ms-|1.5.0 sublime-keybindings|ms-|4.0.10 material-icon-theme|PKi|4.31.0 shellman|Rem|5.7.0 shebang-snippets|rpi|0.1.4 errorlens|use|3.15.0 vscode-icons|vsc|12.6.0 vscode-nginx-conf|ahm|0.3.2 github-markdown-preview|bie|0.3.0 markdown-checkbox|bie|0.4.0 markdown-emoji|bie|0.3.0 markdown-footnotes|bie|0.1.1 markdown-mermaid|bie|1.20.0 markdown-preview-github-styles|bie|2.0.3 markdown-shiki|bie|0.1.1 markdown-yaml-preamble|bie|0.1.0 ruff|cha|2023.50.0 gitignore|cod|0.9.0 vscode-markdownlint|Dav|0.52.0 vscode-eslint|dba|2.4.2 gitlens|eam|14.5.0 EditorConfig|Edi|0.16.4 prettier-vscode|esb|10.1.0 code-runner|for|0.12.1 shell-format|fox|7.2.5 gitlab-workflow|Git|3.86.1 todo-tree|Gru|0.0.226 vscode-guid|hea|1.7.0 rest-client|hum|0.25.1 path-autocomplete|ion|1.25.0 x509-parser|jlc|0.0.6 vscode-swissknife|lui|1.8.1 bash-ide-vscode|mad|1.39.0 caddyfile-support|mat|0.3.0 rainbow-csv|mec|3.8.0 git-graph|mhu|1.30.0 ecdc|mit|1.8.0 vscode-filesize|mkx|3.1.0 vscode-bicep|ms-|0.23.1 vscode-docker|ms-|1.28.0 csdevkit|ms-|1.1.12 csharp|ms-|2.10.28 vscode-dotnet-runtime|ms-|2.0.0 vscodeintellicode-csharp|ms-|0.1.26 python|ms-|2023.20.0 vscode-pylance|ms-|2023.11.10 jupyter-renderers|ms-|1.0.17 vscode-jupyter-cell-tags|ms-|0.1.8 vscode-jupyter-slideshow|ms-|0.1.5 hexeditor|ms-|1.9.12 live-server|ms-|0.4.11 vscode-versionlens|pfl|1.9.2 vscode-regolint|ple|0.2.0 ansible|red|2.8.108 vscode-commons|red|0.0.6 vscode-xml|red|0.26.1 vscode-yaml|red|1.14.0 jinjahtml|sam|0.20.0 vscode-fileutils|sle|3.10.3 vscode-taskexplorer|spm|2.13.2 code-spell-checker|str|3.0.1 tabnine-vscode|Tab|3.33.1 even-better-toml|tam|0.19.2 shellcheck|tim|0.34.0 msbuild-project-tools|tin|0.4.9 opa|tsa|0.12.2 vscode-counter|uct|3.2.2 intellicode-api-usage-examples|Vis|0.2.8 vscodeintellicode|Vis|1.2.30 markdown-all-in-one|yzh|3.5.1
sandy081 commented 10 months ago

Are you using this feature in VS Code connected to a remote window?

tomaxsas commented 10 months ago

yes, wsl instance

icaroharry commented 9 months ago

@tomaxsas I was also facing the same issue on WSL.

I managed to create a profile based on the default one by exporting and importing it back again.

tomaxsas commented 9 months ago

yes i did that way also

Zenthae commented 5 months ago

I'm getting the same issue, creating a new profile from Default when connected to a WSL2 instance is not working, i had to open vscode in Windows then create the profile

daeh commented 1 month ago

I'm getting this issues on MacOS. Export / import works. Once I try to specify which profile to duplicate or which configurations to copy, I loose the ability to select configurations. This is a new issue (I was able to duplicate profiles until a month or two ago)

CleanShot 2024-08-28 at 18 00 42

sandy081 commented 1 month ago

@daeh Issue you are seeing is different from what this issue is about. This is fixed and will be available in our next release. Until then please use the following workaround.

https://github.com/microsoft/vscode/issues/224788#issuecomment-2274305778

Sorry for breaking this experience.

NeuSandeZ commented 1 month ago

@daeh Glad you posted it cause I faced the same issue and thought something's up with my setup.

NeuSandeZ commented 1 month ago

@sandy081 When can we expect the release?

daeh commented 1 month ago

thanks for the pointer and the fix, @sandy081 !

ductbuix commented 4 weeks ago

That's what I'm facing right now @daeh

daeh commented 4 weeks ago

@ductbuix Just enable the preview profiles UI feature, like @sandy081 suggested https://github.com/microsoft/vscode/issues/224788#issuecomment-2274305778