Is it possible to do programming in Cloud like we edit documents in Google Docs?
Yes, this type of SaaS is generally referred as a cloud IDE or cloud based IDE, which is short for Integrated Development Environment. In December 2013, ProgrammableWeb listed:
· 12 Cloud-Based IDEs Boost Productivity, ROI