Microsoft/vscode

[json] add commas automatically

Open

#69 545 ouverte le 27 févr. 2019

Voir sur GitHub
 (12 commentaires) (26 réactions) (1 assigné)TypeScript (10 221 forks)batch import
feature-requesthelp wantedjson

Métriques du dépôt

Stars
 (74 848 stars)
Métriques de merge PR
 (Merge moyen 11h 43m) (1 000 PRs mergées en 30 j)

Description

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.

Guide contributeur