Fragment is a powerful code completion assistant powered by Google Gemini and Cloudflare Workers AI, helps you enhance coding efficiency and accelerate development speed.
Features
Smart Code Completion: Provides real-time suggestions based on context, reducing coding errors.
Multi-Language Support: Compatible with various programming languages to meet different development needs.
Installation
Open VSCode.
Go to the Extensions view (Ctrl+Shift+X).
Search for "Fragment".
Click "Install".
Requirements
VSCode 1.65.0 or later.
A Gemini token or Cloudflare token.
Setup
You may be prompted to enter your Gemini token or Cloudflare token. All tokens are securely stored in the VSCode settings.json file and will not be sent to any servers other than those of the AI model provider.
Usage
Launch VSCode, open a file, and start coding.
As you type, Fragment will automatically offer suggestions.