Add PHPDoc "Go to definition" support for typed arrays
2 posts
• Page 1 of 1
Add PHPDoc "Go to definition" support for typed arrays
Example code:
In the above code, when clicking on "ShopArticleVariantOptionModel" and selecting "Go to definition" (F12) it cannot be resolved.
My expectation would be that it jumps to the definition of my "ShopArticleVariantOptionModel" class.
In contrast, in
(i.e. no array, just a custom type), the "Go to definition" does work.
My suggestion:
Please allow "Go to definition" for typed arrays to jump to the class type.
- Code: Select all
/*
* @property ShopArticleVariantOptionModel[] $Options
*/
In the above code, when clicking on "ShopArticleVariantOptionModel" and selecting "Go to definition" (F12) it cannot be resolved.
My expectation would be that it jumps to the definition of my "ShopArticleVariantOptionModel" class.
In contrast, in
- Code: Select all
/*
* @property ShopArticleVariantOptionModel $Option
*/
(i.e. no array, just a custom type), the "Go to definition" does work.
My suggestion:
Please allow "Go to definition" for typed arrays to jump to the class type.
- uwe
- Posts: 21
- Joined: October 10th, 2016, 8:39 am
Re: Add PHPDoc "Go to definition" support for typed arrays
Hi,
Thanks for the suggestion. We'll add this feature into a future update.
Thanks for the suggestion. We'll add this feature into a future update.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 46 guests