Click to code doesn't work when file has `(` inside the path
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- typescript
- 領域
- devtools
研究方向
首先使用包含 ( 的檔案路徑,並使用回報的 React 和 TanStack Devtools 版本,重現 click-to-code 操作。追蹤編輯器命令的組裝方式,並透過成功開啟回報的 AlertFilters.tsx 位置來驗證結果。
由索引模型根據 Issue 內容生成。
描述
TanStack Devtools version
0.4.1
Framework/Library version
React v18.2.0
Describe the bug and the steps to reproduce it
When I try to use the click to code function it doesn't work if there is a ( inside the file name, is it possible to add strings around the file name so that this works?
/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/archiekd/Developer/searchland/nx-monorepo/apps/web/src/pages/(dashboard)/alerts/_components/AlertFilters.tsx:27:9'
Could not open AlertFilters.tsx in the editor.
The editor process exited with an error: (code 1).
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
Path with ( inside it when using click to code
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
No, because I do not have time to dig into it
Terms & Code of Conduct
- I agree to follow this project's Code of Conduct
- I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
- 主要語言
- TypeScript
- 星號
- 501
- 分支
- 101
- 平均合併
- 1 天 8 小時
- 30 天內合併 PR
- 4
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
TanStack/devtools 的其他 Issue
-
`intent` bin conflicts with @tanstack/intent and imports removed subpath可能已有人在做 @AlemTuzlak 於 3 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
-
devtools-ui 0.7.0 breaks SSR boot with solid-js <=1.9.12: `use` is not exported by solid-js/web server build可能已有人在做 @AlemTuzlak 於 3 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 75/100
-
data-tsd-source inject-source plugin causes hydration mismatch in SSR (TanStack Start)可能已有人在做 @AlemTuzlak 於 3 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
-
Pre-bundled client ignores the event bus port from devtools-vite可能已有人在做 @AlemTuzlak 於 3 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 76/100
-
難度 2/5 1-3 小時 新手友好度 52/100
查看 TanStack/devtools 的全部 Issue
相似的 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 78/100
-
難度 2/5 1-3 小時 新手友好度 72/100
solana-foundation/solana-com#2245 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
-
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆
-
`document.cookie` with `max-age=0` does not delete the cookie可能已有人在做 @BartInTheField 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 74/100
capricorn86/happy-dom#2460 ·
維護者通常 2 天內回覆