Go to source feature not working on Linux
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 42/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- linux, react, typescript
- Área
- devtools, operating-systems
Línea de trabajo
Reproduce el flujo de ctrl+shift+click en Ubuntu 24.04.3 con el open callback de la configuración del editor e inspecciona la ruta registrada. Sigue el tratamiento de rutas de Linux alrededor de ese callback; se considera terminado cuando el callback recibe la ruta absoluta correcta del origen sin concatenar el directorio de trabajo.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 499
- Forks
- 100
- Merge medio
- 1 d 17 h
- PR fusionados (30 d)
- 4
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de TanStack/devtools
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 74/100
Todos los issues de TanStack/devtools
Issues similares
-
[Bug]: Discord Activity titles with emoji are rejected as over 80 characters when they are not Abiertoclawsweeper:linked-pr-open clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:message-loss issue-rating: 🦞 diamond lobster maturity:stable P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Eynzof/Hermes-CN-Desktop#616 ·
-
ZCode 3.14.3 に対応する Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
supermomonga/zcode-acp#24 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
growthbook/growthbook#7100 ·
-
triage
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100