microsoft / microsoft/TypeScript-Sublime-Plugin
This plugin breaks "use_tab_stops" option for JS files as well
Nessuno ha ancora preso questa issue.
- Lingua principale
- JavaScript
- Stelle
- 1.7k
- Fork
- 236
- Merge medio
- 21g 13h
- PR unite (30g)
- 1
Descrizione
I'm aware this issue is quite nearly a duplicate of #147 , but it's worth creating in any case, because this plugin not only breaks the use_tab_stops setting for the TypeScript syntax... It also breaks it for files with the JavaScript syntax.
As good as the plugin might be, it's really not acceptable that it breaks core Sublime Text functionality for file types it doesn't even work with.
To repro the issue, just create a new view, throw in some JS code:
const a = {
b: 10,
}
Tab stops still work. As soon as you save the file, e.g. as untitled.js, tab stops stop working.
If you remove the TypeScript plugin, close untitled.js and reopen it, tab stops work again. This behavior was not easy pin down.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Riproduci il problema in Sublime Text usando l’esempio JavaScript, salvandolo come untitled.js con il plugin TypeScript abilitato. Traccia cosa cambia al salvataggio e verifica che use_tab_stops continui a funzionare per i file JavaScript mentre il plugin rimane installato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, typescript
- Ambito
- tooling
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100