How can I have autocomplete for python libraries in sublime

后端 未结 2 1476
余生分开走
余生分开走 2020-12-25 12:17

Currently when I import some code, for example:

from datetime import datetime

I can\'t see what methods it has. How could I know that there

相关标签:
2条回答
  • 2020-12-25 12:32

    try SublimeJEDI

    step 1: ctrl+shift+p search - install package

    step 2: Wait for few seconds until drop down box to appear

    step 3: search Jedi - Python autocompletion and press enter

    now auto completion for python will work in sublime..

    Note: you can try Anaconda instead Jedi using same step.

    0 讨论(0)
  • 2020-12-25 12:46

    You can have this functionality with the Anaconda Package.

    enter image description here

    Anaconda includes a lot more features than just auto completetion. You can install the Jedi Package. This is the auto complete that ships with Anaconda.

    0 讨论(0)
提交回复
热议问题