INSTRUCTION - How to fix chat and connection fault

it helps on half - connection sometimes fault but much less
chat start answering and speed will up - context window will be less occupied by dump

1 Fix

Delete Corsor and all copy VC

make bash
echo “WARNING: This command will attempt to permanently remove Visual Studio Code and all known data associated with it.”;
echo “This will attempt to close the application first.”;
read -p “Press Enter to continue or Ctrl+C to cancel…”;
osascript -e ‘quit app “Visual Studio Code”’;
sleep 2;
echo “Removing application (requires admin password)…”;
sudo rm -rf “/Applications/Visual Studio Code.app”;
echo “Removing application support data…”;
rm -rf ~/Library/Application\ Support/Code;
echo “Removing caches…”;
rm -rf ~/Library/Caches/com.microsoft.VSCode;
rm -rf ~/Library/Caches/com.microsoft.VSCode.ShipIt;
echo “Deleting preferences files…”;
rm -f ~/Library/Preferences/com.microsoft.VSCode.plist;
rm -f ~/Library/Preferences/com.microsoft.VSCode.helper.plist;
rm -f ~/Library/Preferences/ByHost/com.microsoft.VSCode.ShipIt..plist;
echo “Deleting saved application state…”;
rm -rf ~/Library/Saved\ Application\ State/com.microsoft.VSCode.savedState;
echo “Deleting logs…”;
rm -rf ~/Library/Logs/VSCode;
echo “Deleting from recent documents list…”;
rm -f ~/Library/Application\ Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.microsoft.vscode.sfl
;
echo “Deleting .vscode folder in home directory…”;
rm -rf ~/.vscode;
echo “Uninstalling ‘code’ command line utility (requires admin password)…”;
sudo rm -f /usr/local/bin/code;
echo “—”;
echo “Deletion of known VS Code files and folders completed.”;
echo “Make sure to EMPTY YOUR Trash Can for a complete uninstall.”;
echo “Note: If VS Code was installed to a non-standard location (not /Applications) or via a package manager (such as Homebrew), files may be left behind in other locations (/usr/local/Caskroom/, ~/Downloads/, etc.). Check these locations manually.”

install again

2 Set

make .vscodejson in project dir
for search, include and exclude (look to sample it covers the main unnecessary folders and remember its sample from my project!)

ask cursr to improve file in relation to the structure of your project, but remember it can include sensitive folders there!

Sample:

{
“search.followSymlinks”: false,
“files.exclude”: {
/node_modules/”: true,
/dist/”: true,
/build/”: true,
/.next/”: true,
/.git/objects/”: true,
/.git/subtree-cache/”: true,
/.cursor/”: true,
/.DS_Store": true,
"
/tmp/": true,
"
/folder name/": true,
},
“files.watcherExclude”: {
"
/node_modules/": true,
"
/dist/": true,
"
/build/": true,
"
/.next/": true,
"
/.git/objects/": true,
"
/.git/subtree-cache/": true,
"
/.cursor/": true,
"
/.DS_Store”: true,
/tmp/”: true,
/folder name/”: true,

},
“search.exclude”: {
/node_modules/”: true,
/dist/”: true,
/build/”: true,
/.next/”: true,
/.git/objects/”: true,
/.git/subtree-cache/”: true,
/.cursor/”: true,
/.DS_Store": true,
"
/tmp/": true,
"
/folder name/**”: true,

}
}

3 Set

  • switch off HTTP/2 in vs code settings

I have similar issue, its not working. I reinstalled by removing all cursor directories and still nothing worked

Need clean all VS Code files