So do you see MS leaving the OS market altogether and go solely into IDEs?
Building development systems, yes. This has been the general analysis expectation of MS for years. OSes have never been their strong suit. Their strength has always been development tools and applications. They started as a BASIC programming company before they bought their first OS to sell. They didn't even make an OS of their own for over a decade. Their DOS/Windows era was an OS they bought and resold with, eventually, their own graphical environment on top. Windows NT 3.1 was their first fully in house OS, and that was even partially done by IBM.