Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

VS Code settings

VS Code settings

VS Code (Visual Studio Code) is a feature-rich code editor whose settings allow users to customize the behavior and appearance of the editor to suit their personal work habits and preferences.

Two ways to configure VS Code:

Use keyboard shortcuts to open the settings page:

You can also open the settings page by selecting Code > Preferences > Settings from the menu:

The settings page is shown below:

** Page layout:**

Commonly used settings include:

Enable Auto Save

By default, VS Code does not automatically save modified files.

In the Settings Editor, select a value from the Auto Save dropdown to change this behavior.

After the change, VS Code will automatically apply the setting change.

If Auto Save is enabled, files in the workspace will be saved automatically when you modify them.

Restore default settings

To restore a setting to its default value, move the mouse next to the setting item to reveal a gear icon, click it, and then select Reset Setting:

To quickly find all modified settings, you can type @modified in the search box:

Switch between user settings and workspace settings