Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
MASTERING PYCHARM

You're reading from   MASTERING PYCHARM Use PyCharm with fluid efficiency to write idiomatic python code

Arrow left icon
Product type Paperback
Published in Oct 2015
Publisher
ISBN-13 9781783551316
Length 232 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Nafiul Islam Nafiul Islam
Author Profile Icon Nafiul Islam
Nafiul Islam
Arrow right icon
View More author details
Toc

Reading code


This section covers the different tools available in PyCharm to help you read code better. This is not an exhaustive list, however, as there are so many features out there.

The lens mode

When editing, you might notice that there are different colored bars on the right-hand side. If you hover over these small bars, you will be able to see the warning, error, or information in question. This is what PyCharm calls lens mode.

This is really quite useful when you want to take a quick look at the code. You can also see that lens mode will show you all the messages that the colored horizontal bars mean. In this case, you can see that by placing the mouse on the dark yellow bar, we can see the message that it is trying to convey. This can give you a quick bird's-eye view of your code. But, usually, when I want to see what a particular function does, I use Quick Documentation or Quick Definition.

Diagrams

The Diagrams option can also give you a great view of your code; you can simply go...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images