raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.28k stars 2.97k forks source link

[Visual Studio Code] Cannot use 'Search Recent Projects' feature #12525

Closed viv96 closed 2 months ago

viv96 commented 4 months ago

Extension

https://www.raycast.com/thomas/visual-studio-code

Raycast Version

1.75.1

macOS Version

14.5

Description

Error:

Error: Command failed with exit code 1: osascript -e 
        tell application "System Events"
          tell process "Code"
            repeat while window 1 exists
              click button 1 of window 1
            end repeat
          end tell
        end tell

106:154: execution error: System Events got an error: Can’t get button 1 of window 1 of process "Code". Invalid index. (-1719)

        tell application "System Events"
          tell process "Code"
            repeat while window 1 exists
              click button 1 of window 1

The 'Search Recent Projects' feature of Visual Studio Code extension is not working. When the application is closed, the command works to open the selected project. But when the application is already open and when you are trying to switch projects then the command is glitching out.

Steps To Reproduce

Current Behaviour

Using Raycast to search recent project will trigger error

Expected Behaviour

Should be able to open recent projects in vscode

raycastbot commented 4 months ago

Thank you for opening this issue!

🔔 @thomaspaulmann @iainsimmons @macbookandrew @cy-98 @immint023 @pernielsentikaer @vimtor @tonka3000 @aka-rabbi-inv @oilbeater @QIanGua @hakob8956 @erics118 @tmwrnr @tleo19 you might want to have a look.

💡 Author and Contributors commands The author and contributors of `thomas/visual-studio-code` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue.
aliaksandrZh commented 4 months ago

Hi, could you make a record? I just tried different scenario it seems like the extension works as expected.

raycastbot commented 2 months ago

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊

raycastbot commented 2 months ago

This issue has been automatically closed due to inactivity.

Feel free to comment in the thread when you're ready to continue working on it 🙂

You can also catch us in Slack if you want to discuss this.