<h2 dir="auto">The Problem</h2>
<p dir="auto">VSCode can nicely handle comments in JSON files. However, the <a href="http://www.json.org" rel="nofollow">JSON</a> specification <a href="http://stackoverflow.com/questions/244777/can-i-use-comments-inside-a-json-file" rel="nofollow">does <strong>not</strong> allow comments in JSON files</a>. Therefore most JSON parsers fail when JSON files contain comments. E.g. <a href="https://docs.npmjs.com/files/package.json" rel="nofollow"><code class="notranslate">package.json</code></a> fails, and even the typescript compiler fails on <a href="https://github.com/Microsoft/TypeScript/wiki/tsconfig.json">tsconfig.json</a> files that include comments.</p>
<p dir="auto">Another problem is that syntax highlighting does not work on github. For example, the file <a href="https://github.com/Microsoft/vscode/blob/54609ce3f6c701a851157b5a936818b724694a53/extensions/xml/xml.configuration.json"><code class="notranslate">extensions/xml/xml.configuration.json</code></a> ist not legal JSON. This is symptomatic for repositories that are managed with VSCode:</p>
<ul dir="auto">
<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dbaeumer/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dbaeumer">@dbaeumer</a> in <a href="https://github.com/Microsoft/vscode-eslint/blob/1629dbe09d4e252f4fd49fb3786079425ab9e253/eslint/.vscode/tasks.json"><code class="notranslate">eslint/.vscode/tasks.json</code></a></li>
<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/weinand/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/weinand">@weinand</a> in <a href="https://github.com/Microsoft/vscode-node-debug/blob/20fe4f767477b0ad8fe0ee6e60b3b265ad087321/.vscode/launch.json#L33"><code class="notranslate">vscode-node-debug/.vscode/launch.json</code></a></li>
<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/egamma/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/egamma">@egamma</a> in <a href="https://github.com/Microsoft/vscode-go/blob/d3a1502c4766f4fe5a6d471a7d0b95e1f46b7cae/.vscode/launch.json"><code class="notranslate">vscode-go/blame/master/.vscode/launch.json</code></a></li>
</ul>
<h2 dir="auto">Proposal: create a new file type, e.g. <code class="notranslate">.tson</code></h2>
<p dir="auto">Instead of misleading people about the syntax of JSON by providing support for comments in JSON files, VSCode should rather use a new format like <code class="notranslate">TSON</code>, that would be an extension of JSON that allows for comments. There could be a simpler pre-processor for TSON (like <a href="http://blog.getify.com/json-comments/" rel="nofollow">JSON.minify</a>) that converts TSON into JSON by stripping away the comments.</p>
<p dir="auto">With such a new file type, VSCode could happily use them without compromising the integrity of existing <code class="notranslate">.json</code> files.</p>
<p dir="auto">In addition, it would be cool to use typescript ambient definitions for <code class="notranslate">.tson</code> files. I really like the typescript  <a href="https://code.visualstudio.com/docs/editor/tasks_appendix" rel="nofollow">schema for <code class="notranslate">tasks.json</code></a>.</p>
<p dir="auto">I'm running VSCode in a corporate network (Active Directory), when I install VSCode I'm asked for an admin password, after the installation normal users sessions don't have the VSCode context menu options, only the admin account has that menu.</p>
<p dir="auto">How can I add the context menu for all users?</p>