Skip to content
This repository was archived by the owner on Sep 9, 2019. It is now read-only.
This repository was archived by the owner on Sep 9, 2019. It is now read-only.

Custom reference syntax to class or class member in comments make impossible to navigate in IDE #197

Closed
@insperedia

Description

@insperedia

Hi,

I am one of Yii plugin developer for PHPStorm. And want to discuss one fundamental problem in Yii2.
The custom syntax for reference to class or class member in comments makes it impossible to implement navigation in IDE(PHPStorm). For example [[SomeClassName]]. The problem is that plugin can manipulate only DOM that is built by IDE parser. Because PHP plugin is not open source it is impossible to modify PHP parser to make this custom syntax work.
BUT as I remember IDE parses any string with @ in the beginning. So format can be like this, @link|ClassName::classMember, or something similar.
If there are resources to fix this I can help to find right format to make it possible to implement working links in PHPStorm plugin.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions