Sublime Forum

Claude Code in ST

#1

How do I use Claude Code inside ST, like the way it is integrated in VS Code ?

0 Likes

#2

This would be awesome. I too am interested in this.

0 Likes

#3

Claude code may not be directly done, unless Claude AI have added API keys for their subscription plans. However a member of the Sublime Text community have developed Claudette for Sublime Text as an addon. This integrates into the Anthropic Claude AI Developer console, where you can get API keys.

Though it’s likely got some of the features of Claude Code. The features in Claude Code related to Git and GitHub, aren’t available in Claudette.

0 Likes

#4

Indeed, Claudette works well, but it does not interface with Claude Code, so you do not have access to all its functionalities, and finally you need an API key from Anthropic, whereas with Claude Code, you can use either an API key, or your web-based plan to get an access token.
I find the integration of Claude Code in VS Code perfect, but I do not like VS Code itself.

0 Likes

#5

A lot of Claude Code’s functionality is covered under Claudette. The Claudette addon is open source, so if there’s something missing which is covered under Claude Code. Bearing in mind that the Git Client part is covered by Sublime Merge and code editing covered by Sublime Text.

Just open an issue on the addon’s code repository, or better yet contribute code which adds it. The addon is written in Python like all Sublime Text addons.

You can get an API for free. Plus the method used with the API key and developer console gives you control over the amount of money (credit) on account. So you can make sure you don’t over spend.

0 Likes

#6

If you really want to use claude code features in ST, the only real option is Claudette with some custom changes. Because it’s based on Python, you can add missing features or even write scripts that work with Sublime Merge for Git things. It’s not as smooth as VS Code, but it lets you control things without having to switch editors.

0 Likes