How could I most easily setup an external Code Completion Server (NOT agentic and NOT chat) inside IntelliJ?

Currently I'm using GH copilot for chat completition. I've disabled agentic features (because they don't work very well, cost a fortune and I just simply feel like I'm much more effective writing my own code) and simple use the gpt 4.1 based code completition (which struggles with java due to the way imports work).  I simply just want basic, inline next token prediction.

Now I'd like to use my old gaming computer as a simple external inline code completion server (dual 3090, should be plenty), running something Codestral or Qwen to provide my own inference for code completion, probably running something like llama.cpp as an inference server.

So basically the setup would be:

- My server, running in my network, serving a language model
- IntelliJ connecting to the server and using it for code completion ONLY, using a plugin
- no cloud services, subscriptions, telemetry or agentic features
- All data and code staying inside my network, without a subscirption or account being necessary

Now there used to be tools like tabby, tabnine and continue.dev, but they've all pivoted to agent and some even require a subscription now. Almost all of them are essentially wrappers for claude and openAI. But I want to run code completion, not agents. I don't want terminal integrations or code review or them running random code on my machine.
 

Ideally it'd be open source aswell

Are there other people with setups like this, and if yes what are they using?
What are my options here?

0

请先登录再写评论。