When writing programs in Python, I use Sublime Text 2. This time, I will introduce the Python environment of Sublime Text 2 that I use.
It is written assuming Sublime Text 2 on Mac.
The following plugins are installed to write Python programs efficiently.
I want to replace the tab with a half-width space or set the number of indents to four half-width spaces, so with the Python program open, select "Sublime Text 2"-> "Preferences"-> "Settings More"-> "Syntax Specific --User". Choose. The Python.sublime-settings file will open, so write the following and save it.
{
"tab_size": 4,
"translate_tabs_to_spaces": true
}
Recommended Posts