Closed sumonto closed 7 years ago
@sumonto VS Code detects external file changes: in 'autosave' mode it picks up changes silently, in 'manual save' mode it allows you to merge changes with a compare/merge editor on save.
If this doesn't work for you please provide details steps for how to reproduce the problem.
Original Standard setting no modifications.
I can reproduce this problem with VS Code 1.1.1 on OS X if I open the file in VS Code without a workspace, e.g. with code test.txt
from the command line. If I open the enclosing folder in VS Code and then select 'test.txt' I cannot reproduce.
@sumonto Are you opening 'test.txt' as a single file (VS Code has violet status bar) or as a file in a workspace (blue status bar)?
As a single file without any workspace.
Thanks
_____________________________
From: Andre Weinand notifications@github.com Sent: Wednesday, May 18, 2016 12:44 PM Subject: Re: [Microsoft/vscode] VS Code to detect and notify if file modified outside of VS Code. (#6440) To: Microsoft/vscode vscode@noreply.github.com Cc: sumonto sg1000@hotmail.com, Mention mention@noreply.github.com
I can reproduce this problem with VS Code 1.1.1 on OS X if I open the file in VS Code without a workspace, e.g. with code test.txt from the command line. If I open the enclosing folder in VS Code and then select 'text.txt' I cannot reproduce.
@sumonto Are you opening 'test.txt' as a single file (VS Code has violet status bar) or as a file in a workspace (blue status bar)?
— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub
Likely that our file watcher fails for external applications that write to files using atomic file changes (that is a delete followed by an add). If you can modify Vim to change this behaviour, it would likely work OK.
I don't see the same issue while using Sublime or other editors. So why VSCode?
Thanks
On Sun, May 22, 2016 at 2:05 AM -0700, "Benjamin Pasero" notifications@github.com wrote:
Likely that our file watcher fails for external applications that write to files using atomic file changes (that is a delete followed by an add). If you can modify Vim to change this behaviour, it would likely work OK.
You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/Microsoft/vscode/issues/6440#issuecomment-220821782
Any update folks
Thanks so much for your interest in this issue! It is currently assigned to the backlog. Every month we pick items from the backlog to plan for the current iteration. Please see https://github.com/Microsoft/vscode/wiki/Issue-Tracking#planning for more information.
Since we are a small team of developers, there is only so many feature requests and issues we can work on for one milestone. Nevertheless we always welcome pull requests and are happy to accept them if they meet our quality standards.
Steps to Reproduce:
I Unix like environment is very common to edit a file on your desktop and later ssh into your machine from else where and possible use ssh-->VIM to edit the file.
Once you come back to your desktop and use VS Code, I would expect to be prompted.