Python Forum
Autocompletion for Python in Visual Studio
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Autocompletion for Python in Visual Studio
#1
I try Visual Studio (not Visual Studio Code) to program in Python.
But autocompletion doesn't work for some cases.
How to set it up?
Here is a simple example:
[Image: leULNt4.png]
Reply
#2
Edit:
Sorry i did not first see that you meant Visual studio,not Code.
But anyway VS Code is much a better choice for Python usage.

Look down in left corner for version used,so this version has to have Matplotlib installed.
Can click version to change if have more Python version installed.
[Image: r9unY8.png]

So if i test version show down in left corner from command line.
Will see that Matplotlib is installed
G:\div_code\my_env
λ python -V
Python 3.8.3

G:\div_code\my_env
λ python
Python 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:37:02) [MSC v.1924 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from matplotlib import pyplot as plt
>>>
>>> exit()

VS Code from start
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Installing the Visual Studio Code on Linux - how to do that!? apollo 4 3,268 Oct-05-2019, 09:48 PM
Last Post: apollo
  Is there any keyboard shortcut to run code from Visual Studio Code? python300 3 61,345 Aug-07-2018, 09:12 PM
Last Post: python300

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020