rlivings39 / vscode-fzf-quick-open

vscode extension providing quick file/folder open and searching using fzf
MIT License
77 stars 17 forks source link

Weird default initial working directory #30

Open janosimas opened 3 years ago

janosimas commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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

rlivings39 commented 3 years ago

Looks like it pick the first one in the list