Discussed in #16926
Originally posted by jarshwah August 10, 2021
I want to be able to right click a file and copy the import path to that file
so that I may paste it into a terminal/repl to gain access to those functions without having to type a long import path
https://marketplace.visualstudio.com/items?itemName=yardensachs.copy-python-path is an existing extension that does this, but I think it should be baked into the official plugin.
For context, a project I work on can have modules and packages nested quite deeply (10 or so levels deep). I often have to type out an extremely long import string during exploratory sessions, and would love to be able to copy a path from a file I'm looking at directly into the terminal.
Discussed in #16926
Originally posted by jarshwah August 10, 2021
I want to be able to right click a file and copy the import path to that file
so that I may paste it into a terminal/repl to gain access to those functions without having to type a long import path
https://marketplace.visualstudio.com/items?itemName=yardensachs.copy-python-path is an existing extension that does this, but I think it should be baked into the official plugin.
For context, a project I work on can have modules and packages nested quite deeply (10 or so levels deep). I often have to type out an extremely long import string during exploratory sessions, and would love to be able to copy a path from a file I'm looking at directly into the terminal.