Show HN: JSON Commenter, add comments with valid JSON syntax
2 mchahn 1 5/26/2025, 10:33:50 PM marketplace.visualstudio.com ↗
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. ",
" ":"----------------------",
Comments (1)
mchahn · 2d ago
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.