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
In Python, hierarchical navigations behave unexpectedly (to me) with annotations and function definitions (in master).
Example code:
@|annot# descending from here takes me to the function arglistdeffun1(): return1|# can't prev/up navigate|@|annot() # hierarchical nav can never enter function definition for these cursorsdeffun2(): return2|# can't up/prev navigate
Getting into except from 'try' is not easy because it's a child of the whole try_statement, so sibling navigation from try to except is not possible.
Well, it is, and I did try it for a while, but changing the sibling procedure to handle it breaks in other weird ways: you'd be able to drag an except clause out of a try statement, which makes no sense. This is one of those quirks of how our perception of code does not match the grammar.
You're definitely right that decorators do not behave well at all. That's a bug :)
In Python, hierarchical navigations behave unexpectedly (to me) with annotations and function definitions (in
master
).Example code:
Something similar may also be happening with
try-except
; I'm struggling to get into theexcept
handler.The text was updated successfully, but these errors were encountered: