Skip to content

Linux: VS Code doesn't pick up file/folder moves outside of VS Code #37270

Closed

Description

testing #36990

  • have VS Code open on a project with some files and folders
  • in the Ubuntu file explorer move files/folders within the project

Observe: VS Code doesn't pick up any of those changes which results in subsequent errors like this:
2017-10-31_13-02-29

A "Reload Windows" fixes that.

The "reverse" works just fine, so the Ubuntu file explorer picks up all changes made in VS Code immediately.

Activity

  1. added
    file-watcher
    bug
    on Oct 31, 2017
  2. bpasero commented on Oct 31, 2017

    @bpasero
    Contributor

    Andre Weinand (@weinand) do you see the same when you set "files.useExperimentalFileWatcher": false ?

  3. weinand commented on Oct 31, 2017

    @weinand
    ContributorAuthor

    Benjamin Pasero (@bpasero) setting "files.useExperimentalFileWatcher" to false fixes the problems for me.

  4. bpasero commented on Oct 31, 2017

    @bpasero
    Contributor

    Erich Gamma (@egamma) Daniel Imms (@Tyriar) this is another regression from NSFW. I suggest to revert my change to enable files.useExperimentalFileWatcher by default, I am not brave enough to take all the new issues from all our users in stable that are not using multi-root. We should reserve time in November to address the file watcher issues or find another solution for file watching.

  5. changed the title [-]linux: VS Code doesn't pick up file/folder moves outside of VS Code[/-] [+]Linux: VS Code doesn't pick up file/folder moves outside of VS Code[/+] on Oct 31, 2017
  6. bpasero commented on Oct 31, 2017

    @bpasero
    Contributor

    Daniel Imms (@Tyriar) actually it looks like I am receiving file events if I run with --verbose but the explorer is not updating (in this case I moved a file from the hello world extension into another folder within):

    image

    Should the rename case not result in a delete and add event?

  7. bpasero commented on Nov 1, 2017

    @bpasero
    Contributor

    Filed to NSFW as Axosoft/nsfw#42, it looks like we are not getting enough information from the event to figure out the move properly.

  8. added
    workbench-multiroot
    on Nov 1, 2017
  9. Tyriar commented on Nov 1, 2017

    @Tyriar
    Contributor

    Benjamin Pasero (@bpasero) I'm also for reverting the change to minimize risk. I won't have time to invest in the file watcher for at least 2 months as I'll be out for several weeks and then focusing on accessibility.

  10. removed
    workbench-multiroot
    on Nov 15, 2017
  11. added
    upstream
    and removed
    bug
    on Sep 11, 2018
  12. etamponi commented on Dec 1, 2018

    @etamponi

    Hello everyone :) I think my PR to nsfw fixes this issue Axosoft/nsfw#62

  13. bpasero commented on Jul 2, 2019

    @bpasero
    Contributor

    via #76434

  14. added
    bug
    verification-needed
    on Jul 2, 2019
  15. locked and limited conversation to collaborators on Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugfile-watcherupstreamverification-neededverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions