Claudette
A Sublime Text package that integrates the Anthropic Claude AI API into your editor
Details
Installs
- Total 100
- Win 25
- Mac 55
- Linux 20
Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | Feb 13 | Feb 12 | Feb 11 | Feb 10 | Feb 9 | Feb 8 | Feb 7 | Feb 6 | Feb 5 | Feb 4 | Feb 3 | Feb 2 | Feb 1 | Jan 31 | Jan 30 | Jan 29 | Jan 28 | Jan 27 | Jan 26 | Jan 25 | Jan 24 | Jan 23 | Jan 22 | Jan 21 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 1 | 0 | 2 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 3 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 2 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 2 | 0 | 3 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 4 | 0 | 1 | 0 | 0 | 5 | 1 | 4 | 4 | 3 | 0 | 1 | 3 | 0 | 1 | 1 | 1 | 1 | 3 | 0 | 2 | 1 | 1 | 0 | 2 | 0 | 2 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 2 | 2 | 2 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
Linux | 0 | 2 | 0 | 1 | 0 | 1 | 0 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 2 | 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
- Include one or more files in the chat context
- Choose between different Claude models
- Configure custom system prompts to customize Claude's behavior
- Chat History: Export and import conversations as JSON files
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.
Pro tip: In a chat view, press Enter to ask a question.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.Include in Context
claudette_context_add_files
Available as a context menu item in the file list. Include on or more files or the content of a folder to the chat context.Add Files In Open Tabs to Context
claudette_context_add_open_files
Add the content of the currently open files to the chat context.Show Included Files
claudette_context_manage_files
Manage the list of files that are currently included in the chat context.Clear Included Files
claudette_context_clear_files
Remove all included files from the chat context.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",
}
]
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
All code that you share with the Anthropic Claude API, for example 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.