Skip to content

kawamataryo/copy-python-path

Repository files navigation

Copy Python Path

marketplace version marketplace install count marketplace rating star E2E

An VS Code extension to copy python dotted paths to the clipboard.

Features

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.

feature

Configuration

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
}

Notice

  • This extension works only with python3 files.

License

MIT

Contributing

Contributions are welcome 🎉
We accept contributions via Pull Requests.