Function list in Sublime Text 3

Question:

Please help me with this issue. How can I display a list of functions like. these ones:Screenshot
When I press tab or ctrl + space I only get a list with words which I’ve used in the file but not list with functions. I use Python syntax

Will be very thankful for your answers!

Answers:

Use Sublime Package Control to install a python auto completion package like python completions.

https://packagecontrol.io/packages/Python%20Completions

In sublime text,

  1. Preferences -> Package Control
  2. Select install package from the popup menu
  3. Search for Python Completion
  4. Click on it
  5. After installation just change the syntax to python from view menu

Edit:
If you don’t see the package control option in Preferences menu, go to tools and select install package control.

Answered By: Nipun Sampath

You can use the Anaconda plugin that comes also with other perks.

Important to have also the follow configs yo have it working:

  1. Packages/User/Preferences.sublime-settings
    "auto_complete": true,
    "auto_complete_commit_on_tab": false,
    "show_definitions": true,
    "tab_completion": false,
  1. Packages/User/Python.sublime-settings
    "auto_complete_triggers": [{"selector": "source.python - string - comment - constant.numer
Answered By: Alex

install jedi python autocompletion from the package installer , this will put most function options to choose from, such as the random module with the random function, this will show you all the options once you type a . after the function

Answered By: Driss
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.