In Sublime Text 3, this is the content of my User Settings (config) file, found through Sublime Text > Preferences > Package Settings > Anaconda > Settings - User:
{
"python_interpreter": "/usr/local/bin/python3",
"anaconda_linting": false,
"pep8": false
}
However, with language set to Python, when I right-click on an object and use Anaconda > Goto Definition, a blank tab opens. I have watched a tutorial that shows this option opening the source __init__.py file where namedtuple
is defined.
Any ideas? Several permutations of this questions have been asked but mainly refer to issues with virtualenvs or django. This is the sample code in which I was trying Goto Definition for namedtuple
:
from collections import namedtuple
namedtuple
The above two lines are the contents of untitled
tab below, and the empty new tab is the result of Goto Definition.
In a tutorial I'm following along with, the option works as intended: