Live data from Hacker News

Claude Code IDE integration for Emacs

github.com

181–190 of 281 posts

Re: Claude Code IDE integration for Emacs

#181
post #9

Like LSP and tree-sitter, I think AI coding tools like Claude Code or Aider are very good news for niche editors like Emacs or Vim. Instead of struggling about implementing advanced IDE-like features, they can integrate with these tools relatively easily, and focus on other editing related features that set them apart. In fact, IMO it makes these editors more competitive because they are highly customizable and easie…

emacs and vim are not niche, lol

Re: Claude Code IDE integration for Emacs

#182

I'm really glad that emacs is integrating modern tooling like LSP and tree-sitter, now Claude Code, but this approach is showing its age. I'm an emacs user of 20 years and honestly it's getting hard to configure everything these days. Claude Code before the IDE integration was actually the easiest thing to get working (since it just worked and then auto-revert-mode keeps my buffers in sync.) I'm on a new MacOS instal…

I run emacs in docker to manage these issues https://github.com/wwarner/emacs-native-dockerfiles

Re: Claude Code IDE integration for Emacs

#183

I wonder if this can work with OpenCode (Claude Code fork which allows for other model providers: https://github.com/sst/opencode )? I really don't like being tied to a particular provider or model, switching models has been really helpful to get past blocks and save money (especially with Deepseek!). And, of course, I need to use Github Copilot's Open AI-compatile API at work...

OpenCode isn't a fork of Claude Code. It's descended from an independent open-source project that was called "TermAI": https://news.ycombinator.com/item?id=44483338

Re: Claude Code IDE integration for Emacs

#184

I'm really glad that emacs is integrating modern tooling like LSP and tree-sitter, now Claude Code, but this approach is showing its age. I'm an emacs user of 20 years and honestly it's getting hard to configure everything these days. Claude Code before the IDE integration was actually the easiest thing to get working (since it just worked and then auto-revert-mode keeps my buffers in sync.) I'm on a new MacOS instal…

> I'm curious what emacs users are doing these days.

8 years user here so still an emacs noobie, but I switched to nvim two months ago and haven't opened emacs in a month. Just slapped on lazy.vim and have been toggling the different AI tools in LazyExtras.

I do find the ecosystem a lot better in nvim and it seems the community around nvim is more publicly engaged with new AI tooling - check out ThePrimeagen for example.

Re: Claude Code IDE integration for Emacs

#185
post #12
post #9

Like LSP and tree-sitter, I think AI coding tools like Claude Code or Aider are very good news for niche editors like Emacs or Vim. Instead of struggling about implementing advanced IDE-like features, they can integrate with these tools relatively easily, and focus on other editing related features that set them apart. In fact, IMO it makes these editors more competitive because they are highly customizable and easie…

Is there a standard for integrating agentic coding tools into an editor similar to how an LSP allows the integration of language-specific features?

No the comment meant that aider and Claude code are CLI programs, so if you can run a terminal in your niche editor, then you are good to go

Re: Claude Code IDE integration for Emacs

#186
post #2

Pretty cool! I love that these battle proven editors (emacs and (n)vim) seem to follow along with new technology, even though one might think overwise given their age. I hope this comes to vim as well!

Neovim and to an extent emacs are where corporate IDE vendors go for ideas. From ergonomics of the UX, performance, portability, design sense (!!) and theming? It's like Sun and GNU in the 90s. Those UI/UX folks getting pissed their perfect HSL wheel and black balance got dicked with by some PM which is why the GitHub theme is great not legendary? They go home and rice Arch or NixOS and just shit on the dayjob stuff.…

I don't really understand what you're talking about but it sounds cool. Naive question: what's wrong with just #000000 as black? I often change blacks to that in "dark mode" themes that are actually just dark grey. I want BLACK!

Re: Claude Code IDE integration for Emacs

#187
Why?

I’m trying to imagine the Venn diagram of “developers adopting agentic coding” and “developers who use emacs as their IDE”.

Of course I’m going to get swarmed with anecdotes, but my intuition is that there’s just not a lot of overlap.

Re: Claude Code IDE integration for Emacs

#188
post #187

Why? I’m trying to imagine the Venn diagram of “developers adopting agentic coding” and “developers who use emacs as their IDE”. Of course I’m going to get swarmed with anecdotes, but my intuition is that there’s just not a lot of overlap.

Haha. Yeah I feel they’re exact opposites. Emacs is so DIY/wanting to control your experience and create the perfect tool for you.

Re: Claude Code IDE integration for Emacs

#189
post #137

I feel like I still have yet to see any decent answers to this question; Are professional SDE paying for Claude on their own dime, and then logging into their personal account and somehow integrating Claude Code (or other LLMs) into their work repos that way? The startup I work for has chosen their flavor of AI subscription and its frankly not developer focused. Instead they chose Google because of the productivity t…

Our company set up some kind of Wise debit card thing where we each get our own number, and they told us "try out any AI tool you want."

So I subscribe to a new one every month to try out while still shoveling like 150$/mo at Claude cause it's consistently been the best and the one I use the most. Cursor as well has been good for their completion model which surpasses anything else I've tried for inline/multiline/jump completions.

But I've also tried supermaven, codeium/windsurf, copilot, zed. I guess from the company's perspective, a couple hundred bucks a month is well worth the time of keeping us all up to date with ai tooling.

Re: Claude Code IDE integration for Emacs

#190

I've tried out a similar project (claude-code.el). I use Spacemacs in evil-mode and I found it very frustrating to try and type into the Claude Code text box (often my cursor would be somewhere weird, the terminal emulator just really did not seem to "understand" that I was not in Insert Mode). I wound up deciding that I'd rather just use Claude Code in the terminal. The Claude Code text box is ALSO annoying there, s…

I also had the spacemacs golden handcuffs on before I switched to nvim. I worry that while using spacemacs was great for getting me up to speed in a productive emacs environment, it hamstrung my long term understanding and usage of emacs. I'd often have issues like you describe with no idea how to solve it. My white whale was getting all my web dev major modes to respect a .editorconfig.
Post reply on HN