microsoft / microsoft/TypeScript
Tsserver never picks up a new file
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Go
- Estrellas
- 111k
- Forks
- 14.3k
- Merge medio
- 2 d 4 h
- PR fusionados (30 d)
- 132
Descripción
### 🔎 Search Terms
"tsserver does not pick up new files"
### 🕗 Version & Regression Information
This has been an issue for as long as I can remember.
### ⏯ Playground Link
_No response_
### 💻 Code
_No response_
### 🙁 Actual behavior
I have an issue where tsserver (using code-server ide) refuses to pick up a new file in a node_modules for the purpose of intellisense / automatic imports. It picks up every other file in the same project and even the same folder, they all work fine with intellisense and automatic imports, but it will not pick up this one new file. Looking through the logs there is a relevant line for every other file in this project, but not the one I want. Not a single result in 50000 lines of logs if I ctrl+f the file name.
Manually typing in the import statement does work - the file is definitely there and valid and the ide recognizes it and picks up the correct types if I put it in manually.
Also restarting tsserver makes no difference no matter how many times I do it.
### 🙂 Expected behavior
Tsserver should pick up everything in node_modules.
### Additional information about the issue
I just don't even know how to begin to debug this.
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
No se proporciona ningún archivo fuente, prueba ni proyecto reproducible. Empieza examinando los registros de tsserver mientras creas el archivo nuevo en node_modules y compáralo con archivos que ya reciben entradas de intellisense y automatic-import. Se considera terminado cuando el archivo nuevo se descubre y se ofrece para importaciones automáticas sin escribir manualmente el import ni reiniciar tsserver.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- typescript
- Área
- devtools
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100