oliverschwendener / ueli

Cross-Platform Keystroke Launcher
https://ueli.app
MIT License
3.6k stars 238 forks source link

[Bug] Visual Studio Code extension not working #1196

Open milnak opened 1 week ago

milnak commented 1 week ago

Describe the bug Visual Studio code extension not finding any results.

To Reproduce enable VSC extension, click refresh.

Debug log reads:

[9/11/2024, 1:58:38 PM][ERROR] Failed to get search result items for extension with id 'VSCode.Reason: TypeError [ERR_INVALID_URL_SCHEME]: The URL must be of scheme file'

The first entry in my history.recentlyOpenedPathsList in the ItemTable has (let me know if you need the full dump):

{
    "entries": [
        {
            "folderUri": "file:///c%3A/Users/jeffm/scoop/buckets/milnak"
        }

Was this extension tested on Windows?

Expected behavior extension works.

Environment

IrishBruse commented 1 week ago

I've only tested on Mac and Linux so I imagine it's related to the C:/ I'll take a look see about adding a fix

IrishBruse commented 4 days ago

Should be fixed in 9.5.1

milnak commented 4 days ago

@IrishBruse Not fixed in 9.5.1. I still get

[9/14/2024, 10:48:02 AM][ERROR] Failed to get search result items for extension with id 'VSCode.Reason: TypeError [ERR_INVALID_URL_SCHEME]: The URL must be of scheme file'
IrishBruse commented 4 days ago

Thats a mystery what vscode version are you using and is it the normal vscode or a fork?

milnak commented 4 days ago

User installer from Microsoft

(Get-Item "$env:LocalAppData\Programs\Microsoft VS Code\code.exe").VersionInfo.ProductVersion
1.93.1
IrishBruse commented 4 days ago

Hi just setup ueli on a windows machine I have laying around and it worked fine could you send the history.recentlyOpenedPathsList there must be some sort of character that bugs it out

IrishBruse commented 2 days ago

Thanks got it