IDE-1414 add function which be able to select server mode
1,remove the auto deploy folder field
2,add function which be able to select server mode
IDE-1414 source formatting
IDE-1447 Added missing  macro
IDE-1425 Reviewed UX and added 2 actions instead of just one