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

Weird default initial working directory #30

Open
janosimas opened this issue May 20, 2021 · 3 comments
Open

Weird default initial working directory #30

janosimas opened this issue May 20, 2021 · 3 comments

Comments

@janosimas
Copy link

The initialWorkingDirectory gave me some weird results.
Looks like it sets to the folder where the last open file but I'm not sure.

For me, this setting worked best

"fzf-quick-open.initialWorkingDirectory": "${workspaceFolder}"
@rlivings39
Copy link
Owner

The designed behavior is to choose working directory based on the currently focused file. Would using the workspace folder be better in your opinion? What about if there are multiple root folders? Should the extension prompt to choose one?

@janosimas
Copy link
Author

What is the expansion of ${workspaceFolder} when you have multiple root folders?

@rlivings39
Copy link
Owner

Looks like it pick the first one in the list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants