Skip to content

Extract Component to File not working when selecting current directory? #195

@KamilDev

Description

@KamilDev

When I try to use Extract Component to File option and select current directory, it will result in an error:

image
Screenshot 2024-12-27 184559
Screenshot 2024-12-27 184620
image

If I were to manually modify the path to be relative to the workspace directory, for example:

c:\Users\Kamil\Dev\Temp\nextjs-test\app\components\test.tsx

becomes

\app\components\test.tsx

Then it would work.

Perhaps this should be the intended behavior for workspace projects?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions