Alt-F7 shows occurrences in the whole project, but you just want them in the current file? Or package? Or...? Note the Scope menu in the Alt-F7 dialog: just choose your search scope.
For a single file, Ctrl-F followed by Alt-A (find all) is usually faster: it will show a nice list of all occurrences.