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!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login