mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 11:53:49 +07:00
It should be activated only for the simplest cases when the caret is either inside an immediate string literal or its prefix is an unqualified reference expression. It makes little sense trying to detect if something like the literal string `"y.foobar"` is a possible value for `x`. It's a relatively heavy completion contributor. It starts evaluating the type of `x` flow-sensitively, analyzing all preceding function calls to take into account `NoReturn`. It affects common workflows like typing out `df = pd.` to create a new Pandas dataframe. (cherry picked from commit f17fe2ce86ee100a3480a574c7f57a1bd67ec2d8) IJ-CR-172165 GitOrigin-RevId: 4434488b1d2dae3ab7efd72e775b0c730268e51c