0

The mark occurences option in Netbeans doesn't work on function names for me. I'm on version 6.9.1. Anybody know how to possibly make that work?

Mansiemans
  • 896
  • 2
  • 12
  • 23

1 Answers1

2

You could use functions expressions, like this:

var func;

func = function () {
    //code
};

Then Netbeans marks it too. I couldn't find another way.

Remember about declaring variables for future functions. Notice a semicolon after definition.

Also this answer should be helpful.

Community
  • 1
  • 1
pepkin88
  • 2,742
  • 20
  • 19
  • @Lou Bandy: Generally Netbeans is a good editor, although I found some nasty memory leak bugs when it tried to resolve the type of an object. – pepkin88 Apr 19 '11 at 21:07