infi-pc / locatorjs

https://www.locatorjs.com
1.31k stars 60 forks source link

bug: option + click not open the file in vscode #158

Open inceenes10 opened 1 month ago

inceenes10 commented 1 month ago

Where the bug happens

your browser

Chrome

Describe the bug

I click option + click, and cannot open the file in vscode.

image

In the image above I copied path from clicking the button in red circle Copied path: <[project]/apps/sustable-admin/views/platform/home/index.tsx>

Then I come to vscode and made CMD + P to open command palette and paste copied path like this: apps/sustable-admin/views/platform/home/index.tsx. It is worked, but it is tiring.

Locatorjs editor link: vscode://file${projectPath}${filePath}:${line}:${column}

I'm using next 14.1 with Turbopack and NX Monorepo. How can I fix this error?