0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

VSCode / C言語のIntelliSenceの挙動がおかしい時

Last updated at Posted at 2023-08-24

Visual Studio Code で C言語ファイルを開いたときの IntelliSence の動作がおかしい時に試してみること。

C/C++言語サーバのキャッシュを削除してみる

C/C++言語サーバーのキャッシュが保存されているipchディレクトリを削除してみる。

Windowsの場合
%LocalAppData%\Microsoft\vscode-cpptools\ipch
Linuxの場合
$HOME/.cache/vscode-cpptools/ipch
MacOSの場合
$HOME/Library/Caches/vscode-cpptools/ipch

IntelliSenceデータベースを再作成(リセット)してみる

コマンドパレット(Ctrl+Shift+P)を開いて C/C++: Reset IntelliSense Database を実行

拡張機能の管理データベース

Windowsの場合
%APPDATA%\Code\User\workspaceStorage 配下の数字フォルダ群
Linuxの場合?
$HOME/.vscode-server/data/User/workspaceStorage 配下の数字フォルダ群
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?