microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.12k stars 29.27k forks source link

Find Files (Ctrl+P) is very slow #26868

Closed smrucv closed 6 years ago

smrucv commented 7 years ago
Extension Author Version
delphi-keybindings alefragnani 0.2.0
delphi-pack alefragnani 0.1.0
numbered-bookmarks alefragnani 0.9.1
pascal alefragnani 0.8.0
python donjayamanne 0.6.4
classic-asp ilich8086 0.0.2
classic-asp-html jtjoo 0.0.1
python tht13 0.2.3
asp tron 0.0.1
pygame-snippets tushortz 0.0.1 ;

Steps to Reproduce:

1. 2.

chrmarti commented 7 years ago
smrucv commented 7 years ago

Hi,

It's a remote system, it may take more than 20 minute to find a file when I type it completely, sometimes it never ends. My folder and subfolder has mare than 100 thousands files.

I tried with other programs and are much more faster finding files, but I like VS Code that's why I ask.

Thanks in advance.

chrmarti commented 7 years ago

What about text search (Ctrl + Shift + F) performance, how slow is that?

smrucv commented 7 years ago

Is also very slow.

Dimas Salazar

"Los jóvenes venezolanos, ¿se dejarán abatir por las dificultades, o tendrán el valor de ser cristianos de verdad y construir una sociedad más justa, más fraterna, más acogedora y pacífica?" Juan Pablo II (1985)

On Fri, May 19, 2017 at 7:10 PM, chrmarti notifications@github.com wrote:

What about text search (Ctrl + Shift + F) performance, how slow is that?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Microsoft/vscode/issues/26868#issuecomment-302822879, or mute the thread https://github.com/notifications/unsubscribe-auth/AIm5JlDRcAJ9EIXmtw4-xYoO46xgDz1zks5r7hNzgaJpZM4NfM4v .

ankitrg commented 7 years ago

I am also facing this problem I am on the latest version.

Somnium7 commented 7 years ago

To ankitrg, I guess that 10 secs for 30k files is pretty normal.

bwinton commented 7 years ago

Is there any way to short-cut the find operations? I often copy full paths to files from git status, and then try to open them in VSCode, but Ctrl-O doesn't let me paste the path, and Ctrl-P takes ages even though I've pasted in the exact place to find the file… 😢 If VSCode did a quick check at the start to say "Hey, does this thing exactly match a file in our directory? Let's just show that item now while we continue to look for more matches." that would speed up my workflow immensely!

(Also, 10 seconds for 30k files is not normal, it's a sign that you need a better data structure. 😉)

chrmarti commented 6 years ago

@smrucv Which remote filesystem is this? We have reports of slow performance with sshfs.

vscodebot[bot] commented 6 years ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

bwinton commented 6 years ago

Seriously? Nothing between Aug 21st and Dec 1st, then you only wait 7 days for a response, and don't ping any of the people who might be able to answer? Poor form, vscodebot.

In my case it was a local filesystem on Windows 10 Pro, no sshfs. I've since switched to Atom, which (after the initial indexing) can find a file almost as fast as I type.