Codeishot is a Visual Studio Code extension designed to enhance the coding experience by allowing users to quickly share code snippets directly from the editor. It captures selected text, posts it to a local server, and provides a shareable URL to the user.
- Snippet Sharing: Easily share code snippets with a unique URL.
- Clipboard Integration: Automatically copies the snippet URL to the clipboard.
- Error Handling: Comprehensive error messages for a smooth user experience.
- Language Support: Language detection.
- Codeishot Authentication: Added login function to authenticate personal snippets.
- Download the extension from the Visual Studio Code Marketplace.
- Install it in your Visual Studio Code editor.
- Restart VSCode to activate the extension.
To use Codeishot:
- Open a file in VSCode.
- Select the code snippet you want to share.
- Open the vscode command palette
Shift + P
- Execute the
Share on Codeishot ✨
command (or useOption + Shift + c
shortcut). - The URL of the posted snippet is automatically copied to your clipboard.
- Optionally, click on the pop-up message to open the snippet URL in a browser.
To login into Codeishot:
- Open the command palette.
- Open the vscode command palette
Shift + P
- Click on
Login to Codeishot ✨
. - Follow the Flow.
Extension Settings:
/* settings.json */
{
"Authentication": true,
"jwt": ""
}
Or by using the settings user interface:
config.ts
Parameters
- Base URL: Set to
https://codeishot.com
by default. Change it in the code if you're using a different server. - API Endpoint: The extension posts to
https://api.codeishot.com
.
axios
: Used for HTTP requests.vscode
: VSCode extension API.path
: For handling file paths.
Contributions to Codeishot are welcome. Please read our contribution guidelines before submitting a pull request.
This project is licensed under MIT License. See the LICENSE file for details.
Special thanks to everyone who contributed to the development and testing of this extension.
This extension is developed as an open-source project. It's not officially affiliated with Visual Studio Code or any other products used or referenced.
For support or queries, reach out to one of the maintainers.
Codeishot © 2024