C++ Autocomplete is slow on VSCode for mac development environment

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

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

評価

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

調査の方向性

まず、C/C++ 拡張機能を使用した macOS 上のクリーンな VS Code インストールで問題を再現し、その後、自動補完と記載されている editor.wordBasedSuggestions および C_Cpp.autocomplete の設定を比較します。調査する前に、関連する issue 572 と 574 を読んでください。自動 C++ 補完が workaround なしで動作し、色と型のヒントが維持されれば完了です。

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

説明

Feature: Auto-complete investigate: repro Language Service performance

Auto complete is not automatically turned on for C++ on VSCode. I have a clean VSCode and this extension installed. I can force auto complete to happen by typing Ctrl+space.

My setting contains this:
"editor.quickSuggestions": true.

I googled it. It turns out that we had several related issues:
https://github.com/microsoft/vscode-cpptools/issues/572
https://github.com/microsoft/vscode-cpptools/issues/574

I followed their way, and it turns out that this solves the problem:
"editor.wordBasedSuggestions": true,
"[c]": {
"editor.wordBasedSuggestions": true
},
"[cpp]": {
"editor.wordBasedSuggestions": true
},
"C_Cpp.autocomplete": "Disabled"

Now auto-complete is on, however, there is no color and type hint on the auto-complete, it is just plain English.

Those two previous issues linked here are from years ago. Is there a plan to solve the problem? Want to open this bug to track this.

主要言語
TypeScript
スター
6.2k
フォーク
1.7k
平均マージ
14時間 46分
マージ済み PR(30日)
61

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

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

はじめの一歩

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

microsoft/vscode-cpptools のほかの issue

microsoft/vscode-cpptools の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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