A quick starter guide to use the sublime (with personal preference on linting). Its used as a Python specific IDE.
The followings are the user settings to the packages:
{
"anaconda_linter_mark_style": "stippled_underline",
"anaconda_linter_underlines": false,
"anaconda_linting_behaviour": "save-only",
"display_signatures": false, //this will not show the docstrings of the reference method
"pep8_ignore":
[
"E309",
"W503",
"E203"
],
}
location of black (pip install black) and find location with which black
or where black
depends on system.
{
"black_line_length": 79,
"black_command": "...",
"black_confirm_formatall": false,
}
according to pep8, spaces are recommanded
{
"translate_tabs_to_spaces": true,
}
after saving as a project
, then open edit project
- Project setting for setting up virutalenv in a project (note build_system will be automatically set)
use
which python
orwhere python
to find the right location of python interpretor - The docstring formatter should be on a project basis.
{
"settings":
{
"python_interpreter": "...",
}
"DocblockrPython": //this should be on the project basis
{
"formatter": "sphinx"
},
}