Go to source feature not working on Linux
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- linux, react, typescript
- Ambito
- devtools, operating-systems
Direzione di ricerca
Riproduci il flusso ctrl+shift+click su Ubuntu 24.04.3 con l’open callback della configurazione dell’editor e ispeziona il percorso registrato. Traccia la gestione dei percorsi Linux attorno a quel callback; il lavoro è completo quando il callback riceve il percorso assoluto corretto della sorgente senza concatenare la directory di lavoro.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 499
- Fork
- 100
- Merge medio
- 1g 17h
- PR unite (30g)
- 4
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di TanStack/devtools
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 74/100
Tutte le issue di TanStack/devtools
Issue simili
-
[Bug]: Discord Activity titles with emoji are rejected as over 80 characters when they are not Apertaclawsweeper:linked-pr-open clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:message-loss issue-rating: 🦞 diamond lobster maturity:stable P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
Eynzof/Hermes-CN-Desktop#616 ·
-
ZCode 3.14.3 に対応する Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
supermomonga/zcode-acp#24 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
growthbook/growthbook#7100 ·
-
triage
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100