HvyIndustries / crane

PHP Intellisense/code-completion for VS Code
https://hvy.io/crane
Other
240 stars 25 forks source link

PHPDoc @inhert doc isn't being parsed #373

Closed robertmain closed 6 years ago

robertmain commented 6 years ago

Platform : win32 VSCode Version : 1.19.1 Crane Version : 0.3.8


Code

<?php

use Psr\Cache\CacheItemPoolInterface;
use Psr\Cache\CacheItemInterface;

class Cache implements CacheItemPoolInterface
{
    /**
     * {@inheritdoc}
    */
    public function getItem($key)
    {
        return true;
    }
}

Here's the interface I'm implementing: https://github.com/php-fig/cache/blob/master/src/CacheItemPoolInterface.php#L16-L32

Expected

image

Actual

image

robertmain commented 6 years ago

Not sure if this is an issue with crane, the PHP language server and/or code. I have also filed

robertmain commented 6 years ago

After some thought, I'm going to close this because I've noticed this issue with another PHP intellisense extension. I believe it may be to do with the language server or code... not Crane itself..