Skip to content

Instantly share code, notes, and snippets.

@codemickeycode
Last active July 10, 2024 01:33
Show Gist options
  • Save codemickeycode/08bc31595ab65d8fbad4e7a0f0268c6b to your computer and use it in GitHub Desktop.
Save codemickeycode/08bc31595ab65d8fbad4e7a0f0268c6b to your computer and use it in GitHub Desktop.
sublimetext-config-python.txt
// Settings in here override those in "Default/Preferences.sublime-settings",
// and are overridden in turn by file type specific settings.
// This configuration ensures that the coding environment in Sublime Text is
// optimized for readability, consistency, and adherence to Python coding standards
{
// Display whitespace characters such as spaces and tabs.
"draw_white_space": "all",
// Set the font size to 14 for better readability.
"font_size": 14,
// Display vertical rulers at 79, 100, and 120 characters to guide line length.
"rulers":
[
79,
100,
120
],
// Set the tab size to 4 spaces.
"tab_size": 4,
// Convert tabs to spaces to ensure consistent formatting.
"translate_tabs_to_spaces": true,
// Automatically trim any extra whitespace
"trim_automatic_white_space": true,
// Remove trailing whitespace from lines when saving the file.
"trim_trailing_white_space_on_save": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment