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

Can't disable autocomplete on *.txt files #4311

Open
3 tasks done
kiav opened this issue Feb 23, 2025 · 0 comments
Open
3 tasks done

Can't disable autocomplete on *.txt files #4311

kiav opened this issue Feb 23, 2025 · 0 comments
Assignees
Labels
area:autocomplete Relates to the auto complete feature ide:jetbrains Relates specifically to JetBrains extension kind:bug Indicates an unexpected problem or unintended behavior "needs-triage"

Comments

@kiav
Copy link

kiav commented Feb 23, 2025

Before submitting your bug report

Relevant environment info

- OS: ALT Workstation K 10.4
- Continue version: 0.0.91
- IDE version: PhpStorm 2023.1.6 (Build #PS-231.9423.7)
- Model: deepseek-coder:1.3b
- config:
  
{
  "models": [
    {
	"title": "deepseek-coder 1.3",
	"provider": "ollama",
	"model": "deepseek-coder:1.3b",
	"contextLength": 16384
    },
    {
      "title": "deepseek-coder 6.7",
      "provider": "ollama",
      "model": "deepseek-coder:6.7b",
      "contextLength": 16384
    },
    {
      "title": "Codestral-22B-v0.1",
      "provider": "ollama",
      "model": "codestral:22b",
      "contextLength": 32768
    },
    {
      "title": "deepseek-coder 33",
      "provider": "ollama",
      "model": "deepseek-coder:33b",
      "contextLength": 16384
    },
    {
      "title": "deepseek-coder-2 16",
      "provider": "ollama",
      "model": "deepseek-coder-v2:16b",
      "contextLength": 163840
    }
  ],
  "tabAutocompleteModel": {
    "title": "deepseek-coder 1.3",
    "provider": "ollama",
    "model": "deepseek-coder:1.3b",
    "contextLength": 16384
  },
  "embeddingsProvider": {
    "title": "nomic-embed-text",
    "provider": "ollama",
    "model": "nomic-embed-text"
  },
  "contextProviders": [
    {
      "name": "file",
      "params": {}
    },
    {
      "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"
    }
  ],
  "docs": [
    {
      "startUrl": "https://dev.1c-bitrix.ru/api_d7/",
      "title": "Bitrix D7",
      "faviconUrl": ""
    }
  ]
}

Description

When I enter text in a text file (.txt), the input sometimes freezes. In the top, I see a high load of the continue process. ollama ps also shows that the deepseek-coder:1.3b model has been launched.

I can see that the plugin is going where it shouldn't be because the file is large in size. Therefore, operations are performed for a long time and are noticeable to the eye.

To reproduce

  1. Disable autocomplete in files: *.txt, *.http, *.xml in the plugins GUI.
  2. Restart IDE.
  3. In PhpStorm, open a text file. In my case, this is docs/my-work.txt This file is 490369 bytes long. It describes my actions on the project over several years.
  4. Start entering new text in it.
  5. After entering a few words, the IDE freezes (you won't see any new characters being entered).

Log output

~/.continue/logs/core.log does not contain new entries on the situation.

~/.cache/JetBrains/PhpStorm2023.1/log/idea.log contain just:

2025-02-23 22:22:45,484 [1239107]   FINE - #c.i.e.c.GeneralCommandLine - Executing [/home/kiav/bin/hg --repository /home/kiav/src/repo --config extensions.mq= --config ui.merge=internal:merge status --added --modified --removed --deleted --unknown --copies "docs/my-work.txt" --encoding UTF-8]
2025-02-23 22:22:45,485 [1239108]   FINE - #c.i.e.c.GeneralCommandLine -   working dir: /home/kiav/src/repo
2025-02-23 22:22:45,485 [1239108]   FINE - #c.i.e.c.GeneralCommandLine -   environment: {LC_ALL=>en_US.UTF-8, LANGUAGE=>} (+CONSOLE)
2025-02-23 22:22:45,485 [1239108]   FINE - #c.i.e.c.GeneralCommandLine -   charset: UTF-8
2025-02-23 22:22:45,485 [1239108]   FINE - #c.i.e.c.GeneralCommandLine - Building process with commands: [/home/kiav/bin/hg, --repository, /home/kiav/src/repo, --config, extensions.mq=, --config, ui.merge=internal:merge, status, --added, --modified, --removed, --deleted, --unknown, --copies, docs/my-work.txt, --encoding, UTF-8]
@dosubot dosubot bot added area:autocomplete Relates to the auto complete feature ide:jetbrains Relates specifically to JetBrains extension kind:bug Indicates an unexpected problem or unintended behavior labels Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:autocomplete Relates to the auto complete feature ide:jetbrains Relates specifically to JetBrains extension kind:bug Indicates an unexpected problem or unintended behavior "needs-triage"
Projects
None yet
Development

No branches or pull requests

2 participants