<p dir="auto">VS code on my Mac cannot save modified files suddenly. I tried restarting VS Code and MAC itself, but none brought saving back. It keeps popping this dialog when I cmd + S to save a file.</p>
<p dir="auto">More information:<br>
VS version: 0.10.6<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/10081208/12103906/3f34763a-b2fb-11e5-8198-90c9ee1a83ab.png"><img width="891" alt="vscode unable to save files 3" src="https://cloud.githubusercontent.com/assets/10081208/12103906/3f34763a-b2fb-11e5-8198-90c9ee1a83ab.png" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/10081208/12104351/849b4ab0-b2ff-11e5-883e-51a54b641cb3.png"><img width="921" alt="dev information 3" src="https://cloud.githubusercontent.com/assets/10081208/12104351/849b4ab0-b2ff-11e5-883e-51a54b641cb3.png" style="max-width: 100%;"></a></p>
<p dir="auto">I often need to edit config files (MySQL, PHP, Apache, ...) in directories like C:\Program Files that require administrative rights. When you open them with code and save the file it says "Permission denied". So I have to run Code with right click as administrator and then choose "open file" to open the file. Once, it is not possible to simply drag&amp;drop the file into the elevated Code. The other problem is, once I already have code instance running without elevated rights (say I have my project open and now I need to edit a config) I cannot get another instance with elevated permissions. UAC asks for permissions and a new Code window opens, but it is not elevated, when I save it says permission denied. I have to close my project before I can get an elevated Code instance.</p>
<p dir="auto">I don't know if that is a restriction of Windows but seeing that you can, for example, run a normal Powershell and an elevated Powershell side-by-side I think this should be possible. The optimal case of course would be if Code could elevate itself if it can't save a file because of insufficient permissions. But being able to run elevated and non-elevated side-by-side would already help a lot.</p>