Effective PyCharm Transcripts
Chapter: The Editor
Lecture: Lens mode
0:00 While I encourage you to write your code in multiple small files,
0:03 not one huge one, We're still going to end up with somewhat large files.
0:07 Right? And if you have little warnings or errors or maybe just want to look
0:13 and see what's down near different section.
0:15 But especially if there's a little warnings or colors in the scroll bar,
0:19 you might want to just look down there and see what's going on without actually changing
0:24 locations. So here we are in a somewhat large file,
0:27 you see the line numbers 1 to 29 and then all of a sudden it goes
0:31 to 114. Actually, if we put our cursor right there,
0:35 if we hover over where the scroll bar would be and wait for a moment,
0:39 PyCharm will pop up this view of what would it be like if we actually scroll
0:43 to that location. So down there,
0:45 apparently online 114 115 we can see there's a function called announced that takes an
0:50 item in a message. And as you move up and down your mouse,
0:55 you actually move the lens mode around.
0:56 You're trying to figure out what's going on in a file and you don't necessarily want
1:00 to leave where you are. But you want to look a little bit around lens mode.