Comments (3)
Hi I just tested on Windows 10 x64, the error is related to workspaces.
Thanks for the detailed description of the problem, I have already started fixing it. 🛠
When a profile is applied, the selected extensions are added to the enabled ones, and not the selected ones to the disabled ones inside the workspace. On Windows, the path to the workspace (folder) data is C:\Users\<username>\AppData\Roaming\Code\User\workspaceStorage\<uuid>\state.vscdb
. The extensionsIdentifiers/disabled
field stores information about the disabled extensions in this workspace, and theextensionsIdentifiers/enabled
contains the enabled extensions for the workspace.
*.vscdb
is a SQLite file.
Lists are stored in C:\Users\<username>\AppData\Roaming\Code\User\globalStorage\state.vscdb
in thevscodeExtensionProfiles/profiles
field.
The list looks like this:
export type ProfileList = {
[key: string]: ExtensionList;
};
export type ExtensionList = {
[key: string]: {
uuid: string;
label?: string;
description?: string;
};
};
Example:
{
"Example profile": {
"zxh404.vscode-proto3": {
"uuid": "1d3d1fb2-0d8f-47ed-bfce-990b8ddfc9d8",
"label": "vscode-proto3",
"description": "Protobuf 3 support for Visual Studio Code"
},
"dunstontc.vscode-go-syntax": {
"uuid": "488eeb77-00fc-43a2-971f-bbc2db907ca2",
"label": "vscode-go-syntax",
"description": "Syntax highlighting for Go (WIP)"
},
"coolbear.systemd-unit-file": {
"uuid": "fe20f03a-2abf-470a-ab23-d671ec38ce42",
"label": "systemd-unit-file",
"description": "Language support for systemd unit files"
},
"kangping.protobuf": {
"uuid": "5228abae-ad60-4fc3-a1d5-23c5a778c51a",
"label": "protobuf",
"description": "protobuf"
},
"hangxingliu.vscode-nginx-conf-hint": {
"uuid": "c3d3e8fb-c61d-4edf-8fb8-32298bc763f9",
"label": "nginx.conf hint",
"description": "nginx.conf syntax, hint and autocompletion"
},
"zainchen.json": {
"uuid": "311c4d7f-e81f-47f8-9956-6a9919ddef43",
"label": "json",
"description": "Json for Visual Studio Code"
}
},
"Other profile": {
"zxh404.vscode-proto3": {
"uuid": "1d3d1fb2-0d8f-47ed-bfce-990b8ddfc9d8",
"label": "vscode-proto3",
"description": "Protobuf 3 support for Visual Studio Code"
},
"dunstontc.vscode-go-syntax": {
"uuid": "488eeb77-00fc-43a2-971f-bbc2db907ca2",
"label": "vscode-go-syntax",
"description": "Syntax highlighting for Go (WIP)"
}
}
}
from vscode-extensions-profiles.
@generic-user Hi, update 1.0.5 was released where it was fixed, you can check if everything works for you.
from vscode-extensions-profiles.
For a long time there is no answer to this problem and such a problem has not been observed, so the question will be closed.
If you still have this problem, please write and the issue will be opened again
from vscode-extensions-profiles.
Related Issues (20)
- Crash with extension 'Json to dart model' installed HOT 3
- Running the contributed command: 'vscode-extension-profiles.Apply' failed. HOT 3
- Creating profile fails with an error HOT 9
- The extension does not work with WSL HOT 7
- Error, does not work on Apple M1 HOT 3
- Default Profile when starting VSCode HOT 1
- Allow switching profiles without any folders open HOT 1
- Allow syncing profiles when using Remote Connection (SSH)
- "Working folder not found, open a folder an try again" after download node.js extension pack HOT 1
- Applying profile does not enable extensions HOT 2
- Save profile with current extensions enabled? HOT 3
- Unable to open database file HOT 2
- Does extension enable / disable extensions when profile is applied?
- [Feature Request] Add ability to clone profile
- Applying a profile does not take effect until VS Code is restarted HOT 2
- Re-enabled plugin and its commands have stopped working HOT 5
- Ext is not working .... HOT 5
- VSCode portable mode
- Can't create a profile HOT 1
- Feature Request: apply a default profile when no profile is set for a folder/project HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-extensions-profiles.