How To Open settings.json In Visual Studio Code | Where Is settings.json in VSCode?

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey guys in this video I'm going to show you how you can open the settings.json file in Visual Studio code editor so let's get started so first of all what you can do is you can press control and comma keys on your keyboard so so just press Ctrl and comma key which is going to open settings window like this and here by default you can see text editor is selected you can also select other options from here so for example I just select the text editor here you can scroll down where you can see edit in settings.json right so you will be able to find this option somewhere when you scroll down or you can directly see this option for code action on save so I can click on edit in setting.json file and you can see this setting.json file is opened right also you can see it's not saved so I can press Ctrl s to save this file and the setting is saved now this setting which is opened here I have opened this setting for the user right there are three options here under the settings which we have opened you can also open the settings window using this file option and then go to preferences and then click on setting which is going to also open the same window so there are three kind of settings here one is for the user other is for the workspace and the next is for your project on which you are working right so workspace is where you create all your projects so a workspace can contain multiple projects if you just want to change the setting inside this project which is named calculator then you can click on this option and then search for the particular setting for that project only right so for example I just want to change the setting in this project and not for all the users then I can select the project name and then I can just search for the settings.json file right I can even create a setting.json file but I can see edit in setting.json which is going to open this separate settings.json for this particular project so you can see as soon as you clicked on settings.json there is a folder which is created automatically inside your project which is called dot vs code and inside this you have this settings dot Json file right you can save this settings.json file and all the changes are only applicable for your project so you need to decide for which option you want to change or open the settings.json you can change the settings.json for all the users you can change the settings.json for the workspace and you can change the settings.json for your particular project if you want to change the settings dot Json for your project dot vs code of directory will be created inside your project and there will be a settings.json file and here you can change the settings so for example I want to change the font size of this editor so I can write editor dot font size and then save this and then you can see the font size is changed right so I can remove this font size for example and save this and the font size will be changed for just for this project if you want to change the settings for all the projects and all the users then you can select the different settings for the user or workspace right now if you want to know the location of all the settings.json file you can see at the top for example this settings.json file is located inside my calculator folder which is this one and then there will be vs code and then there is this settings.json if I want to see the user settings location you can see it's inside my C user username app data roaming code user so you can see the exact path of the settings dot Json file or exact location of the SEC settings.json file at the top so you can hover over this settings.json file and it's going to give you the location of that file so this is how you can open the settings.json file I hope you enjoyed this video and I will see you in the next video
Info
Channel: ProgrammingKnowledge
Views: 21,600
Rating: undefined out of 5
Keywords: vscode settings.json example, vscode settings.json environment variables, default settings.json vscode, vscode settings.json read only, settings.json vscode python, settings.json vscode c++, vscode workspace settings, vscode settings file
Id: NXGIGU1jIXg
Channel Id: undefined
Length: 5min 30sec (330 seconds)
Published: Wed Apr 19 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.