microsoft / microsoft/TypeScript-Sublime-Plugin

This plugin breaks "use_tab_stops" option for JS files as well

Offen
#708 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
JavaScript
Sterne
1.7k
Forks
236
Ø Merge
21 T. 13 Std.
Gemergte PRs (30 T.)
1

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Reproduziere das Problem in Sublime Text anhand des JavaScript-Beispiels und speichere es als untitled.js, wobei das TypeScript-Plugin aktiviert ist. Verfolge, was sich beim Speichern ändert, und überprüfe, dass use_tab_stops für JavaScript-Dateien weiterhin funktioniert, während das Plugin installiert bleibt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript, typescript
Bereich
tooling
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.