Microsoft/vscode

[json] add commas automatically

Open

#69,545 opened on 2019年2月27日

GitHub で見る
 (12 comments) (26 reactions) (1 assignee)TypeScript (10,221 forks)batch import
feature-requesthelp wantedjson

Repository metrics

Stars
 (74,848 stars)
PR merge metrics
 (平均マージ 11h 43m) (30d で 1,000 merged PRs)

説明

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.

コントリビューターガイド