microsoft / microsoft/TypeScript
Handle JSDoc {@link ... } inline tags for OS
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Go
- Estrellas
- 111k
- Forks
- 14.3k
- Merge medio
- 1 d 19 h
- PR fusionados (30 d)
- 117
Descripción
🔍 Search Terms
JSDoc @link for local OS
✅ Viability Checklist
- This wouldn't be a breaking change in existing TypeScript/JavaScript code
- This wouldn't change the runtime behavior of existing JavaScript code
- This could be implemented without emitting different JS based on the types of the expressions
- This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
- This isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types
- This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals
⭐ Suggestion
like this post :
https://github.com/microsoft/TypeScript/issues/16498
can we also add support for local OS drive ?
I work on 2 project, and i would like to be able to open external file to another projet .
📃 Motivating Example
ex:
iif am in project projets\ANFTECS-WEB , i would like to add a clickable note link to projets\ANFTECS
/** @see {@link D:\Users\jonle\Documents\DEV\projets\ANFTECS\src\game\enum\battle.enums.ts} */
Actually, the link is not clickable, and I need to open the folder and the file manually.
It's just not very time-efficient and productive!
I would like to open the file when I ctrl+click on it, like a web address. Is it possible to add this support ?
Thank you
💻 Use Cases
- What do you want to use this for?
work on multi project connected with security and productivity (on the same machine or server)
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.
Línea de trabajo
El issue no menciona archivos ni pruebas; describe el manejo de JSDoc {@link ...} y un ejemplo de una ruta de unidad local de Windows. Empieza revisando el comportamiento existente de los enlaces y el issue referenciado #16498; después, determina cómo deben reconocerse las rutas locales. Se considera terminado cuando Ctrl+click abre el archivo externo o la ruta del proyecto referenciados.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript, typescript
- Área
- developer-experience, tooling
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100