Turn off autocomplete in PhpStorm

耗尽温柔 提交于 2019-12-29 08:32:21

问题


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 $?


回答1:


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.




回答2:


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.




回答3:


My auto-completion was not working, I had to execute in menu File->Invalidate cache... (and disable Nette tester plugin in my case)



来源:https://stackoverflow.com/questions/15959553/turn-off-autocomplete-in-phpstorm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!