You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this annoying or unexpected? I havent noticed this since I don't write too many comments in notebooks. It could be seen as a nice feature to have autocomplete in the docs though (assuming its not annoying)
We send only the code prior to the cursor to jedi, so it may not consider the string being closed and hence thinking it actual code.
Not annoying at all, it's just something I found a little weird and indeed unexpected because string literals probably aren't meant to be parsed at all. Perhaps some resources are wasted by parsing them. Otherwise it could very well be a feature because it doesn't really break anything.
Describe the bug
I have this multiline string literal in a single cell:
return
andstr
, corresponding documentation windows pop up. However, there's no documentation popup fordef
.+ o|
afterstr
, I get autocomplete suggestions forobject
,oct
, etc.Another piece of code put into a multiline string:
With this, I'm now getting documentation for
def
, along with the above.However, these are just strings, not code, so autocomplete & documentation popups probably shouldn't be active here.
Environment
Code to reproduce
No response
The text was updated successfully, but these errors were encountered: