tomrijndorp / vscode-finditfaster

Find it, but faster! Fast file search for VS Code.
MIT License
252 stars 25 forks source link

[win] "unknown options: canceled" #63

Open Karmenzind opened 6 months ago

Karmenzind commented 6 months ago

Hi, I use Powershell 7.4 (pwsh) on Win11. The fzf program flashed for a moment and soon disappeared. Then it shows:

image

Text version:

PS C:\Users\vales\Workspace\dotfiles-and-scripts> c:\Users\vales\.vscode\extensions\tomrijndorp.find-it-faster-0.0.30\find_within_files.ps1  'c:\Users\vales\Workspace\dotfiles-and-scripts'
rg --column --hidden  --line-number --no-heading --color=always --smart-case --colors "match:fg:green" --colors "path:fg:white" --colors "path:style:nobold" --glob "!**/.git/"  --glob  "!**/node_modules"  --glob  "!**/bower_components"  --glob  "!**/*.code-search"  --glob  "!**/dist"  --glob  "!**/dist*"  --glob  "!**/.vscode"  --glob  "!**/.build"  --glob  "!**/.dll"  --glob  "!**/.cache-loader" "^"
unknown option:
canceled
PS C:\Users\vales\Workspace\dotfiles-and-scripts> c:\Users\vales\.vscode\extensions\tomrijndorp.find-it-faster-0.0.30\find_files.ps1  'c:\Users\vales\Workspace\dotfiles-and-scripts'       
unknown option: 
canceled

Relative content of my settings.json:

    "security.workspace.trust.untrustedFiles": "open",
    "terminal.external.windowsExec": "C:\\Program Files\\PowerShell\\7\\pwsh.exe",
    "terminal.explorerKind": "both",
    "find-it-faster.general.hideTerminalAfterFail": false,
    "find-it-faster.general.hideTerminalAfterSuccess": false,
    "find-it-faster.general.clearTerminalAfterUse": false,
    "find-it-faster.findFiles.showPreview": false,
    "find-it-faster.findWithinFiles.showPreview": false

Waiting for your reply.

tomrijndorp commented 6 months ago

Hi @Karmenzind I personally can't help with this as I don't own a Windows machine, and rely on community contributions for the experimental Windows support. So I'm leaving this open and hopefully it'll be picked up at some point :)

Karmenzind commented 6 months ago

Thanks! @tomrijndorp

antenando commented 5 months ago

Is there a way to make this extension work in Git for Bash ? That's my default terminal in my vscode profile. And that's the terminal I have it all installed (fzf/rg/bat)