My only experience is with intellij ides, but this plugin works in both https://www.continue.dev/. We use this internally at my company, and I think it's one of the better open source ones.
At home I use it with open router and ollama/vllm/llama.cpp server
At home I use it with open router and ollama/vllm/llama.cpp server