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
Explore 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
Python Tools for Visual Studio

You're reading from   Python Tools for Visual Studio Leverage the power of the Visual Studio IDE to develop better and more efficient Python projects.

Arrow left icon
Product type Paperback
Published in Apr 2014
Last Updated in Feb 2025
Publisher
ISBN-13 9781783288687
Length 122 pages
Edition Edition
Languages
Arrow right icon
Toc

Mastering IntelliSense with Python


As shown in the Python Environments tab, Visual Studio analyzes the Python code that is available in the current solution and the installed libraries to populate the internal database. By doing so, we are able to gain a better understanding of the available classes, methods, and field descriptions. This is done in a way that can help the developer speed up the coding process.

The IntelliSense context-aware code completion feature can be recalled in line using the Ctrl + Space bar or Ctrl + J shortcuts. The Ctrl + J shortcut displays the list even when there's only one possibility. This is what happens when you call it in the middle of a command:

IntelliSense shows all the available methods, classes, and fields available in the current code, ordered in alphabetical order. Besides showing them from the list of available commands, it also provides you with a quick documentation. In our example, for the range method, IntelliSense shows the list of its overloaded...

lock icon The rest of the chapter is locked
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Python Tools for Visual Studio
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 $19.99/month. Cancel anytime
Modal Close icon
Modal Close icon