Calamus is a powerful VS Code extension that brings AI-powered text editing features directly to your text documents using Google Gemini. It provides tools for text checking, completion, translation, and improvement, all integrated seamlessly into your editing workflow.
Features
Check Text (F4)
Automatically proofread your text for grammar, spelling, punctuation, and style issues.
How it works: Analyzes the current paragraph (or selected text) and visualizes changes.
Visualization: Deletions are shown as red strike-throughs, and additions/corrections appear as ghost text.
Accept: Press Tab to apply the corrections.
Complete Text (F5)
Stuck on a sentence? Let Calamus finish it for you.
Context-Aware: Analyzes up to 1000 characters of preceding text (including previous paragraphs) to generate natural continuations.
Ghost Text: The suggestion appears as gray ghost text at your cursor.
Accept: Press Tab to insert the completion.
Translate Text (F6)
Instantly translate text between English and your configured second language.
Bi-directional: Automatically detects if the text is English (translates to target language) or the target language (translates to English).
Preserves Nuance: Designed to maintain tone, style, and formatting.
Configurable: Set your preferred Second Language in settings (default: Spanish).
Improve Text (F7)
Enhance the quality of your writing with a single keystroke.
Professional Polish: Makes text clearer, more professional, and "native-sounding".
Customizable: Uses a set of predefined instructions (configurable in settings) to guide the improvement process (e.g., maintaining tone, removing ambiguity).
Installation
Install the extension from the VS Code Marketplace or via VSIX.