Skip to content

Issues with spaces being inserted during autocomplete acceptance  #3480

Closed as not planned
@Patrick-Erichsen

Description

@Patrick-Erichsen

Before submitting your bug report

Relevant environment info

OS: Windows 11
Continue: 0.0.83
IDE: IntelliJ Community Edition 2024.1
Model Provider: ollama
Model: starcoder2-3b
config.json:

{
  "models": [
    {
      "title": "Llama3.2 Chat",
      "model": "llama3.2:3b",
      "provider": "ollama"
    }
  ],
  "tabAutocompleteModel": {
    "title": "starcoder2:3b",
    "model": "starcoder2:3b",
    "provider": "ollama"
  },
  "tabAutocompleteOptions": {
    "useCopyBuffer": false,
    "maxPromptTokens": 1000
  }
}

Description

https://discord.com/channels/1108621136150929458/1316830326923857940/1316830326923857940

When I press the Tab key to accept a suggestion, it doesn’t always work as expected. Instead of accepting the suggestion, it sometimes inserts a tab space, making the behavior inconsistent.
Occasionally, the suggestion box overlaps with the text I’ve already written, which creates confusion and makes it harder to edit my code effectively.

To reproduce

No response

Log output

No response

Metadata

Metadata

Labels

area:autocompleteRelates to the auto complete featureide:jetbrainsRelates specifically to JetBrains extensionkind:bugIndicates an unexpected problem or unintended behaviorpriority:highIndicates high prioritystale

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions