'vscode remembers selected cmake kit of deleted folder

So if I make a completely new folder, open it in vscode, and run 'cmake configure' for the first time - the cmake extension asks me to select a kit. Note how this happens only on the first time 'cmake configure' is run.

Here is what's weird: If I close vscode, delete the folder (and all of it's content), re-create this folder, re-open it with vscode and run 'cmake configure' again - this time I am not asked to select a kit for cmake.

I would expect that anything related to the workspace of this new directory will be stored within that directory, so when I delete the folder - any hidden files used by vscode to remember things like selected kits should be deleted. This is obviously not the case... So how does vscode remember things like selected cmake kits for certain workspaces?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source