i suggest you all to use samsung side sync.
it directly connects your samsung phone screen to ur PC you can can do everything just by using touchpad and keyboard keyboard of ur pc . u dont need to touch ur mobile phone phone .
u can connect by using otg cable as well as by wifi(internet required in this case).
Also I believe the goal or one of the goals of an app such as this is to help programmers get used to coding on the go and overcoming some of the conditions we have become used to on the PC based IDEs such as auto complete,auto indentation and the likes,it makes you conscious of your code aswell as learning and understanding the errors produced during runtime better.
Also it helps to build an attitude of coding anywhere and utilizing the time we might usually not notice is getting wasted while on the bus or on the subway waiting for a train or stuff like that