Skip to content

VSCode-Cpptools/ipch/folders. should i delete them? or are they necessary everytime i use it? #10637

Answered by bobbrow
Keanu-Type asked this question in Q&A

You must be logged in to vote

All of the files we create can be safely deleted. They are caches that exist to make IntelliSense features faster. If we look for them and they are gone we will simply re-create them.

Any given workspace can override where our databases and IntelliSense caches (ipch) are written to, but in the absence of such an override, they will go here:
Windows - %localappdata%/Microsoft/vscode-cpptools
macOS - ~/Library/Caches/vscode-cpptools
Linux - $XDG_CACHE_HOME/vscode-cpptools or ~/.cache/vscode-cpptools if the env variable does not exist

Reference:

export function getCacheStoragePath(): string {
let defaultCa…

Replies: 8 comments 20 replies

You must be logged in to vote
1 reply
@Keanu-Type

You must be logged in to vote
0 replies

You must be logged in to vote
1 reply
@bobbrow

Answer selected by bobbrow

You must be logged in to vote
11 replies
@bobbrow

@bobbrow

@bobbrow

@HIllya51

@sean-mcmanus

You must be logged in to vote
3 replies
@bobbrow

@bobbrow

@bobbrow

You must be logged in to vote
3 replies
@bobbrow

@bobbrow

@mimeau

You must be logged in to vote
0 replies

You must be logged in to vote
1 reply
@tomachinz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet