A VS Code extension that seamlessly integrates AI-powered text transformations into your workflow, providing an elegant, non-blocking user experience.
- In-place AI Actions: Get definitions or translations for any word by simply typing a dot (
.) after it. - Seamless Workflow: No need to leave your editor or copy-paste. Suggestions appear right in the autocompletion list.
- Innovative UX: Flowriter solves API latency issues with a unique, animated inline placeholder, ensuring your typing flow is never interrupted.
- LLM Powered: Connects to your preferred LLM API for powerful and accurate text transformations.
Calling an external API always introduces a small delay. Other tools solve this with disruptive loading spinners or notifications that break your concentration.
Flowriter introduces a new, elegant solution. When you trigger an action, the target word is instantly replaced with an animated, same-length placeholder. This provides immediate, non-blocking feedback right where your attention is. You can continue your work, and when the API call completes, the placeholder is seamlessly replaced by the result.
- Install the extension from the VS Code Marketplace (link to be added).
Before using Flowriter, you need to configure your LLM provider details.
- Open VS Code Settings (
Cmd/Ctrl + ,). - Search for
flowriter. - You will see three settings:
- Flowriter: Api Endpoint: Crucially, set this to the correct endpoint for your LLM service (e.g.,
https://api.example.com/v1/chat/completions). The default is an example and will not work. - Flowriter: Api Key: Enter your LLM API key here.
- Flowriter: Model Name: Enter the specific model name you wish to use (e.g.,
gpt-4,claude-3-opus-20240229).
- Flowriter: Api Endpoint: Crucially, set this to the correct endpoint for your LLM service (e.g.,
- Settings are saved automatically.
- In a supported file (like
.js,.ts,.md, etc.), type any word. - Immediately after the word, type a dot (
.). - A suggestion box will appear with
definitionandtranslationoptions. - Select an option using your arrow keys and press
EnterorTab. - Watch as the word is replaced by a subtle animation, which is then replaced by the final result from the AI.
This project is licensed under the MIT License.