Function List issue
-
this is regarding function list feature in notepad++, I noticed that if a function is defined with static prefixed to it, that function is not listed in the function list window.
for example
static function myFunctionName ( ){
// some codes here
}is there any way so that I can list the functions with static prefix in it.
looking forward for the answer.
-
@Vishnu-K could you tell me what language it’s for?
-
php
<?php
class myClass {
function __construct () {
} // end of __construct
function __destruct () {
} // end of __destruct// PRIVATE FUNCTIONS: QUERY
static function helloWorld ($num1){
return true;
} // xxxfunction myFriend ($num2) {
}
}
?>
-
Make sure there is an empty line or a blank line (i.e. line containing spaces or tabs only) between the comment and the function header or make sure there is at least one blank in front of
static
. -
I did followed your valuable suggestion, It works. thank you :)
-
You’re welcome!