nvlad / yii2support

Yii2 Support for PhpStorm / IntelliJ IDEA
https://plugins.jetbrains.com/idea/plugin/9388-yii2-support
Other
295 stars 54 forks source link

IDE hanging while filling class in config #240

Closed BetsuNo closed 4 years ago

BetsuNo commented 4 years ago

What steps will reproduce the problem?

In any Yii2 config file on attempt to fill 'class' value as MyClass::class (not as string) when the class suggestion popup shows.

What is the expected result?

Something like 'class' => MyClass::class,

What do you get instead?

IDE hangs and all unsaved data disappear

Additional info

Q A
IDE Name PhpStorm
IDE Version 2019.3
Plugin version 0.10.57.23
Yii App Template any

In any othe context I have no problems with the class suggestions. Also there is no problem when plugin is disabled.

slo-nik commented 4 years ago

Такая же проблема. При попытке написать имя класса как 'class' => NameClass::class PHPStorm зависает намертво, убить можно только через консоль.

gergerichii commented 4 years ago

Подтверждаю image Тут, при наборе буквы "Е" после "=>" тоже вис намертво. Пришлось отключить плагин чтобы продолжить.

slo-nik commented 4 years ago

Подтверждаю image Тут, при наборе буквы "Е" после "=>" тоже вис намертво. Пришлось отключить плагин чтобы продолжить.

Решение тут https://github.com/nvlad/yii2support/issues/239#issuecomment-563465859

DBX12 commented 4 years ago

The solution is to install the Test version yii2support-0.10.57.24. The download link is in the issue referenced by slo-nik. (this comment is mainly here for those who do not understand Russian and don't want to translate the half issue.)

BetsuNo commented 4 years ago

As @slo-nik mentioned above, solution is here