tonka3000 / vscode-raycast

Raycast tools for VSCode
https://marketplace.visualstudio.com/items?itemName=tonka3000.raycast
MIT License
16 stars 2 forks source link
raycast tools vscode vscode-extension

Raycast for VSCode

This is NOT an official tool by Raycast company!!

The extension should help you to develop Raycast extensions by providing

and more

Features

Requirements

You need to install the same requirements which are mention on https://developers.raycast.com.

URI Handler Support

🚧 Experimental

You can run a command inside VSCode from outside of VSCode via custom URI handler. The URI handler can run commands with the following schema vscode://tonka3000.raycast/runcommand?cmd=<cmdid>. cmdid needs to be replaced by the internal command id of the specific VSCode command which you wanna trigger.

E.g. you can run the command Terminal: Create New Terminal when you use it's internal ID workbench.action.terminal.new. The full command would look like vscode://tonka3000.raycast/runcommand?cmd=workbench.action.terminal.new.

To run this example from the MacOS terminal you need to enter the following line into your terminal

open "vscode://tonka3000.raycast/runcommand?cmd=workbench.action.terminal.new"

⚠️ Arguments for commands are right now not supported.

Limitations

Some commands of VSCode can not be run in a specific context, which is a limitation of VSCode itself. This can lead to errors.

Troubleshooting

If you have problems with the extension just file a issue on GitHub. It's mostly a good idea to attach the log output of this extension to the issue. You can active the logger by adding "raycast.loglevel": "debug" to your settings.json file. Just copy the content of the Raycast output pane into your GitHub issue.

Contributions

Pull Requests are welcome :-D

License

MIT