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.