Claudette
A Sublime Text package that integrates the Anthropic Claude AI API into your editor
Details
Installs
- Total 16
- Win 5
- Mac 9
- Linux 2
Jan 31 | Jan 30 | Jan 29 | Jan 28 | Jan 27 | Jan 26 | Jan 25 | Jan 24 | Jan 23 | Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 2 | 0 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 2 | 2 | 2 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Claudette – Claude AI Assistant for Sublime Text
A Sublime Text package that integrates the Anthropic Claude AI API into your editor.
Type “Ask Question” in the command palette or find the Claudette > Ask Question item in the Tools menu to ask a question. Any selected text in the current file will be sent along to the Anthropic Claude API. Note that a Claude API key is required.
Features
- Chat with Claude in multiple chat windows at the same time
- Automatically include selected text as context for your questions
- Choose between different Claude models
- Configure custom system prompts to customize Claude's behavior
- Chat History: Export and import conversations as JSON files
Available commands
All commands are available via the Tools > Claudette menu or via the command palette.
Ask Question
claudette_ask_question
Opens a question input prompt. Submit your question with the ⏎ Enter key. ⇧ Shift + ⏎ Enter for line breaks.Ask Question In New Chat View
claudette_ask_new_question
Opens a question input prompt. A new chat view will open if there is an existing conversation in the current view. Useful for having multiple simultaneous chats, each with their own context and history.Clear Chat History
claudette_clear_chat_history
Clear the chat history to reduce token usage while keeping previous messages visible in the interface. Prevents resending previous messages in a conversation when a new question is asked.Export Chat History
claudette_export_chat_history
Save any Claude chat conversation. Run this command to export the most recently active chat view in the current window to a JSON file.Import Chat History
claudette_export_chat_history
Import a chat history JSON file and continue the conversation where it left off.Switch Model
claudette_select_model_panel
Claudette chat is powered by Claude 3.5 Sonnet by default, but you can switch between all available Anthropic models.Switch System Prompt
claudette_select_system_message_panel
Improve Claude's performance by using a system prompt. You can create and manage multiple prompts.
Keyboard shortcuts
The Claudette package does not add key bindings out of the box. You can add your own keyboard shortcuts via the Settings > Keybindings settings menu. The following example adds a keyboard shortcut that opens the “Ask Question” panel.
For OSX:
[
{
"keys": ["super+k", "super+c"],
"command": "claudette_ask_question",
}
]
For Linux and Windows:
[
{
"keys": ["ctrl+k", "ctrl+c"],
"command": "claudette_ask_question",
}
]
Pro tip: press Enter when in a chat view to ask a question.
Installation
- Install Package Control if you haven't already
- Open the Command Palette (⌘+⇧+P on Mac, Ctrl+⇧+P on Windows/Linux)
- Type “Package Control: Install Package” and press Enter
- Type “Claudette” and press Enter to install
- Get an API key from Anthropic
- Configure API key in Preferences > Package Settings > Claudette > Settings
Privacy & legal
Note that this package interacts directly with the Anthropic Claude API. All code that you share via the API, e.g. by including it in a chat, will be sent to Anthropic's servers. For information about Anthropic's privacy practices, data processing, and legal compliance, please visit the Privacy & Legal documentation.
Credits
The package is for the most part written by Claude AI itself.