microsoft / microsoft/TypeScript-Sublime-Plugin
TypeScriptFormat removes all indentation
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
I am using the plugin v0.1.4 on Mac OS X with sublime build 3083 and all of a sudden the "typescript_format_document" command stopped working.
What it does now is remove the entire indentation (removing all leading spaces).
The rest of the plugin seems to work (syntax check and completion).
I have not installed any other plugin in the meantime, and I am quite positive I did not change my settings.
The weird thing is that while it does not affect all .ts document in my project, it start to affect them randomly. For example, I have document A open, I can format it OK, I close it reopen it, and now the plugin don't format it. It is not systematic, some documents still work, even after opening, modifying and closing them.
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 comando typescript_format_document en los documentos .ts afectados usando el plugin v0.1.4 reportado y Sublime build 3083 en Mac OS X. Rastrea la ruta de formateo para determinar por qué los espacios iniciales se eliminan de forma inconsistente; se considera completado cuando el formateo conserva la indentación de forma fiable en documentos reabiertos.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- typescript
- Área
- tooling
- 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