-
Notifications
You must be signed in to change notification settings - Fork 81
Sublime
-
Make sure the Jedi Package is installed.
-
Make sure autocompletion is working for your default python packages:
-
Configure Jedi's settings:
{
"python_package_paths": [
"C:\\Path\\To\\ironpython-stubs\\stubs.min"
],
"sublime_completions_visibility": "default",
"auto_complete_function_params": "required",
"logging_level": "warn",
}
This is the most important setting. This tells the autocomplete engine where to "crawl" to find the stub files.
C:\Path\To\ironpython-stubs\stubs.min
If you have other libraries you would like to add like rpw,
you cab add multiple paths using a semicolon.
C:\Path\To\ironpython-stubs\stubs.min
;
C:\Path\To\revitpythonwrapper.lib
You can leave blank, or type in the path to your system's python, for example: C:/Python35/python.exe
If blank, Atom will automatically use your default system's python.
The only thing to be mindful is that you should probably make sure you are running a 64 bit version.
The 32-bit version is limited to 2GB and sometimes is not enough for Jedi.
The system version is displayed when you launch python:
Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900 64 bit (AMD64)
< 64 bit