Dynamic line in comment - PHPStorm

Hello,

I have a comment:

# region -> reference to the line: 152

..........

#endregion


If I write code, the line I referred to is 170, how could I make the line: 152 be dynamic?

Thank you!

2 comments
Comment actions Permalink

You can't. Use PHPDocs with @see to an object instead

0
Comment actions Permalink

PHPDocs does not help me. In the future, someone can think of making a plugin. :)

Thank you!

0

Please sign in to leave a comment.