Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Python Tools for Visual Studio

You're reading from  Python Tools for Visual Studio

Product type Book
Published in Apr 2014
Publisher
ISBN-13 9781783288687
Pages 122 pages
Edition 1st Edition
Languages

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
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 AU $19.99/month. Cancel anytime}