continuedev / continuedev/continue

Intermittent Copy/Paste Not Working and Extension Host Crashes in VSCode [specifically for `.sh` files]

Open
#3,753 77 comments 9 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

area:autocomplete ide:vscode kind:bug os:linux priority:high released
Dominant language
TypeScript
Stars
36k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Before submitting your bug report
Relevant environment info
- VSCode: 1.96.3
- Continue: 0.8.66
- OS: Fedora 41 (x11)
- Ollama: 0.5.4
- Model: qwen2.5-coder:7b-instruct-q5_K_S
- NVIDIA Drivers: 565.77
- CUDA: 12.6.85
- Other Enabled Extensions: Bash Debug, Bash IDE, ShellCheck

{
  "models": [
    {
      "title": "Qwen2.5-Coder 7b Chat",
      "provider": "ollama",
      "model": "qwen2.5-coder:7b-instruct-q5_K_S"
    }
  ],
  "tabAutocompleteModel": {
    "title": "Qwen2.5-Coder 7b Autocomplete",
    "provider": "ollama",
    "model": "qwen2.5-coder:7b-instruct-q5_K_S"
  },
  "useLegacyCompletionsEndpoint": false,
  "completionOptions": {
    "keepAlive": 900,
    "maxTokens": 2048
  },
    "contextProviders": [
    {
      "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"
    }
  ]
}
Description

After using the Continue VSCode extension for a few minutes, the Copy/Paste functionality stops working. Additionally, when this happens, the ShellCheck extension begins displaying false syntax errors.

I primarily use the Continue extension for tab auto-completion in shell scripts.

Troubleshooting Steps Tried (No Success):

  • Updated the OS to the latest version.
  • Disabled all extensions except Continue
  • Disabled the code indexing
  • Updated VSCode to the latest version.
  • Switched to the pre-release version of the Continue extension.
  • Tested previous versions of the extension (0.8.65, 0.8.63, 0.8.61).

Unfortunately, the issue is so disruptive that I’ve had to disable the Continue extension entirely. When the extension is disabled, VSCode works perfectly, and I encounter no issues.

Is’t so annoying that I have to stop using the extension. With the Continue extension disabled, VSCode is working fine and I don’t experience any issues.

Note that this occurs only when actively using the extension (e.g.: editing a file). The problem doesn't occurs by itself when VSCode is left open overnight.

To reproduce
  1. Enable and configure the extension in VSCode for tab autocomplete and normal model
  2. Edit a shell script (.sh)
  3. After a few minutes of active editing, copy and paste become unresponsive
Log output
**Window:*
[info] Extension host (LocalProcess pid: 336281) is unresponsive.
[info] UNRESPONSIVE extension host: starting to profile NOW
[error] Error: Aborted onWillSaveTextDocument-event after 1750ms

**Extension Host:**
[error] TypeError: Cannot read properties of undefined (reading 'apply')
	at e4.<computed> (/home/sgilbert/.vscode/extensions/continue.continue-0.8.66-linux-x64/out/extension.js:109650:63)
	at wasm://wasm/0055765a:wasm-function[15]:0x29b5
	at wasm://wasm/000b54aa:wasm-function[234]:0x25635

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.