Hi,
To make a generic import that work both in VSCode and in Clarisse you can do something like that:
python code
import sys
if not "ix" in sys.modules:
import ix_helper
ix = ix_helper.ix
About VSCode and the auto-completion, I don't use it for Clarisse. Most of time the functions are not written in python so the arguments are *args that is not really helpful. So the only thing that can auto-completion do is to purpose you a function but you don't know how to use it because there is no doc neither arguments. Most of time I am searching in the documentation and I am using the Clarisse auto-completion to look for a function and get what is needed in the documentation. VSCode is my default IDE so I write code faster with it than with Clarisse's one, even without completion.
Keep in mind that you are using a module that is not really supposed to be standalone so the linter won't help you that much except to fix wrong variable/functions name. I agree with you that could be very nice if VSCode would have complete intellisense for Clarisse but it's not even possible for Clarisse right now so it will be more difficult to have it for VSCode.
I hope this will help you.
Beat regards