How to configure subulime text3 python code completion?

problem description

the contents of the test1.py file are as follows:

from test1 import A

A.tes...(test1)

desired help

I don"t know if our great sublime has a useful code hint that the completion plug-in can be used. I don"t seem to be able to implement this function when I try codeintel. I don"t know if it"s my configuration problem. This function can be realized smoothly in pycharm environment without configuration.

can you give me a more detailed configuration method to use sublime, for the first time?


Sublime Text version 3.2.1, SublimeCodeIntel under Build 3207 meets the above requirements.

No additional configuration is required after installing the plug-in. Perference | Package Settings | SublimeCodeIntel | Settings-User check whether you correctly point to the Python installation path, for example:

{
    "python":{
        "python":"E:\\Python\\Python37\\python.exe",
        "pythonExtraPaths":[
            "E:\\Python\\Python37",
            "E:\\Python\\Python37\\DLLs",
            "E:\\Python\\Python37\\Lib",
            "E:\\Python\\Python37\\Lib\\site-packages",

        ]
    }
}

for the question scenario, SublimeCodeIntel has two smart tips:

  • enter from test1 import and a prompt for importing variables appears in the space. You can select A directly from the list of prompts.
  • member function prompts appear after entering A. , including custom test1 and default magic method

there may be delays without prompting directly. Try saving the current file

at this time.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3196b-2bd9e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3196b-2bd9e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?