klesun / deep-assoc-completion

A phpstorm plugin for associative array key typing and completion
Other
267 stars 17 forks source link

Make preview comment truncate length configurable in the settings #178

Open klesun opened 3 years ago

klesun commented 3 years ago

Currently, there is COMMENTED_MAX_LEN constant of how many characters can be displayed in the "tail text" of a completion option and this space is also split between the value preview and the comment text.

Should make both COMMENTED_MAX_LEN and the value vs comment ratio configurable in the deep-assoc-completion settings in IDEA.

klesun commented 3 years ago

Possibly can also add an option to remove the limit at all, I wonder how will IDEA show an option with comment consisting of several sentences...