-->

How to disable autocompletion for quotation marks

2020-08-09 08:23发布

问题:

I'm new to PhpStorm and I'm loving it, but can't find how to disable the autocompletion of double quotation marks when I write HTML tags' attributes. I'm used to not put them and it's very annoying for me.

回答1:

In PhpStorm v7.0 it is not possible.

But it is fixed for v7.1 -- http://youtrack.jetbrains.com/issue/IDEA-113332

Option "Automatically add quotes for attribute value" added to IDE "Settings | Editor | Smart Keys".

Either wait for v7.1 to be released .. or try EAP build.



回答2:

Note that the setting has in versions > 7.1 been moved to: Settings -> Editor -> General -> "Smart Keys".

Here you can disable them from being added after attributes equal sign. You can also disable them so they don't automatically close.