Finally came what many of us were not waiting for but wishing for! (like the song that nobody expected but everybody needed it). Who is not tired o...
Some comments have been hidden by the post's author - find out more
For further actions, you may consider blocking this person and/or reporting abuse
Hi. There's a typo in
StikyScroll
→StickyScroll
Thanks for the great post!
Already posted here
VS Code Tip of the Week: Sticky Scroll
Nick Taylor for VS Code Tips ・ Aug 11 ・ 1 min read
This article got some audience last week. But your article is very interesting as you used screen shot and gif. Thanks
Yeah, it is all about marketing
laughs in nvim, already had it
Vim users 🙄
I was just wondering as I'm considering it as my hobby IDE for a while, good to know!
if youre starting you'll have to configure lot's, use somebody else's config, i liked configs of
youtube.com/c/ThePrimeagen
youtube.com/channel/UC7yZ6keOGsvER...
Well aware, but thanks for the extra heads-up & resources!
😂😂😂😂
NetBeans too, for decades.... :-D
While I agree that in an ideal world no function should have a body large enough to warrant use of this feature, the reality is that that's not always the case. Especially at work, I find myself dealing with codebases all the time that don't follow this rule very well, where I'd absolutely appreciate the benefits of sticky scroll.
Besides, sometimes your function is just only calling other functions and passing around the return values. I'd rather have 1 larger function than split it up 3 different functions which all just call more functions, it'll just take more time. Comments can easily solve that issue, imo.
It does seem like a cool feature, but I'd rather not fix what isn't broken. I might change my mind in the future, but for now I'm happy with the VS Code interface and behavior. I do hope that even with new features they never change the UI philosophy. I have even gone through the hassle of setting up all the command line automation environment for building and deploying an Android Kotlin project through VS Code just because I can't get used to other GUIs, specifically Android Studio's.
Thanks for the article. My VSCode version is 1.72 and here the property name is slight different (it seems it's not experimental anymore =D):
"editor.stickyScroll.enabled": true
.Some moment not work, like this:
Unfortunately It's not working when use arrow function. Only work for function and class so far
I need it sticky on the
if
statements too.☕️☕️☕️-☕️☕️☕️☕️☕️ a day 😂. I use my Pret coffee subscription to its fullest potential! Also I’m so happy about this feature. Sometimes scrolling long code gives me a headache so this really helps compartmentalize everything.
Will this be controlled by scroll lock? This is an ancient feature.
And when might they bring back ctrl+click actually going to code by default?
I love additional features. Just don’t remove the original.
☕️☕️☕️☕️ - double shot expresso. Some days I make coffee for triple doses :) Right on!
What does Ctrl F5 do in VS Code ? دعاء رد الحبيب بعد الفراق
I use hyper scrolling mouse like Logitech mouse. They are great for this purpose
Sattings > experimental > sticky scroll > enabled. Seems nice , I expected more, a quick fold for every loop and Function or a class would be an added advantage. And yes, I read to the completion for these are not plain bogus stories but informative ones.
Kudos, keep writing more be crisp and informative.
It's super useful
Is it a typo?
editor.experimental.stickyScroll.enabled
instead of editor.experimental.StikyScroll.enabled
☕☕
Thanks for this great post!!!
☕ times a day for me,, I just drunk ☕☕ yesterday, don't drink too much bro, do drink water too. Too much coffee can lead to kidney stone I think.
☕☕☕☕☕
In lovee with this feature❤
I feel disoriented, so I disable this feature.
now it's:
"editor.stickyScroll.enabled": true,
☕☕☕☕
Getting excited on how vscode teams will handle if there is a ton of nested scope
☕☕☕☕
☕☕☕
Oh my god! This is perfect! Thanks for this tip!
it is pretty useful but it is not working on arrow functions
It´s just perfect! 😍
Another great feature to try out.
This is so cool
Thank you for sharing this!
☕☕
No drink ☕😔
I had tea! 🍵
5 ☕ 😉
It's not that good!!
I have @api_view(['GET']) at the top of my function, so it is sticking on that!!
Maybe they should do some checks for lexemes like, def or class to stick it up there,...!!😛
☕️☕️
Its useful feature and I like it💙
Thanks for sharing
What's a coffee? 🤔
5cups of cofi
I barely drink coffee lol. Thanks for the info, I will check it out.
☕☕🫖
Cool feature. Yes, we can decompose but how do we get there? Sticky scroll to the rescue. Don't want to decompose? Sticky scroll to the rescue. 😀 It's a win win 👍
If you want to get this to work with PHP you have to install the PHP IntelliSense plugin.
Loving this and thank you for sharing.
Thanks for writing this, this is much useful 🎉
Thanks for this amazing post 🎉
☕☕☕ to ☕☕☕☕☕ , nice I will definetly try this out
Anyone know what theme this is?
Thanks for sharing this! I had to install it right away. It's very nice!
☕☕☕
I don't drink ☕ sorry 😅 but thanks for your post
☕☕☕
It's just awesome😘
Thanks for this post
☕🚱 I don't drink coffee because I believe it is bad for your health and intellect; yet, I don't want to sound discouraging.
Thank you for this VS Code hack(if we can call it that).
☕
☕
☕☕☕☕☕
IDE jetbrains 😐
☕ ☕
Hi. I think it's a cool feature.
However what about arrow functions in JavaScript?
It's not working for arrow functions.
Useful feature. Thanks for the post!
☕️☕️☕️☕️
Thanks for the article and you usually drink ☕️☕️☕️☕️☕️☕️ in the morning alone.... 👍
it wasn't something that I expected.
I wish we can specify a certain piece of code and then it sticks on top of the editor and it doesn't matter in which file we are and it still sticks
This is awful. The worst part is that this "feature" is enabled by default now. When I first saw it I though it was some rendering bug within the IDE.
☕☕☕☕☕☕ a six cups moka per day :P
Wow! looks amazing, I will try it. <3
Idea stolen from Xcode 14 beta 🙃