klesun / deep-assoc-completion

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

Add syntax highlighting for multiline array PHPDoc #192

Open maicol07 opened 2 years ago

maicol07 commented 2 years ago

Example:

/**
 * @param array{
 *  a: int,
 *  b: int
 *  } $arr
 */
 function c(array $arr) {}

Should be highlighted like the one-line syntax:

/**
 * @param array{a: int,b: int} $arr
 */ 
 function c(array $arr) {}
klesun commented 2 years ago

Related: #132

It would indeed be nice, though I gave up as I did not manage to make it work with Language Injections ;c