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

File picker doesn't change when working directory changes #1374

Closed
adsick opened this issue Dec 25, 2021 · 4 comments
Closed

File picker doesn't change when working directory changes #1374

adsick opened this issue Dec 25, 2021 · 4 comments
Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements

Comments

@adsick
Copy link

adsick commented Dec 25, 2021

If I open some crate, lets say pixels I use built in :cd command to go to 'examples' folder
image

and then I open file picker and see that it is still in the root:
image

@adsick adsick added the C-bug Category: This is a bug label Dec 25, 2021
@Triton171
Copy link
Contributor

The file picker always displays search results from the current "root directory" which is the root folder of your git repository. I'm currently working on a PR that prioritizes files in the current directory. When that's done, you'll still see all the files but the files in the 'examples' folder will appear on top. Hopefully that'll make this a non-issue.

@kirawi kirawi added A-helix-term Area: Helix term improvements C-enhancement Category: Improvements and removed C-bug Category: This is a bug labels Dec 26, 2021
@pickfire
Copy link
Contributor

pickfire commented Jan 28, 2022

Should this still be open? This is a feature and not a bug.

@adsick
Copy link
Author

adsick commented Jan 28, 2022

Imo there should be config for enabling/disabling that behavior.

@Triton171
Copy link
Contributor

I still think that prioritizing files in the current directory is the best way to deal with this. Then, there shouldn't be any need for such a config option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

4 participants