Microsoft/vscode

[json] add commas automatically

Open

#69.545 geöffnet am 27. Feb. 2019

Auf GitHub ansehen
 (12 Kommentare) (26 Reaktionen) (1 zugewiesene Person)TypeScript (10.221 Forks)batch import
feature-requesthelp wantedjson

Repository-Metriken

Stars
 (74.848 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 11h 43m) (1.000 gemergte PRs in 30 T)

Beschreibung

Test case

untitledb2

Expected behavior

  • After typing age TAB, the comma should be added to the end of the previous line.
  • After typing " for the next object property, the comma should be added to the end of the previous line.

Actual behavior

The autocomplete does not produce valid text.

Discussion

In general, the autocomplete should strive to produce output that is maximally valid in whatever language grammar it is using.

Contributor Guide