Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Turn off autocomplete in PhpStorm

Right now if I type in $ into Jetbrains PhpStorm IDE, it will display a whole bunch of suggestions (e.g. variables that have already been declared) which slows down my typing.

Is there a way to configure PhpStorm to NOT do this? In other words, turn off auto-complete or only do auto-complete if I press Ctrl+Space and not when I just type in $?

like image 814
pillarOfLight Avatar asked Apr 11 '13 21:04

pillarOfLight


2 Answers

This is more an answer to the linked "duplicate" question, but I can't answer that one. Hope this helps someone.

To disable HTML auto-completion, see Settings -> Editor -> General -> Smart Keys.

There is a section called XML/HTML where you can toggle auto-completion of HTML tags and attributes.

In my case I was looking to disable Auto close tags when typing '</' option.

like image 81
escapisam Avatar answered Oct 08 '22 11:10

escapisam


Disable code completion?

See Settings/Preferences(depends on OS) - IDE Settings - Editor - Code Completion

There you should find an option Autopopup code completion in (ms)

If the check box is not selected, PhpStorm will not suggest code completion automatically.

See also the online help.

like image 21
Arjan Avatar answered Oct 08 '22 13:10

Arjan