Locked learning resources

Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Locked learning resources

This lesson is for members only. Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Exporting Your VS Code Profile

00:00 With all your settings in place, it’s time to export your profile. On your computer, your profile is safe, but you might want to work on another computer, or you might even add your profile to a version control system like Git.

00:15 And for that, the export function is quite handy.

00:19 Again, click on your smiley face icon, go from there to Profile and then to Export Profile. Once you click Export Profile, you have some options, but since you only made changes on the settings.json file, you can take the check mark of UI state off and only export the settings.json file.

00:41 Once you click Export, you have two options. Either you can save your profile on GitHub if you connected your GitHub account with VS Code, or you can save it as a local file.

00:53 Let’s save it as a local file for now.

00:56 Since I have the code-image-generator project open, VS Code suggests that I save it directly there, but I want to save it on the Desktop. And here on the Mac, I think in other operating systems it’s the same.

01:09 You start with the name that you gave your profile. So in this case, it’s Playground, but you could also add like a timestamp or anything else but for now, let’s leave it with Playground and once you save it, you have an exported profile.

01:24 And just like you can imagine, you can also import profiles like that. So if you have a cool profile created on this computer and you want to have the same profile on your work computer, you can import the profile there.

01:38 The other cool thing about exporting and importing profiles is that you can also share them. So if you have a cool profile that you’re willing to share with others, you can upload it on GitHub, create a repository, or send them over because it’s just a settings.json file.

01:52 So it’s a plain text file that’s very nice to share, edit, and import.

01:58 That’s it for now. So let’s wrap up this code conversation in a final lesson where I give you some additional resources if you want to dive in a little bit deeper.

Become a Member to join the conversation.