I made a PR (#7) that picked the right type info to show, but the feature doesn't seem to work anymore
Now

Before
Exemple 1 :




Example 2:




related code was:
def filter_enclosing(_,from_col, to_col, from_line, to_line, spans):
return [span for span in spans if
( ((span[1].get("spanFromLine")<from_line) or
(span[1].get("spanFromLine") == from_line and
span[1].get("spanFromColumn") <= from_col))
and ((span[1].get("spanToLine")>to_line) or
(span[1].get("spanToLine") == to_line and
span[1].get("spanToColumn") >= to_col))
)]
[type_string, type_span] = self.filter_enclosing(
from_col_+1, to_col_+1,
from_line_+1, to_line_+1,
types)[0]
I made a PR (#7) that picked the right type info to show, but the feature doesn't seem to work anymore
Now
Before
Exemple 1 :
Example 2:
related code was: