HTML autocomplete brackets instead of quotes

Answered

Hello,

 

I just upgraded my copy of PyCharm. Now, whenever I insert HTML code, it is autocompleting with brackets ({}) instead of quotes ("").

 

For example, if I type <div class= it will add in a pair of brackets, not quotes like it did before the update.

Is there a way to change this?

1
7 comments

Hi Dtn31! Which PyCharm version are you using? Could you please create a ticket in our bug tracker and attach there your settings from File | Export Settings?

0
Avatar
Permanently deleted user

PyCharm 2017.2.3
Build #PY-172.3968.37, built on September 1, 2017
Licensed to Dustin Neighly
Subscription is active until August 27, 2018
For educational use only.
JRE: 1.8.0_152-release-915-b11 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.13

 

I will create a bug ticket now.

0
Avatar
Permanently deleted user

I am having the same issue with IntelliJ. I tried uninstalling IntelliJ all together, deleting old config, and it worked correctly with quotes for about a week. Now it is using brackets again. Not sure what is causing it.

0
Avatar
Permanently deleted user

Best option I can find for now is to disable Add quotes for attribute value on typing '=' and attribute completion in File | Settings | Editor | General | Smart Keys

If I disable quotes in File | Settings | Editor | Code Style | HTML | Generated quote marks it makes no difference, the brackets still show up.

0
Avatar
Permanently deleted user

I just noticed something else if I start to type something like `<div cla` and I select "class" from the dropdown auto suggestions when it adds class to the html element it does use double quotes correctly. However, if I type out the entire word "class" and add the "=" then it adds "{}" after it.

0
Avatar
Permanently deleted user

I can't find that issue on youtrack.jetbrains.com, can someone link it here? I'm using Webstorm and having this issue from few days.

0

Please sign in to leave a comment.