Gert-dev / php-ide-serenata

Atom IDE package that integrates the Serenata server to provide PHP code assistance
https://serenata.gitlab.io/
Other
274 stars 19 forks source link

@property tag in DocBlock breaks Outline view #462

Closed ricpelo closed 5 years ago

ricpelo commented 5 years ago

When using the @property tag in a DocBlock, the atom-ide-ui outline panel doesn't show the document outline. Instead, it shows the following error message:

No outline available This is likely an error with the language package.

To test it, simply create a .php file inside the project with the following content:

<?php

namespace test;

/**
 * This is a test.
 * @property int $id
 */
class Testing extends \yii\db\ActiveRecord
{
    public function test()
    {
        return 'Hi';
    }
}

If you remove the @property line, the Atom outline works OK.

Gert-dev commented 5 years ago

Hi.

Thanks for taking the time to report an issue. However, this is not a bug in this package, but in the Serenata server. Could you report it there instead? Thanks.

ricpelo commented 5 years ago

@Gert-dev Sure, here it is:

https://gitlab.com/Serenata/Serenata/issues/246

Thanks!