<p dir="auto">I like this new feature... I have some suggested improvements. Open to discussion of course :)</p>
<p dir="auto">Let's take a simple use case. I have a file <code class="notranslate">.babelrc</code>. This file is a JSON file. VS Code detects it as Plain Text. I click in the bottom right to change it to <code class="notranslate">JSON</code>. I see that there are two options "Auto Detect" and "Configure file association for .babelrc".</p>
<p dir="auto">I try "Auto Detect". The file is still Plain Text. (1) I would expect Auto Detect to intelligently figure out I am using JSON.</p>
<p dir="auto">I try "Configure file association for .babelrc." I am taken to settings.json. A popup explains that I may need to restart. I don't see any instructions nor do I know where to look. (2) I am not sure how to proceed.</p>
<p dir="auto">I try setting <code class="notranslate">.babelrc</code> to JSON. This works as expected. I close the file and come back to it. Its back to Plain Text. (3) I would have expected it to stay JSON.</p>
<p dir="auto">Couple of ideas. For (1) can we intelligently figure out what the file is? We could start with a JSON file or other common configuration files. Also, what is "Auto Detect" supposed to do? It seems like we're already auto detecting every single file. We could consider dropping it.</p>
<p dir="auto">(2) We should provide some prompt for settings. Even a navigation and highlighting of the settings command that needs to be configured would be helpful. This could be similar to what <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/alexandrudima/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/alexandrudima">@alexandrudima</a> did for keybindings. As it stands, I need to know to trigger suggest to know what to type. This isn't obvious, especially for new users.</p>
<p dir="auto">(3) What if VS Code saved a file's association automatically. For example if I set .babelrc to JSON, I would expect there to be an association and never have to do it again (at least for the workspace I am in).</p>
<p dir="auto">Just some thoughts.</p>
<p dir="auto">// <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/chrisdias/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/chrisdias">@chrisdias</a></p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> file association</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> auto save</li>
</ul>