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