Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python and Intellisense

Is there an equivalent to 'intellisense' for Python?

Perhaps i shouldn't admit it but I find having intellisense really speeds up the 'discovery phase' of learning a new language. For instance switching from VB.net to C# was a breeze due to snippets and intellisense helping me along.

like image 721
Andrew Harry Avatar asked May 25 '09 01:05

Andrew Harry


People also ask

Does IntelliSense work with Python?

The Python extension supports code completion and IntelliSense using the currently selected interpreter. IntelliSense is a general term for a number of features, including intelligent code completion (in-context method and variable suggestions) across all your files and for built-in and third-party modules.

How do I enable IntelliSense in Visual Studio for Python?

To access the "Refresh DB" button, switch the dropdown selection from "Overview" or "pip" to "IntelliSense".

What is the use of IntelliSense?

IntelliSense is a code-completion aid that includes a number of features: List Members, Parameter Info, Quick Info, and Complete Word. These features help you to learn more about the code you're using, keep track of the parameters you're typing, and add calls to properties and methods with only a few keystrokes.


2 Answers

This blog entry explains setting Vim up as a Python IDE, he covers Intellisense-like functionality:

Python Intellsense
(source: dispatched.ch)

This is standard in Vim 7. There are a number of other very useful plugins for python development in Vim, such as Pyflakes which checks code on the fly and Python_fn.vim which provides functionality for manipulating python indentation & code blocks.

like image 63
redacted Avatar answered Nov 15 '22 14:11

redacted


Have a look at python tools for visual studio, they provide code completion (a.k.a intellisense), debugging etc ...

Below is a screenshot of the interactive shell for python showing code completion.

enter image description here

like image 35
Frederic Heem Avatar answered Nov 15 '22 14:11

Frederic Heem