JulianEberius / SublimePythonIDE

ST3 only: A rewrite of SublimeRope for ST3, uses the Rope library to add python completions and refactoring to ST3
GNU General Public License v2.0
267 stars 38 forks source link

interpreter automatic selection based on #!/ #60

Closed viadanna closed 10 years ago

viadanna commented 10 years ago

Hello. I've been using this great plugin for a long time, but changing interpreters to work on different projects with differing python versions became cumbersome. Decided a little magic addition, detection of the interpreter based on the first line if it contains the path to a interpreter, i.e. #!/usr/bin/python3 Hope it helps.

viadanna commented 10 years ago

Ignore, I've got another PR that parses /usr/bin/env