kalessil / yii2inspections

MIT License
31 stars 3 forks source link

[researching] Need expand folding if it collapsed after properties generation #20

Closed mubat closed 5 years ago

mubat commented 7 years ago

After execute "Annotate properties" action need to expand folding if it collapsed.

kalessil commented 7 years ago

Thank you for a proposal, @Mubat. Would you please elaborate why this is a desirable behavior?

mubat commented 7 years ago

Imagine, you have inspection "Missing @property annotations" that offers to user add missing @properties. You agree with proposition and plugin automatically adding @properties, but you can't see what exactly @properies has been added because class PHPDoc folded.

ezgif com-optimize

P.S. Best case scenario, as user, I want to see added @properties by plugin and highloght then somehow.

kalessil commented 7 years ago

I see, will do in one of next releases - limited in time and didn't use folding API before.

kalessil commented 5 years ago

Checked, experimented and found no solution. Sorry.