-
Notifications
You must be signed in to change notification settings - Fork 6
Description
The Sticky Lines feature only picks up functions, and not nested data structures. It would be really helpful when using API frameworks like reitit to show the nesting inside of any collection (list or map).
Context
There is an official feature in JetBrains IDE called "Sticky Lines", configurable in Editor > General > Sticky Lines that can show up to 5 lines of nesting context to show the user whatever function or data structure the cursor is currently inside. There are two types of Sticky Lines that I'm calling "Arrow" and "Text".
Currently when using Cursive, the "Arrow" Sticky Line will show the control structure that you're inside.
Current behaviour
"Arrow" Sticky Line shows scraper.api > router:

"Arrow" Sticky Line unchanged,
"Text" Sticky Lines show:
(def router
:handler (fn [req]
"Arrow Sticky Line shows control structure: scraper.api > router > fn > if-let doc:

Expected behaviour
It would be helpful if the "Text" Sticky LInes showed the nesting of the current data structure, so it would show exactly where you are inside of a list or a map.