Skip to content

Handling sub-project paths #14

@jacobg

Description

@jacobg

I have a monorepo, and open it at its project root in vs code. Then I have a python application within that root under foo/src. If I copy a path say under foo/src/bar.py where there is a class Baz and method qux, I want it to copy:
bar.Baz.qux
But instead it copied from foo.src.bar.Baz import qux because that is the path within the Python application. And it also makes a statement for importing whereas I just want the full path. This makes it easier to copy a single unit test to run on the command line.

Is that possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions