Skip to content

Centos 7 ARM Find in Files and Command Palette search only work for files open in editor. #6930

@jnchaba

Description

@jnchaba
  • VSCode Version: 1.69.0
  • Local OS Version: macOS Monterey 12.3.1
  • Remote OS Version: CentOS Linux release 7.9.2009 (AltArch)
  • Remote Extension/Connection Type: SSH
  • Logs:
    [2022-07-11 13:08:15.296] [renderer7] [trace] SearchService#search {"_reason":"searchView","folderQueries":[{"folder":{"$mid":1,"fsPath":"/home/vagrant/SNaaP","external":"vscode-remote://ssh-remote%2Bsnaap2it/home/vagrant/SNaaP","path":"/home/vagrant/SNaaP","scheme":"vscode-remote","authority":"ssh-remote+snaap2it"},"excludePattern":{"**/.git":true,"**/.svn":true,"**/.hg":true,"**/CVS":true,"**/.DS_Store":true,"**/Thumbs.db":true,"**/node_modules":true,"**/bower_components":true,"**/*.code-search":true},"fileEncoding":"utf8","disregardIgnoreFiles":false,"disregardGlobalIgnoreFiles":true,"disregardParentIgnoreFiles":true,"ignoreSymlinks":false}],"usingSearchPaths":false,"onlyOpenEditors":false,"maxResults":20000,"type":2,"contentPattern":{"pattern":"help","isRegExp":false,"isCaseSensitive":false,"isWordMatch":false,"wordSeparators":"`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?"},"previewOptions":{"matchLines":1,"charsPerLine":1000},"usePCRE2":false}

Steps to Reproduce:

  1. Connect to Host using Remote-SSH, where the host is an Centos 7 ARM image
  2. Open folder of your codebase
  3. Cmd+Shift+F for anything that exists in your codebase.
  4. "No results found. Review your settings for configured exclusions and check your gitignore files".
  5. Try to open a file using command palette, no files are listed.
  6. Open any from your codebase to your editor.
  7. Try searching again using Cmd+Shift+F.
  8. Results only appear for the file in your editor.
  9. Try to open a file using command palette, only the files you have previously opened appear as options.

Does this issue occur when you try this locally?: No
Does this issue occur when you try this locally and all extensions are disabled?: No

I have two environments set up. My windows environment remote ssh's into a Centos 7 x86 image, with the same codebase, and this issue does not present. My M1 environment remote ssh's into a Centos 7 AltArch image, also with the same codebase, and this issue does present. I'm aware there was recently a release with issue 2998 that added support for Centos 7, and it works perfectly except for the Find-in-Files and Find-in-Folder searches.

I am using the exact same exclusion settings and .gitignore files across the two environments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    *duplicateIssue identified as a duplicate of another issue(s)sshIssue in vscode-remote SSHupstreamIssue identified as 'upstream' component related (exists outside of VS Code Remote)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions