噼里啪啦
噼里啪啦

Reputation: 31

Disable PyCharm auto-complete when space is pressed

When edit html file in pycharm, it always auto-complete <></> even if i don’t need.

For example: I want type

Learning Log

but as long as i type writespace, it will become

<Learning></Learning>

I searched in the internet but there’s no same issue yet. Is there anyone know how to disabled it? Thanks a lot!

Upvotes: 3

Views: 651

Answers (2)

Zitoun
Zitoun

Reputation: 720

I found the option!

Got to Settings > Editor > General > Code completion

You see the box Show suggestions as you type?

Right bellow you want to uncheck Insert selected suggestion by pressing space, dot, or other context-dependent keys

enter image description here

It was driving me crazy.

Upvotes: 5

Aayush
Aayush

Reputation: 165

I had a similar issue in 2020.

I looked everywhere but did not find any setting related to this (maybe I missed something).

But I fixed it by Restoring Default Setting. I think it was due to some plugins I installed but could not figure out which one. So, I just Restored the default setting.

File > Manage IDE Settings > Restore Default Settings...

This will set your IDE to the vanilla IDE.

Upvotes: 0

Related Questions