On windows server 2012 we have installed Visual studio 2015 Enterprise Edition but unfortunately, I can't see the SharePoint 2010 project templates.
Can anyone help me out to get those templates? Thanks for your time.
As a quick solution, try running:
From the RUN window.
If that doesn't work, try downloading and installing Office Developer Tools. It should include VS templates for SharePoint.
Failing that, you may need to uninstall/reinstall or repair visual studio.