Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Extra brackets automatically added during AI autocompletion with Continue.dev extension

オープン
#7,397 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
debian, java, typescript

調査の方向性

Robertor.java の Codestral 設定を使って Continue.dev で問題を再現し、その後、ネイティブの VS Code または GitHub Codespaces とコード補完の挿入を比較します。まず、レポートで言及されている ghost-view のテキスト挿入エントリポイントを追跡します。オートコンプリートを受け入れても余分な括弧が追加されなくなれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug triage
Is there an existing issue for this?
  • I have searched the existing issues
OS/Web Information
  • Web Browser: Chrome
  • Remote OS: Debain 12
  • code-server --version: 1.101.2
Steps to Reproduce

Step 1: Install Continue.dev

Install the Continue.dev extension in your IDE.

Step 2: Configure Continue with Codestral Free API

Configure Continue to use the Codestral free API key for autocomplete functionality.

Example Configuration
name: Local Assistant
version: 1.0.0
schema: v1
models:
  - name: Codestral
    provider: mistral
    model: codestral-latest
    apiKey: XXXXXXXXXXXXXXXXXXXXXXXXXX
    roles:
      - autocomplete
      - chat
      - edit
      - apply
context:
  - provider: code
  - provider: docs
  - provider: diff
  - provider: terminal
  - provider: problems
  - provider: folder
  - provider: codebase

Step 3: Enable Auto-complete

Enable the auto-complete feature in Continue.dev settings.

Step 4: Create Test File

Create a new file named Robertor.java and add the following comment:

// a java swing programm that takes an input X number and display a circle with the radius of X

Step 5: Test Autocomplete

  1. Move to the next line by pressing Enter
  2. Accept suggestions using the Tab key

Issue: Extra Bracket Appears

An extra bracket appears during autocomplete, as demonstrated in the capture video.

https://github.com/user-attachments/assets/2f9fb6a3-a250-493b-a956-b6383cf01217

Expected

No extra bracket like in openvscode-server or codespaces :

https://github.com/user-attachments/assets/8e67a3b5-118f-4f26-81d8-d0e11c4f486b

Actual

I dont know but code completion appearing in continue console doesnt'have bracket .
That means that the issue is during insertion in the ghost view text , something is auto adding brackets.

Logs

Screenshot/Video

On code-server , extra bracket :

https://github.com/user-attachments/assets/2f9fb6a3-a250-493b-a956-b6383cf01217

Working example on codespace :

https://github.com/user-attachments/assets/aadf4d89-d307-4e96-b304-ed4461a8c5d2

Does this bug reproduce in native VS Code?

No, this works as expected in native VS Code

Does this bug reproduce in GitHub Codespaces?

No, this works as expected in GitHub Codespaces

Are you accessing code-server over a secure context?
  • I am using a secure context.
Notes

No response

主要言語
TypeScript
スター
79.4k
フォーク
6.9k
平均マージ
2日 13時間
マージ済み PR(30日)
39

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

coder/code-server のほかの issue

coder/code-server の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。