microsoft / microsoft/TypeScript-Sublime-Plugin
File...New View into File causes Typescript plugin problems (reversing text)
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- JavaScript
- Estrellas
- 1.7k
- Forks
- 236
- Merge medio
- 21 d 13 h
- PR fusionados (30 d)
- 1
Descripción
So I have a split screen view of my project and 'File.ts' opened in the left hand pane in Sublime. Everything is fine so far...
I do 'File...New View into File' to create another Sublime tab on the same file, and move it into the right hand pane. In one of my classes I type this:
public init_create(type: string, version: number) {
}
which would normally be fine. However, wavy red lines appear from 'number' through to the end of the function, and into the following. If I float the mouse over 'number' I get the following error: Cannot find name numberrebmun, and if I float over the red lines below I get Parameter 'noisrev' implicitly has an 'any' type
It seems that when there are multiple Sublime views into a file, something's going squirly inside the Typescript plugin, I'm guessing on the python side. Types and text are being reversed for whatever code I type and the TS becomes unusable until I close the second pane in Sublime.
This is a real PITA for serious work; TIA for any assistance.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
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
Reproduce el problema abriendo el mismo archivo TypeScript en dos vistas de Sublime y escribiendo la función mostrada. Inspecciona cómo gestiona el plugin varias vistas de un mismo archivo; el trabajo estará terminado cuando el texto ya no aparezca invertido y los diagnósticos de TypeScript reconozcan correctamente number y version.
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
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100