-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Make it easy for users to import a profile as default #168867
Comments
@isidorn "importing a profile as default" is a very good idea! |
Related Stack Overflow question: Why is my VS Code always opened with the default profile? |
Where is that profile JSON file located please? I would like to edit it but I can't find it. |
Here are a little tricks:
It failed first when I open vscode in my country language, after switch to English, it worked. 🙂 UPDATE: After v1.81.0 you can't overwrite anymore, see this PR #188510, extactly in |
I just figured that out these days.
Exported profile is the one with `.code-profile` extension. And the `name` is at the beginning of the file, should look like this after changing the name to `Default`: `"name":"Default",`
Best,
Jozsef K.
Sent from mobile phone
…
On 13 May 2023 at 15:08, 诸葛林 ***@***.***> wrote:
Here are a little tricks:
change the exported profile json key name to Default
MUST change vscode display language to English
import profile
then it will show a "Overwrite" prompt...
It failed first when I open vscode in my country language, after switch to English, it worked. 🙂
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
I want to make my imported profile as default without changing of the VS Code profiles have been around for quite a while, I wonder why this is still not implemented? |
This comment was marked as spam.
This comment was marked as spam.
The easiest way to bypass this for now is to downgrade to version 1.75.0, override the profile, then upgrade to latest |
I just wanted to export my single profile from my old machine to my new machine, and now VS code on my new machine is a mess :( |
I had to do a clean reinstall of VSCode because my installation got messed up. Before doing so, I exported my default profile with the hopes of importing it as my default profile after reinstall. Is this not possible? Should I have done something other than exporting the profile to capture my settings? I prefer not to use cloud sync |
+1 on this. I'm trying to share a VS Code profile with students in the university course. The current system means that the settings profile that they import doesn't get used by default, which makes the setup process extremely tedious. |
any updates? @LitileXueZha 's solution didn't work for me cuz vscode wouldn't allow to overwrite the "Default" profile. I am on |
bump +1 |
Just ran into this when reinstalling my computer, the old way of just overwriting the default profile was patched for some reason, so now this is just a huge pain and i'll have to do what this user suggests to transfer over all my settings:
here's command to install the old version that supports it: |
i recently had to reinstall VS code for a number of reasons. i, for one, am not interested in using "the cloud" for every single thing, so i simply exported my profile to keep my settings. upon reinstalling, it was only then did i find out i cannot overwrite the default profile with my original one. "no problem," i naively thought. "surely i can just set this new one as the default!" nope. im sorry but are you serious right now? do you guys really expect users to just switch profiles every single tIme they open their text editors??? how is this issue nearly a year old and still open? |
Same here, new company laptop, fresh vscode, tried to import my exported profile to Default but it's not possible. |
No long an option to overwrite, just a blanket "already exists" error. LTS and Insiders. |
@LitileXueZha any news on this? |
Please add this. It shouldn't be this difficult to switch PCs. I made due with adding |
Please provide the ability to import the default profile. 😢 |
I don't understand how this is even a problem? Why is this even not a default way? Isn't it so difficult to have an option to override the default profile? Please make this possible. |
@ypxun yes, it goes under the user data directory |
this is a joke right ? how come "default" profile was a thing but got removed ? wtf is wrong with us willing to set "custom profile" as default ? |
The paths are different for Windows. Here is what worked for me as of March 2024 in Windows for VSCode Version: 1.87.2 (user setup):
Note that I have vscode installed as user setup. For a system installed vscode, the paths are probably different again. And yes, it's quite annoying that this issue is still not resolved after more than a year! |
If anyone runs into this issue with VSCode - Insiders on Mac, the paths where you'll need to perform the manual fix are:
|
@dave-alvarez not sure what Mac you have, but those paths do not exist on the latest MacOS when installing Visual Studio Code. STOP providing "works for me" hacks that users will apply and possibly break their apps by messing around. |
My comment clearly states VSCode - Insiders... |
Today my VS Code settings got corrupted. Luckily I've been able to use backup from my secondary machine, but current versions of VS Code and VS Code Insiders do not allow to overwrite the I hope that devs will make this less of a hassle in the future. |
+1 for this issue |
You can now import and replace any existing profile (including Default profile) from new Profiles Editor UI Kapture.2024-07-18.at.16.57.25.mp4 |
when will this come out to the main version of vscode not the insiders one ? |
Early August. See #220925 |
Some users in the user study were confused about what gets part of the newly imported profile and what will be a part of the default profile.
We should think about Novice users that have just been sent a profile for their work or are using one of the built-in profiles. They have no clue about VS Code, they have no clue about profiles. They do not want to be bothered by profile management. They want to use the one profile they just got.
My suggestion is helping them make the imported profile the default. Maybe we could detect if their default profile is "empty-ish". But I would love to hear better ideas.
The text was updated successfully, but these errors were encountered: