Skip to content

Code auto completion does not work in IntelliJ Community Edition #1466

Closed

Description

@sh-TU

Before submitting your bug report

Relevant environment info

- OS: Windows 10
- Continue: 0.0.50
- IDE: IntelliJ Community Edition 2024.1.2
- Model Provider: llama.cpp
- Model: starcoder2-3b

Description

The tab auto completion does not work in IntelliJ Community Edition. However, the chat works fine and was able to produce response. The ~/.continue/core.log file doesn't show any errors too.

To reproduce

  1. Install continue.dev from the marketplace in your intelliJ
  2. Proceed with the setup
  3. Set provider to llama.cpp
  4. Set model to starcoder2-3b
  5. Set apiBase to the llama.cpp server

Screenshot below shows the chat is working fine.
image

Screenshot below shows that the autocompletion does not work with intelliJ (left) while in vscode (right) works
image

Log output

No response

Activity

  1. sestinj commented on Jun 12, 2024

    @sestinj
    Contributor

    @sh-TU have you checked the box in settings for "Enable Tab Autocomplete"? I understand that this isn't super obvious, so in the next version it will be the default for anyone who downloads

    https://docs.continue.dev/walkthroughs/tab-autocomplete#im-not-seeing-any-completions

  2. bjester commented on Jun 12, 2024

    @bjester

    @sh-TU have you checked the box in settings for "Enable Tab Autocomplete"? I understand that this isn't super obvious, so in the next version it will be the default for anyone who downloads

    https://docs.continue.dev/walkthroughs/tab-autocomplete#im-not-seeing-any-completions

    This caught me, as I assumed the tabAutocompleteOptions.disable = false would be sufficient until I checked the IDE settings for Continue. Autocomplete is now working

  3. timbit123 commented on Jun 12, 2024

    @timbit123

    I have the same issue in
    phpstorm 2024.1.3
    continue 0.0.50
    I do see the gpu working but nothing is showing up
    also there is an error showing up
    image
    but I do have git working and configured in the settings
    and vscode is working fine

  4. sestinj commented on Jun 13, 2024

    @sestinj
    Contributor

    @bjester very good to know! Already made the change for the next release where it will be default on

  5. sestinj commented on Jun 13, 2024

    @sestinj
    Contributor

    @timbit123 Do you have git installed in wsl?

    This is an error that I can solve separately, but in the meantime that is the workaround it looks like

  6. timbit123 commented on Jun 13, 2024

    @timbit123

    I do have git installed in wsl and windows and also configured in phpstorm

  7. sh-TU commented on Jun 13, 2024

    @sh-TU
    Author

    @sestinj i didn't. I thought the tabAutocompleteOptions.disable = false is sufficient as well. Enabling that works now. Thank you
    image

  8. timbit123 commented on Jun 13, 2024

    @timbit123

    @sestinj do you want me to create a ticket separately?

  9. LeoLiuYan commented on Jun 16, 2024

    @LeoLiuYan

    @sestinj HI, why the IDEA version does not have the right-click function item?

  10. sestinj commented on Jun 17, 2024

    @sestinj
    Contributor

    @timbit123 Yes that would be helpful, thank you

  11. sestinj commented on Jun 17, 2024

    @sestinj
    Contributor

    @LeoLiuYan What do you mean by this?

  12. sheekhajain-TU commented on Jul 8, 2024

    @sheekhajain-TU

    @sestinj i didn't. I thought the tabAutocompleteOptions.disable = false is sufficient as well. Enabling that works now. Thank you image

    Hi @sestinj .. Esh and I are from the same team. After auto completion code issue was resolved, we started using it using Java Technology on IntelliJ Community edition and bumped into some other issues.

    Please find the list of issues that are encountered after integrating the tool with IntelliJ-

    1. The code suggestion/completion is quite slow. And most of the time, it provides irrelevant suggestions.
      image

    image

    1. After sometime of usage,

    i. slowness is observed in IDE.

    ii. It stops taking some basic commands also like CTRL+A, navigation from feature file to stepDefinitions using a click.

    1. Due to this performance issue, suggestions are getting duplicated

    image

    1. Multiple IDE errors are thrown.Example-

    image

    We need to restart the IDE multiple times due to above mentioned issues.

    Request you to look into these issues and help us with the resolution.

  13. added
    area:autocomplete
    on Jul 8, 2024
  14. 11 remaining items

  15. chairbender commented on Dec 18, 2024

    @chairbender

    PHPStorm I'm seeing auto completions (using codeqwen 2.5), but accepting them with tab seems really buggy. A lot of time it won't accept, and it'll just indent. Other LLM completion plugins work like copilot, codeium, etc. I have all of those disabled.

    PHPStorm 2024.2.4, Mac 15.0.1 (24A348) (M1)

    Same issue in IntelliJ with Codestral model. It pretty much always just indents when I press tab even though I can see a completion being suggested and basically never inserts the completion. Same works just fine with Copilot (which I have disabled as I am trying out Continue).

  16. facelezzzz commented on Dec 19, 2024

    @facelezzzz

    This issue might be fixed by #3149, which discovered that the Tab key sometimes only indents instead of completing.
    @danjdewhurst @chairbender

  17. zhuravishkin commented on Dec 23, 2024

    @zhuravishkin

    Hello everyone! In my case, I found that the Continue plugin conflicts with the SonarQube plugin. As soon as I disable the SonarQube plugin, Tab starts working for autocompletion. I couldn’t configure the two plugins to work together (reassigning keys didn’t help)

  18. Patrick-Erichsen commented on Jan 8, 2025

    @Patrick-Erichsen
    Contributor

    @zhuravishkin great find! Was the issue you were having with Continue specifically that hitting tab was inserting a space rather than accepting the suggestion?

  19. HenriqueMendesCoelho commented on Jan 8, 2025

    @HenriqueMendesCoelho

    I’m also experiencing issues with autocomplete in IntelliJ. When accepting suggestions, spaces are inserted instead of applying the suggestion. I also have the SonarQube plugin installed.

  20. added
    priority:high
    on Jan 15, 2025
  21. philipp-paland commented on Feb 2, 2025

    @philipp-paland

    It seems that you don't have to completely disable the SonarQube plugin, it's enough to disable

    Settings -> Tools -> SonarQube for IDE -> Automatically trigger analysis

    This way you can at least run the sonar analysis manually.

  22. Patrick-Erichsen commented on Feb 8, 2025

    @Patrick-Erichsen
    Contributor

    Hello all - @RomneyDa has fixed this! #4022

    The change will be included in the upcoming 0.0.88 release going out tonight. Please follow up in this thread if you're still having issues once you've installed the new version.

  23. michabbb commented on Feb 10, 2025

    @michabbb

    @Patrick-Erichsen please take note that the 0.0.88 is not working (for me): #3691 (comment)

  24. zhuravishkin commented on Feb 11, 2025

    @zhuravishkin

    Hi! For me, autocomplete started working (Continue 0.0.88, SonarCube 10.16.1.80464, Intellij Idea 2024.3.2.2). But there is a high level of RAM usage

  25. Patrick-Erichsen commented on Feb 11, 2025

    @Patrick-Erichsen
    Contributor

    Thanks for the heads up on RAM usage @zhuravishkin , this is a broader issue with our indexing that we're working.

  26. Patrick-Erichsen commented on May 6, 2025

    @Patrick-Erichsen
    Contributor

    Closing this out, but if other folks run into the issue feel free to comment and re-open.

  27. juemur commented on Nov 17, 2025

    @juemur

    Hello all - facing the same issue on pycharm with local ollama. "Enable tab autocomplete" option is enabled and don't have SonarQube installed.

    Is this still a known issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:autocompleteide:jetbrainskind:bugpriority:high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions