Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin for IDEA generates errors on every key press #3721

Open
3 tasks done
mak-42 opened this issue Jan 14, 2025 · 6 comments
Open
3 tasks done

Plugin for IDEA generates errors on every key press #3721

mak-42 opened this issue Jan 14, 2025 · 6 comments
Assignees
Labels
ide:jetbrains Relates specifically to JetBrains extension kind:bug Indicates an unexpected problem or unintended behavior priority:highest Indicates the highest possible priority

Comments

@mak-42
Copy link

mak-42 commented Jan 14, 2025

Before submitting your bug report

Relevant environment info

- OS: Windows 10
- Continue version: v0.0.83-jetbrains
- IDE version: IntelliJ IDEA 2024.3
- Model: Qwen 2.5 Coder
- config.json:
  
  "models": [
    {
      "title": "Qwen v2.5 Coder",
      "provider": "ollama",
      "model": "qwen2.5-coder:14b",
      "apiBase": "http://localhost:11434"
    }
  ],
  "tabAutocompleteModel": {
    "title": "Qwen 2.5 Coder",
    "provider": "ollama",
    "model": "qwen2.5-coder:14b",
    "apiBase": "http://localhost:11434"
  },
  "tabAutocompleteOptions": {
    "multilineCompletions": "always",
    "useCache": false
  },
  "contextProviders": [
    {
      "name": "code",
      "params": {}
    },
    {
      "name": "docs",
      "params": {}
    },
    {
      "name": "diff",
      "params": {}
    },
    {
      "name": "terminal",
      "params": {}
    },
    {
      "name": "problems",
      "params": {}
    },
    {
      "name": "folder",
      "params": {}
    },
    {
      "name": "codebase",
      "params": {}
    }
  ],
  "slashCommands": [
    {
      "name": "edit",
      "description": "Edit selected code"
    },
    {
      "name": "comment",
      "description": "Write comments for the selected code"
    },
    {
      "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"
    }
  ],
  "allowAnonymousTelemetry": false,
  "embeddingsProvider": {
    "provider": "transformers.js"
  },
  "docs": []
}

Description

After updating plugin for IDEA from version 0.0.75 to 0.0.83 it generates new notification like this on every key press in any file editor, which modifies text:

Error handling message of type getDiff: java.io.IOException: Cannot run program "git" (in directory "D:\work\test\branch3\Test Branch3.iml"): CreateProcess error=267, The directory name is invalid

It looks very suspicious, because "Test Branch3.iml" is a IDEA module settings file, which was opened.

It stops generating the warnings after downgrading plugin to version 0.0.75.
I tries to upgrade plugin to version 0.0.85, but the plugin completely hangs IDEA (i thing because of #3709)

To reproduce

No response

Log output

No response

@dosubot dosubot bot added ide:jetbrains Relates specifically to JetBrains extension kind:bug Indicates an unexpected problem or unintended behavior priority:highest Indicates the highest possible priority labels Jan 14, 2025
@AfterStories
Copy link

Maybe the same issue
#3709

@that-guy-scott
Copy link

It completely locks up my editor as soon as I type anything. I have to go into task manager and kill the process.

@AfterStories
Copy link

@that-guy-scott I'm the same as you. Intellij is completely crashed

@mak-42
Copy link
Author

mak-42 commented Jan 14, 2025

Maybe the same issue #3709

It might be, but it most likely has a same cause with #3454. The behavior looks familiar, but I don't use WSL for git (use Git for Windows).

@tomasz-stefaniak
Copy link
Collaborator

As also described here, we are currently working on a fix and on improving our testing pipeline to not let a bug like this to slip through the cracks again!

@Patrick-Erichsen
Copy link
Collaborator

Hi all, #3726 should resolve the issue. A recent change that attempted to resolve a latency issue with autocomplete logic had caused an unintended block on the main Event Dispatch Thread (EDT) in JetBrains.

We will publish 0.0.86 tonight with this fix, and are spending time this week polishing our CI/CD around JetBrains across Windows, Linux, and macOS as @tomasz-stefaniak outlined 👍

Improving stability of JB is high on our priority list going forwards based on this event and other regressions over the past month or two. Appreciate everyone's patience as we move towards that goal!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ide:jetbrains Relates specifically to JetBrains extension kind:bug Indicates an unexpected problem or unintended behavior priority:highest Indicates the highest possible priority
Projects
None yet
Development

No branches or pull requests

6 participants