setting.json and setting methods for vscode
This setting applies only to projects currently working on.You can apply different settings for each
project, which are stored in the
settings.json
file for that project.User settings (User)
This setting applies to the entire VSCode user experience.
This setting applies consistently to all projects and is stored in the user's VSCode configuration file.
Workzone setting (Workspace)
Cmd + Shift + P
(Mac) or Ctrl + Shift + P
(Windows/Linux) to open the Command Palette and search for 'Settings' to open the Settings screen.
Currently, VSCode provides a GUI-based setting screen, where changes are automatically reflected in the settings.json
file.
Use Example
{
"editor.formatOnSave": true, // 자동저장 on
"editor.defaultFormatter": "ms-python.Black-formatter" // use a formatter called black as an automatic formatting function
}
Detailed information setting for extension program and recommendation method for project extension program
To check setting for each extension program (extension) through setting.json's GUI, and to change it by clicking "Extension Settings" in the image below.
There is also a menu called "Additional Recommendations to Work Area" in the image below, and if you use it, extenstances.You can add the extension to json
to recommend that you install it when running the project
p>
p>pylance>Intelligence called black and a format called black are recommended
{
"recommendations": ["ms-python.vscode-pylance", "ms-python.black-formatter"]
}
IntelisenseIntelisense helps you code faster and more accurately with automatic completion and code information provision. (Automatic completion)
Formatter provides consistent and neat organization of code formats for greater readability. (Code Theorem)
Lint
improves the quality of code by analyzing and pointing out errors or style issues in the code.
Intelisense helps you code faster and more accurately with automatic completion and code information provision. (Automatic completion)
Formatter provides consistent and neat organization of code formats for greater readability. (Code Theorem)
Lint
improves the quality of code by analyzing and pointing out errors or style issues in the code.