I want to understand how sonarlint detects issue on the fly.Is it doing call to remote server or all rules are sitting locally in the ide

Hello @Vijay99,

Welcome to the community!

SonarLint always run analyses locally for on-the-fly detection. I realize that this might not be obvious in our documentation.

Hope this helped,
Damien