Sign in
Log inSign up

Is there any tool available that will automatically comment out (and uncomment) certain statements in code?

Ipseeta Priyadarshini's photo
Ipseeta Priyadarshini
·Jul 25, 2016

I have a form which has UI validations. But sometimes I need to bypass UI validation and enable server side validation. For that I have to manually comment and uncomment certain pieces of code, which becomes very tedious. Is there any tool available that can automate this task? The ideal tool would help me run a single command in terminal and it should get the job done.