-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] Support templates for workspaces #90649
Comments
Hello @bpasero, @JacksonKearl, @roblourens @sandy081 and @Tyriar ! I have read another topic about the workspaces with few extensions (#15611). According to you, the enabled extensions in each workspace are locally stored in the cache folder
It is why you should add |
May I know why you would like to backup user data (settings etc)? Is it for syncing across machines? Is your request similar to this - #40239 ? |
Yes, it is. I use @shanalikhan's Settings Sync. It backs up the workspace folder, but does not back up the
Reading this topic...:
I do not want to use recommendations because they will not install or not enable automatically them. |
Hi @sandy081! What is your decision? |
FYI we are currently working on providing sync OOB and since your requirement is to sync workspaces, I would tag this as a sync request. |
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
Hello @sandy081 ! There is a small problem. I do not want to add folders to the workspaces because each workspace is for any project. |
Not sure if I understand what you meant. Can you please elaborate? |
The folders are always saved in the workspace. When I open the workspace, the projects are there. I do not want to add or save them, I want an empty workspace, because the workspace is for any project, not just for added or saved project. |
Then what does the workspace configuration file shall contain? |
{
"folders": [
{
"path": "/home/gusbemacbe/Templates/Alan Silva"
}
],
"settings": {
"liveServer.settings.multiRootWorkspaceName": "Formulário com Validação"
}
} Look at |
It means you only want settings to be synced? If so how different this is to have this setting in user settings and get synced? |
Yes, with JSON of enabled extensions, similar to Sync Settings. Only it will not download the extensions. It will check if which extensions should be enabled and not enabled when I open the workspace. If you have difficulty to understand my explanation due to language barrier, maybe @shanalikhan will explain better or I will explain with JSON. |
Yeah it is difficult to understand your requirement. Can you please explain your use case with an example? |
Here is how should {
"settings":
{
"extensions":
{
"dart-code.dart-code": "disabled",
"dbaeumer.jshint": "disabled",
"dustinsanders.an-old-hope-theme-vscode": "enabled",
"ms-vscode.atom-keybindings": "enabled",
"pranaygp.vscode-css-peek": "disabled"
},
"folders":
{
"addFolderToWorkspace": false,
// or
"saveFolderToWorkspace": false,
"path": ""
}
}
} |
Sorry still unclear to me. Please explain me the end to end scenario. |
Hello @sandy081 I simplified a bit, removing {
"folders":
[
{
"path": "",
"saveFolderToWorkspace": false,
}
],
"extensions":
[
{
"dart-code.dart-code": "disabled",
"dbaeumer.jshint": "disabled",
"dustinsanders.an-old-hope-theme-vscode": "enabled",
"ms-vscode.atom-keybindings": "enabled",
"pranaygp.vscode-css-peek": "disabled
}
]
}
"folders":
[
{
"path": "",
"saveFolderToWorkspace": false,
}
] This is important for the user who opens different PHP projects with a same PHP-specific workspace without getting bothered with a formerly saved/added folder/project, so he does not have to remove that project from workspace. Opening is different of adding. Adding bothers more the user because it always saves the folder or projects to the workspace. If I set "folders":
[
{
"path": "/home/gusbetuga/Projects/PHP-Workspace",
"saveFolderToWorkspace": false,
}
]
[
{
"dart-code.dart-code": "disabled",
"dbaeumer.jshint": "disabled",
"dustinsanders.an-old-hope-theme-vscode": "enabled",
"ms-vscode.atom-keybindings": "enabled",
"pranaygp.vscode-css-peek": "disabled
}
] |
I see there are two requests.
This issue will be tracked for workspace template. |
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
I think it will not be moved to the backblog as it will not receive votes, as the vscodebot has said. |
Yeah it is true as mentioned in the documentation. |
I'm going to close the issue as it does not have less than 20 votes. I'll create several workspaces folders by language and symlimk some specific language extensions for each workspace folder. Or I must migrate from VSCode to another lightweighting text editor with very low memory requirements. |
Hello,
We all know the command
--disable-extensions
which disables all the extensions when opening VSCode via terminal.--extensions-dir
, but if we have to do it with this option, we have to create multiple folders prefixed with.vscode-*
and symlink some extensions.--disable-extension
– it allows disabling only one extension and not more than extensions.The ideal is that, we would like to open VSCode only with few extensions and excluding/disabling all other to optimise the performance due to the #89300, which showed that, with many extensions, searching and replacing all files at once will slow down the performance of VSCode and of the PC.
So we would add the new command
--enable-extensions <id> <id> <id> ...
.The text was updated successfully, but these errors were encountered: