Press Ctrl + , in VS Code to open the settings. Search for "accept suggestion on commit character". Uncheck the box.