mark methods in a class
Hello !
I have a class with a public and some private methods.
For example.
----------------------------
class test{
public function getInfo(){
$string1 = $this->_info1();
$string2 = $this->info2();
return $string1.$string2;
}
private function _info1(){
return 'info 1';
}
private functionn _info2(){
return 'info 2';
}
private function _foo(){
...
}
private function _bar(){
...
}
}
----------------------------
I am looking for a way to call a method in a tool.
This method should be selected.
The private methods called in this method should also be highlighted.
In our example, the methods were 'getInfo ()', 'info1 ()' and 'info2 ()'.
Who can help?
Sincerely
Stephan
Please sign in to leave a comment.
Hello Stephan,
Please elaborate. What tool do you mean?
Thank you for feedback!
Hello!
When I work with a class I have the opportunity to call an overview of the methods.
'Ctrl'. + 'F12'
I would like to highlight in this overview, individual methods.
If a method has been marked to the source code of the method are highlighted.
Sincerely
Stephan
Stephan,
I am sorry but I still can't understand the issue. Please provide me more details.
What kind of highlighting do you mean?
How method is marked in the source code?
Thank you for feedback!
Hello!
Thanks for the quick reply.
Unfortunately, my English is very bad.
I am looking for a way to bring up a list of existing methods of a class.
I would like to highlight in this list methods.
At the same time in the source code to the method are highlighted.
Sincerely
Stephan
Attachment(s):
methode.jpg
liste.jpg
Stephan,

Now I see your point. Thanks!
Why do you need this this feature? Please describe the case.
Also please note that you can use 'Structure View' with enabled 'Autoscroll from source' option for that (if I understand your case correctly).
Thank you for feedback!
Hello!
Thanks for the reply.
At the moment, the focus of personal development in the field of design patterns.
When I write a new block of a program I get a 'user story'.
I make the business logic in a 'model' from.
If this block is a new 'user story' shall I break the 'model' in several classes.
Therefore I need a tool which allows me the highlight of methods.
Sincerely
Stephan
Stephan,
Please submit a feature request - http://youtrack.jetbrains.net/issues/wi#newissue=yes
Thank you for feedback!