phproberto / vscode-php-getters-setters

PHP getters and setters for Visual Studio Code https://marketplace.visualstudio.com/items?itemName=phproberto.vscode-php-getters-setters
27 stars 29 forks source link

please update property.getType() #44

Open MKvasco opened 2 years ago

MKvasco commented 2 years ago

I love your extension but nowadays its boring to use it with doc bloc. I would love you to update finding types from the lines like this -> protective string $variable I already updated the code so I can at least use it from short doc bloc like this -> /* @var string /

oojacoboo commented 1 year ago

@MKvasco please consider renaming this subject of this ticket. You are correct, this plugin doesn't support proper method return typing. This is a big issue and it needs to be fixed or else it's just severely out of date now.

oojacoboo commented 1 year ago

@phproberto Any word on support for this? The property object isn't getting the proper type from the actual property being returned on getters. It appears that getType and getTypeHint both don't support the actual method signature scope - only the jsdoc.

msolla-ligno commented 1 week ago

same bug here