continuedev / continuedev/continue

Unable to use autocomplete in Jetbrains

Open
#4,408 4 comments 3 reactions 1 assignee View on GitHub

@bdougie is already working on this.

Since Oct 22, 2025.

area:autocomplete ide:jetbrains kind:bug needs-triage os:mac
Dominant language
TypeScript
Stars
36k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Before submitting your bug report
Relevant environment info
- OS: MacOS 14.7.4
- Continue version: latest
- IDE version: Intellij 2024.3.3
- Model: starcoder:3b
- config:
  

  
  OR link to assistant in Continue hub:
Description

After I compile and run the latest version of the code, I can talk normally, but the auto-completion does not respond.
I got this in prompt.log:

##### Completion options #####
{
  "contextLength": 8096,
  "model": "qwen:0.5b",
  "maxTokens": 4096,
  "stop": [
    "<|im_start|>",
    "<|im_end|>"
  ]
}

##### Request options #####
{}

##### Prompt #####
<system>
Always include the language and file name in the info string when you write code blocks, for example '```python file.py'.

<user>
1



Completion:
The number "1" is a positive integer that comes after zero and before two negative integers. It represents the starting point of something or some unit system. The number "1" can be used to represent various concepts such as independence, unity, perfection, etc.



##### Completion options #####
{
  "contextLength": 8096,
  "model": "qwen:0.5b",
  "maxTokens": 4096,
  "stop": [
    "<|im_start|>",
    "<|im_end|>",
    "<fim_prefix>",
    "<fim_suffix>",
    "<fim_middle>",
    "<file_sep>",
    "<|endoftext|>",
    "</fim_middle>",
    "</code>",
    "/src/",
    "#- coding: utf-8",
    "```"
  ],
  "temperature": 0.01,
  "raw": true
}

##### Prompt #####
<fim_prefix>
// test.kt
class Test {
    private var result: Double = 0.0

    fun add(number: Double): Test {
        result += number
        return this
    }

    fun subtract(number: Double): Test {
        result -= number
        <fim_suffix>
        return this
    }

    fun multiply(number: Double): Test {
        result *= number
        return this
    }

    fun divide(number: Double): Test {
        result /= number
        return this
    }

    fun getResult(): Double {
        return result
    }

    fun reset(): Test {
        result = 0.0
        return this
    }
}
<fim_middle>

Completion:



As you can see, there is output after chat, but no Completion in autocomplete.

Here is my config.json:

{
  "models": [
    {
      "title": "Qwen2",
      "provider": "ollama",
      "model": "qwen:0.5b",
      "apiBase": "http://127.0.0.1:11434"
    }
  ],
  "tabAutocompleteModel": {
    "title": "Starcoder2",
    "provider": "ollama",
    "model": "starcoder2:3b",
    "apiBase": "http://127.0.0.1:11434"
  },
  "contextProviders": [
    {
      "name": "code",
      "params": {}
    },
    {
      "name": "docs",
      "params": {}
    },
    {
      "name": "diff",
      "params": {}
    },
    {
      "name": "terminal",
      "params": {}
    },
    {
      "name": "problems",
      "params": {}
    },
    {
      "name": "folder",
      "params": {}
    },
    {
      "name": "codebase",
      "params": {}
    }
  ],
  "slashCommands": [
    {
      "name": "share",
      "description": "Export the current chat session to markdown"
    },
    {
      "name": "cmd",
      "description": "Generate a shell command"
    },
    {
      "name": "commit",
      "description": "Generate a git commit message"
    }
  ]
}
To reproduce

No response

Log output

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.