An VS Code extension to copy python dotted paths to the clipboard.
Would you like to get the python path, e.g. when running unittest?
When the copy python path
command is executed, it copies the python dotted path to the clipboard. It also works with context menus.
If you want to add the workspace folder name to the beginning of the dotted path, add the following setting to setting.json.
{
"copyPythonPath.addModuleRootName": true // default false
}
- This extension works only with python3 files.
Contributions are welcome 🎉
We accept contributions via Pull Requests.