Skip to content

cursor cannot recognize the situation where the path contains special characters #107

Description

@ShunquanWang

When special characters are present in the path, attempting to open the file using the 'cursor' method will result in an error.

error

/usr/local/bin/cursor: eval: line 20: syntax error near unexpected token `('
/usr/local/bin/cursor: eval: line 20: `ELECTRON_RUN_AS_NODE=1 "/Applications/Cursor.app/Contents/MacOS/Cursor" "/Applications/Cursor.app/Contents/Resources/app/out/cli.js" -r -g /Users/work/me/hyperse-io/code-inspector/examples/example-rspack/src/(CustomBtn)/CustomBtn.tsx:2:10'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions