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
Taking for example such Java code, in the middle of some file
if (condition) {
// some code
} elseif (anothercondition) {
// some other code
} else {
// focus here
}
If editor top line is around "focus here", then the StickyLine would be } else { which is fine. But in this particular context, one would also like to get the conditions to make the Sticky more useful.
Exprected sticky lines for best result would be
if (condition) {
} elseif (anothercondition) {
} else {
Tend to render confusing or not so helpful information as sticky as it would only show
Stream.of()
.map(x -> {
Although indentation already works very well (I wasn't expecting so good results), we'll most likely need to tune what's shown according to the file or language. The language support could create internal annotations of which lines are relevant and "stick-worthy", and the Sticky area shows lines tagged as such.
The text was updated successfully, but these errors were encountered:
Taking for example such Java code, in the middle of some file
If editor top line is around "focus here", then the StickyLine would be
} else {
which is fine. But in this particular context, one would also like to get the conditions to make the Sticky more useful.Exprected sticky lines for best result would be
On the contrary, some structures of the form
Tend to render confusing or not so helpful information as sticky as it would only show
Although indentation already works very well (I wasn't expecting so good results), we'll most likely need to tune what's shown according to the file or language. The language support could create internal annotations of which lines are relevant and "stick-worthy", and the Sticky area shows lines tagged as such.
The text was updated successfully, but these errors were encountered: