Python Forum
How do I use shortcut to import class in VS code?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I use shortcut to import class in VS code?
#1
Hello,

I use VS code, operation system is windows 7.

In a tutorial, an instructor uses a shortcut to quickly import the class with pycharm.

For example:

he types: actionChains( and he places cursor here), and then press cntrl + alt + space), then instantly he imports 'from selenium.webdriver.common.action_chains import ActionChains'

Does someone here know how to do this with VS code? That method doesn't work in VS code in my computer.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can't import any class from other folder in the same level. emih89 6 16,222 Feb-08-2018, 09:05 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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