Skip to content

lisa.analysis: Add hints for autocompletion

Douglas Raillard requested to merge github/fork/douglas-raillard-arm/_pr88 into next

Since jedi autocompletion is mostly oriented toward static code analysis, it does not pick up dynamic attributes. Add a function to give hints to jedi, so it knows what attributes are available and their type as well.

That's an ugly PR, but it should be relatively robust against more breakages in jedi, and we care specifically about good autocompletion on that part of LISA, so let's bite the bullet. Should not be a big maintenance hassle anyway, and can go away at anytime if jedi becomes more stable.

Merge request reports