Instantly upload your code snippets to RayCode without having to swap between the VS Code IDE and your browser.
- Quickly save screenshots of your code
- Can detect 50+ Programming Languages Automatically
- Copy screenshots to your clipboard
- Copy the link of your RayCode
- Export as PNG or SVG
- Select text.
- Click
Ctrl + Shift + Pto open the command palette. - Type
"RayCode"and clickEnter. - Wait
- RayCode will quickly open the generated snippet in your browser at https://raycode.netlify.app/
- If language is set as
Plaintext. Then select language of the selected text from the Drop-Down menu - Now, Feel free to tryout all the other Controls & Options
- Save the Image. Profit !!
Tip
- If you'd like to bind RayCode to a hotkey, open up your keyboard shortcut settings and bind raycode.start to a custom keybinding.
- You can Use the keyboard shortcuts in the RayCode Site to export the image faster.
(click on the GIF for larger view)
Warning
Do Not Select the Auto Detect option in the language drop down box. It will make the website screen white and blank (only for you)
Note
If you do select Auto Detect option by mistake, just refreshing the page won't fix it.
Tip
For this you need to clear all your website cookies and browsing data completely for the RayCode website to work normally
(Only if you do select Auto Detect option and blank screen appears)
i. Have Node.js installed on your machine.
ii. Update npm to the latest version. Run:
npm install -g npm@latestiii. Install Git and run the installer.
Now follow the steps below !!
- Clone this repo
git clone https://github.com/MohamedAfraz/raycode-vscode.git && cd raycode-vscode- Install project dependecies
npm install-
Now open the raycode-vscode folder in VS Code.
-
Now run Debugger (Extension Development Host) by clicking on it in the menu
(or)
By Pressing theF5key -
Try using it from the Command Palette. It'll mostly work.
-
Just play around, change the code in the
package.jsonorextension.jsfiles.
Hope you got it and all is working!! If not, feel free to start an Issue⚡
