Settings file does not exist at settings.json

The first time to use sonarlint in the extension of visual studio2019 ,Some problems have occurred.
There is the first question:

Settings file does not exist at “C:\Users\admin\AppData\Roaming\SonarLint for Visual Studio\settings.json”.

Hi @GeorgeP, welcome to the community :wave:

settings.json is a settings file used to configure c/c++ rules in standalone mode. If you don’t have the file, the analysis will run with the default configuration. If you’re using connected mode, this file is ignored either way.

Have you by chance manually deleted it? We create it when SonarLint is installed, and you can re-create it by going to Tools -> Options -> SonarLint -> General -> Edit rules settings. This will automatically re-create the file and the message won’t appear anymore.