I would like to hint to you the respective documentation page explaining how the New Code period works. This should be very helpful to you.
To summarize tho: Firstly, Reference Branch is not supported inside the IDE - also stated in the docs - and secondly, the SonarQube On The Fly view is displaying the issues based on your configuration, but only if you have a supported New Code behaviour enabled on your server. The configuration means here the IDE configurations on the SonarQube settings pages.
Thanks for your reply . I went through the documents. I want to know that when we have ‘Reference branch’ new code setting on server then issues we see on IDE is based on overall code then ? It will not take in to account new code definitions hence ‘On the fly’ report will show all issues from previous months too ? Is my understanding correct ?
I’m not 100% sure (only a bit less, so maybe one of the delightful Sonar people can confirm or deny), but if I’m not mistaken, that when you have Reference Branch configured, in the IDE the SonarQube on The Fly view will show all issues, no matter the configuration, yes.