Skip to content
Gui Talarico edited this page Sep 24, 2018 · 16 revisions

Step 1 - Get Stubs

Download the stubs by cloning the repository, or downloading them here

Step 2 - Setup your Editor

Before starting this process, you should make sure your editor has standard python autocompletion working. For example. list(1). should show "append, clear, etc". If that does not work you need to troubleshoot your editor setup and the corresponding python autocomplete plugin.

Autocomplete

Only after you have regular python autocomplete working with your editor, you should proceed to configure it to use these stubs:

Limitations

There are some limitations to the autocomplete options provided by these stubs, so don't assume they are 100% correct:

  • Stubs here match the DLLS included in this repo and might not reflect a later release. You can generate your own stubs for a different version of a given DLL as needed.

  • Wildcard imports are not supported (from x import *). You shouldn't be using them anyway 😈 .

  • Method overrides work differently in Python, so function signature might be incomplete (eg. a C# method might take func(str), or func(str, int) but since works differently in python, will will get something like func(args) or similar.


Examples

clr

autocomplete-clr

Autodesk

autocomplete-clr

Rhino

autocomplete-clr

Clone this wiki locally