Re: why does the method popup sometimes not appear in PB ?
Re: why does the method popup sometimes not appear in PB ?
- Subject: Re: why does the method popup sometimes not appear in PB ?
- From: "David P. Henderson" <email@hidden>
- Date: Fri, 27 Jul 2001 00:43:37 -0400
On Friday, July 27, 2001, at 12:17 , tyler wrote:
>
Hey there -- sometimes I have .m files and the popup that contains the
>
methods (to the left of the open file list popup) doesn't appear. My
>
project is indexed. I checked source, I even built the project. Still
>
no method list popup.
>
>
In this particular project it's available in some files and not
>
others...
>
>
Any ideas why this sometimes is there and others not? Seems like a
>
bug, but....?
>
>
I'd really like to always have it available :-)
>
By chance are these files you've added to the project after the you've
started indexing. I've noticed that the index doesn't update properly
for files added to a project after I've indexed it. I've found 2
workarounds for this bug.
1) Close the project and reopen it. PB seems to check and update the
index upon opening a project.
2) #import both the .h and .m files into already indexed files and save.
This should force the imported files to be indexed. Note: You may need
to do this for .h and .m separately. Also, most likely the .m will not
index properly until after you remove the import statement for the .m.
Dave
--
Chaos Assembly Werks
"The Trend over the last 20 years or so has been to design computer
languages that enforce a state of paranoia. You're expected to program
every module as if it were in a state of siege In Perl culture, by
contrast, you're expected to stay out of someone's home because you
weren't invited in, not because there are bars on the windows."
from Programming Perl