Sublime Forum

Problem with SubLime Text python configuration

#1

Hello everyone,

I have installed SubLime Text 3 to use for Python programming on Windows10. However, having trouble with DocString settings on the editor and couldn’t able to execute any programs. Appreciate any information you can provide to resolve the issue.

FYI:
Flake 8 configuration:
Installed plugins: mccabe: 0.6.1, pycodestyle: 2.3.1, pyflakes: 1.6.0
Python Version:
Python 3.6.4

Regards,
Anvesh

0 Likes

#2

having trouble with DocString settings

Which docstring settings? ST doesn’t provide any special docstring settings out of the box. You can use plugins like DocBlockr or DoxyDoxygen to get some help with creating docstrings. I personally prefer the later one, even though it needs some setup to work with python docstrings.

couldn’t able to execute any programs

You can run your python application by ctrl+b That key binding calls the built command which is associated with running the script of the current view.

codeintel

To get some code intelligence features, you might want to try LSP package and python-language-server. Both can do code completion, linting and provide docstring tooltips quite well.

As an alternative you can try Anaconda, which attempts to do the same.

The third option was to use Python - Autocompletions which uses Jedi library to do code completion and tooltips. This would work well together with SublimeLinter.

0 Likes