Sublime Forum

SublimeCodeIntel in Sublime Text 3 is not working on Python, Django under Virtualenv

#1

Before explaining my issue, sorry for my short in English. (I am a Korean no one speaks English here…)

Hello Guys,

This is my environment.

  • macOS (Sierra)
  • Sublime Text 3
  • SublimeCodeIntel (installed using Package Control)

The youtube video I referred works ok without any additional settings for Pure Python. However, it does not show Code intelligence for me.

It seems it also doesn’t work on any other languages like Javascript, HTML or Etc… as you see in the images below.
enter image description here

Even though it didn’t work for any languages, I tried to add ~/.codeintel/config files as below.

{
    "Python3": {
        "python": '/Users/jakejeon/dev/ect/venv/bin/python',
        "pythonExtraPaths": ["/Users/jakejeon/dev/ect/venv/lib/python3.6/site-packages/"]
    },
    "Python": {
        "python": '/Users/jakejeon/dev/ect/venv/bin/python',
        "pythonExtraPaths": ["/Users/jakejeon/dev/ect/venv/lib/python3.6/site-packages/"]
    },
}

I attached the codeintel.log file.
codeintel.log.zip

0 Likes

#2

Hello Jakejeon and fellow developers,

I encountered this issue as well and I was able to resolve it by doing the following;

  1. Go to Preferences
  2. Package Settings
  3. Hove over SublimeCodeintel
  4. Click on “Settings-Default”
  5. Add “Python3” into the “codeintel_enabled_languages” array
0 Likes