Show HN: JSON Commenter, add comments with valid JSON syntax (marketplace.visualstudio.com)

2 points by mchahn ↗ HN
JSON Commenter is a vscode extension that lets you create inline comments in a JSON file while keeping valid syntax. You create a block with a command that places the comment anywhere legal in the JSON. The text is edited inline and supports word wrap, padding, margins, etc.

The comment is in a somewhat good-looking box with minimal extra characters. Zero-width unicode chars give keys that only show two quotes. This is a sample comment block...

  "         ":"----------------------",
  "         ":" This is a comment.   ",
  "         ":"----------------------",

1 comment

[ 3.2 ms ] story [ 16.0 ms ] thread
Note that the keys actually show as an empty string, not with all the spaces shown in the post above. HN is not showing the unicode characters properly.