Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote Server Files Saves Close Tab #15271

Closed
casonadams opened this issue Nov 9, 2016 · 4 comments
Closed

Remote Server Files Saves Close Tab #15271

casonadams opened this issue Nov 9, 2016 · 4 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) info-needed Issue requires more information from poster
Milestone

Comments

@casonadams
Copy link

  • VSCode Version: Code 1.7.1 (02611b4, 2016-11-03T13:46:46.244Z)
  • OS Version: Linux x64 3.13.0-100-generic
  • Extensions:
Extension Author Version
EditorConfig EditorConfig 0.3.4
vscode-theme-onedark akamud 0.2.10
code-gnu-global austin 0.2.1
cpptools ms-vscode 0.9.2
Ruby rebornix 0.10.1

Steps to Reproduce:

  1. open folder (git) on remote server
  2. make edits
  3. save (ctrl + s)

Expected Results:
File should save and remain open

Actual Results:
File saves but close (part of the time)

@bpasero
Copy link
Member

bpasero commented Nov 10, 2016

@casonadams I suspect Code receives a file-delete event and as such we close the editor. #13665 is a collection of issues in that area.

Can you run "code --verbose" from the command line and then when a tab closes, send me the output you see when you toggle developer console (Help > Toggle Developer Tools > Console)?

@bpasero bpasero added the info-needed Issue requires more information from poster label Nov 10, 2016
@bpasero bpasero added this to the Backlog milestone Nov 10, 2016
@bpasero
Copy link
Member

bpasero commented Nov 16, 2016

@casonadams ping

@casonadams
Copy link
Author

casonadams commented Nov 16, 2016

@bpasero

[IPC Library: Watcher] [CHANGED] file.rb
ipc.cp.ts:141 [IPC Library: Watcher] [ADDED] host=hostname,user=user.giosave6P7TQY
ipc.cp.ts:141 [IPC Library: Watcher] >> normalized [CHANGED] file.rb
ipc.cp.ts:141 [IPC Library: Watcher] >> normalized [ADDED] host=hostname,user=user.giosave6P7TQY
ipc.cp.ts:141 [IPC Library: Watcher] [DELETED] file.rb
ipc.cp.ts:141 [IPC Library: Watcher] [DELETED] host=hostname,user=user.giosaveJKDWQY
ipc.cp.ts:141 [IPC Library: Watcher] >> normalized [DELETED] file.rb
ipc.cp.ts:141 [IPC Library: Watcher] >> normalized [DELETED] host=hostname,user=user.giosaveJKDWQY

@bpasero
Copy link
Member

bpasero commented Nov 17, 2016

@casonadams thanks, moving into #13665

as a workaround, there is a way to disable file watching by setting "files.watcherExclude": { "**": true } in settings.

@bpasero bpasero closed this as completed Nov 17, 2016
@bpasero bpasero added the *duplicate Issue identified as a duplicate of another issue(s) label Nov 17, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants