-
Notifications
You must be signed in to change notification settings - Fork 39.2k
[json] add commas automatically #69545
Copy link
Copy link
Open
microsoft/vscode-json-languageservice
#185Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiesjsonJSON support issuesJSON support issues
Milestone
Metadata
Metadata
Assignees
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiesjsonJSON support issuesJSON support issues
Test case
Expected behavior
ageTAB, the comma should be added to the end of the previous line."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.