extensions icon indicating copy to clipboard operation
extensions copied to clipboard

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

Open viv96 opened this issue 2 years ago β€’ 4 comments

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

  • make sure vscode application is closed
  • open a recent project using 'Search Recent Projects' of the extension
  • now try to search and open a different recent project using the same command

Current Behaviour

Using Raycast to search recent project will trigger error

Expected Behaviour

Should be able to open recent projects in vscode

viv96 avatar May 23 '24 10:05 viv96

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.

raycastbot avatar May 23 '24 10:05 raycastbot

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

aliaksandrZh avatar May 27 '24 19:05 aliaksandrZh

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 avatar Jul 16 '24 19:07 raycastbot

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.

raycastbot avatar Jul 26 '24 20:07 raycastbot