[Visual Studio Code] Cannot use 'Search Recent Projects' feature
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
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 issueCloses the issue.@raycastbot rename this issue to "Awesome new title"Renames the issue.@raycastbot reopen this issueReopens the issue.@raycastbot assign meAssigns yourself to the issue.@raycastbot good first issueAdds the "Good first issue" label to the issue.
Hi, could you make a record? I just tried different scenario it seems like the extension works as expected.
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 π
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.