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

Intermittent Copy/Paste Not Working and Extension Host Crashes in VSCode #3753

Open
3 tasks done
topolittle opened this issue Jan 17, 2025 · 0 comments
Open
3 tasks done
Assignees
Labels
area:autocomplete Relates to the auto complete feature ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior "needs-triage" priority:high Indicates high priority

Comments

@topolittle
Copy link

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
@dosubot dosubot bot added ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior area:autocomplete Relates to the auto complete feature priority:high Indicates high priority labels Jan 17, 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:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior "needs-triage" priority:high Indicates high priority
Projects
None yet
Development

No branches or pull requests

2 participants