You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In IntelliJ, the editor understands your code edit actions and the local context. As one example, using vim mode, press "o" (for insert new line) on the last line of a JSON object will insert the newline AND also insert a comma preceding that line.
It makes it much faster and easier to edit JSON, and it'd be huge benefit for Zed to do this as well.
If applicable, add mockups / screenshots to help present your vision of the feature
No response
The text was updated successfully, but these errors were encountered:
Yes, it would be nice if Zed would automatically introduce a comma when appending an additional key to the end of an object. Interestingly we already support removing an excess trailing comma automatically (prettier will remove it if format_on_save is on) and it always felt asymmetrical that Zed would remove an extra comma on save, but never add one back.
Anyways JetBrains "Smart Keys" does this by default, it'd be nifty if Zed could too.
Check for existing issues
Describe the feature
In IntelliJ, the editor understands your code edit actions and the local context. As one example, using vim mode, press "o" (for insert new line) on the last line of a JSON object will insert the newline AND also insert a comma preceding that line.
It makes it much faster and easier to edit JSON, and it'd be huge benefit for Zed to do this as well.
If applicable, add mockups / screenshots to help present your vision of the feature
No response
The text was updated successfully, but these errors were encountered: