kapreski
kapreski

Reputation: 771

How to Disable the Insertion of semicolon in PhpStorm Upon Code Completion

When writing a CSS property the code-completion feature of PhpStorm automatically inserts a semicolon at the end of the line. I find that annoying when I map grid areas and other long-value properties..

Is there an option to prevent code-completion from auto inserting that semicolon?

Upvotes: 2

Views: 1111

Answers (1)

HTDutchy
HTDutchy

Reputation: 1130

Try changing the Live Template settings (Editor > Live Templates) and open the 'Zen CSS' section.
For each abbreviation there is a template text,
here you can remove the semicolons for the abbreviations you have this issue with.

As far as I know there is no blanket option to remove all semicolons in the live templates build in.
Also, as far as I can see Zen CSS templates are used for regular CSS files but I have no idea if Zen CSS is just regular CSS or a specific language/style.

Upvotes: 1

Related Questions