Skip to content

Paths with parenthesis cause the vscode extension to not understand import parths #932

@mikerudge

Description

@mikerudge

if I have this import

import { Button } from '@/components/ui/button'

Then it works fine in the file
'app/page.tsx'
app/hello/page.tsx
etc

However, if I have
app/(test)/test/page.tsx

I get an error "Cannot find module"

Here is screenshot.
Image

@typescript/native-preview: "7.0.0-dev.20250523.1",
Ext Version: 0.20250523.1

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