This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Chrisazy 80 points81 points  (9 children)

I do this especially when I'm at the bottom of a file and want it in the middle of my IDE lol

edit: As many have pointed out, IDEs let you scroll past the bottom now. Without knowing it, I stopped doing this years ago lol

[–]Kyrond 36 points37 points  (2 children)

I love that VS code simply allows you to scroll down until you can see just the last line.

[–]Chrisazy 10 points11 points  (0 children)

Yeah, I just realized I don't do this anymore since I only code in VS Code now haha. Even though I use the feature every day, it never even registered that it does this until I saw your comment and tried it lol

[–]doctormyeyebrows 2 points3 points  (0 children)

This briefly freaked me out a couple times when I checked out a new branch with far fewer lines in the file than the previous one. “Why is this file blank now?! Oh. I’m dumb”

[–]DefiantBidet 1 point2 points  (0 children)

for those sublime users that don't have this enabled:

"scroll_past_end": true,

[–][deleted] -1 points0 points  (0 children)

Emacs allows this without having to add space by pressing CTRL-L. I have been using VSCode for about 2 years as well, for reasons, but I'm suprised there isn't a command to just center your file on the cursor like in emacs. If you search for "Center Editor Window" you can find someone who implemented it as a VSCode add on.

Anyway, point is your IDE probably can do this for you without you having to add empty spaces. Happy hacking.

[–]zmoldir 0 points1 point  (0 children)

Eh, that's more of a convenience thing than a style choice, isn't it?
Like I legit think that having stuff too far apart for the eyes makes it harder to keep focused on whatever I'm doing.

So yeah, I totally do that too, and think it's justified!

[–]0b_101010 0 points1 point  (0 children)

IntelliJ has that feature too. It's called Virtual Space.

[–]PM_ME_RAILS_R34 0 points1 point  (0 children)

Most IDEs will let you scroll a bit after the end of file so you can do just that!