Go to source feature not working on Linux
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 42/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- linux, react, typescript
研究方向
在 Ubuntu 24.04.3 上使用編輯器設定的 open callback 重現 ctrl+shift+click 流程,並檢查記錄的路徑。追蹤該 callback 周圍的 Linux 路徑處理;完成的標準是 callback 接收到正確的絕對來源路徑,且不會串接工作目錄。
由索引模型根據 Issue 內容生成。
描述
TanStack Devtools version
v0.7.0
Framework/Library version
React v19.1.0
Describe the bug and the steps to reproduce it
On Linux, by default the ctrl+shift+click is not working (I use both code and windsurf).
Adding the editor configuration as such:
open: async (path, lineNumber, columnNumber) => {
console.log(path);
const { exec } = await import('node:child_process');
exec(
// or windsurf/cursor/webstorm
`code -g "${path.replaceAll('$', '\\$')}${lineNumber ? `:${lineNumber}` : ''}${columnNumber ? `:${columnNumber}` : ''}"`,
);
},
It opens a new editor with an empty file. However, what I can see on the console log, is that the file path is not correct.
In my case it prints:
/home/fernion/dev/proj1/apps/web/home/fernion/dev/proj1/packages/package1/src/panel.tsx
My node is running on /home/fernion/dev/proj1/apps/web and the file is located on /home/fernion/dev/proj1/packages/package1/src/panel.tsx
Somehow the path parameters has the two paths concatenated.
Please let me know what additional information I can provide.
I am using Ubuntu 24.04.3 LTS.
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
not applicable
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
None
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 於 5 天前認領。 未關閉
難度 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 於 5 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 75/100
-
data-tsd-source inject-source plugin causes hydration mismatch in SSR (TanStack Start)可能已有人在做 @AlemTuzlak 於 5 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
-
Pre-bundled client ignores the event bus port from devtools-vite可能已有人在做 @AlemTuzlak 於 5 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 76/100
-
難度 2/5 1-3 小時 新手友好度 52/100
查看 TanStack/devtools 的全部 Issue
相似的 Issue
-
bug DUP Reservations
難度 2/5 1-3 小時 新手友好度 62/100
bcgov/reserve-rec-public#952 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
daufderheide/racecoordinator_ai#948 ·
維護者通常 1 天內回覆
-
Bug pulumi/pulumi
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆
-
bug priority:high
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 1 天內回覆
-
api bug claude
難度 2/5 1-3 小時 新手友好度 84/100
diegosouzapw/OmniRoute#15764 ·
維護者通常 2 天內回覆