Skip to content

Bug: PhpStorm IDE plugin does not trigger the autocompletion unless at root indentation level #11311

@e-ops-pf

Description

@e-ops-pf

Before submitting your bug report

Relevant environment info

- OS: Debian 13
- Continue version: Continue Plugin 1.0.60
- IDE version: PhpStorm 2025.3.2
- Model: Any models
- config:
  
name: Local Config
version: 1.0.0
schema: v1

models:
  - name: Qwen coder
    provider: ollama
    model: qwen2.5-coder:7b
    roles:
      - chat
      - autocomplete
      - edit
      - apply
    defaultCompletionOptions:
      maxToken: 2048
    autocompleteOptions:
      debounceDelay: 250
      modelTimeout: 25000
      maxPromptTokens: 8192
      template: "<|fim_prefix|>{{prefix}}<|fim_suffix|>{{suffix}}<|fim_middle|>"
      transform: false
      useRecentlyEdited: true

  
  OR link to agent in Continue hub:

Description

When using the IDE extension, code is generated as long as the base indentation of the line is 0 (or root), or if the cursor is positioned at an indentation of 0.

As long as there is at least one level of indentation for the standalone cursor, or the line on which it is placed, the completion does not trigger.

I've tailed .continue/logs/prompt/log, and it's not an error with the prompt, it's just that no prompt is generated in the first place. No error is raised either. It's just like the autocompletion was never triggered by the plugin itself.

For the record, I did deactivate any extensions with autocompletion features, and verified that the tab autocomplete option was activated in ContinueDev Plugin settings.

To reproduce

  1. Install PhpStorm + ContinueDev Plugin
  2. Install any model with 'autocomplete' role
  3. Try the autocompletion feature in anyfile. It works when indentation is null, but otherwise not.

Log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:autocompleteRelates to the auto complete featureide:jetbrainsRelates specifically to JetBrains extensionkind:bugIndicates an unexpected problem or unintended behavioros:linuxHappening specifically on Linux

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions