-
Notifications
You must be signed in to change notification settings - Fork 330
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
Disable path autocomplete #614
Comments
Thanks for the feedback. Can you tell me more about the directory with hundreds of GB files? (For example, we now have heuristic which is to exclude A toggle can be the solution. But I think there might be better ways to deal with it. |
Almost all of it is text files. I did forget to mention one key point (which may work as a better fix). I have set VSCode NOT to search in sub-directories which contain most of the files (say, 99% of the directory size). Before I did this, if I pressed ctrl + p (quick open), the "Rg" process would start and crash VSCode (with or without this extension). Perhaps using the "Exclude" rules under Settings > Features > Search would be a better solution? Example directory structure:
|
That's a good idea. |
Please try out the dev build. |
Dev build worked perfectly! Thank you! |
What is the problem?
I use VSCode in a very large network drive and take notes in Markdown using this extension. VSCode will eat up RAM when I try to link to another file as it searches all directories for suitable files to link. Eventually VSCode will crash as Windows runs out of ram to give it.
The process that is created is called "Rg", but only gets created when Markdown-All-In-One is enabled AND I attempt to link to another file (such as via
![]()
or[]()
. Disabling the extension fixes the issue. The extension Path Autocomplete works flawlessly by only sowing results for the directory I am in. It does not search for other files.Note; I really like the fact that it searches for files to link to when in much smaller directories. If a toggle could be added to enable / disable this feature though, I would appreciate it for this particular use case.
How can I reproduce it?
In a directory with a LOT of files (on the order of hundreds of GB). Try to link to a file using
[]()
The text was updated successfully, but these errors were encountered: