zch zch - 4 years ago 130
Javascript Question

webstorm, close the error code not written colon

In the webStorm.

I do not want to write the semicolon at the end, how to turn off the error ?

Answer Source

File > Settings > Editor > Inspections > JavaScript > Code Style Issues > uncheck 'Unterminated statement'.

You'll have to restart WebStorm.

You can also do this in 'Default Settings' so this applies to any future projects.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download