Sublime Text - Preferences
Versie door Jeroen Strompf (overleg | bijdragen) op 14 jun 2024 om 08:30
To change preferences in Sublime Text:
General
- Go to
Preferences » Settings
- Two files will now open: Default settings on the left and user settings on the right
- Edit and safe the file on the right. Make sure that everything is within one set of
{
and}
symbols.
Example
Correct:
{ // "draw_white_space": "all", // "font_size": 10, // Added: 2024.06.14 // "tab_size": 3, "translate_tabs_to_spaces": false, "detect_indentation": false }
Incorrect:
{ // "draw_white_space": "all", // "font_size": 10, } { // Added: 2024.06.14 // "tab_size": 3, "translate_tabs_to_spaces": false, "detect_indentation": false }
Language-specific
If you want to ensure that these settings apply to all file types or only specific ones, you can create or modify syntax-specific settings. For instance, if you want to set these preferences only for Python files:
- Open a Python File: Open any Python file in Sublime Text
- Open Syntax-Specific Settings:
- Go to Preferences in the top menu
- Select Settings - Syntax Specific
- Modify Settings: As before.