I quite often use the Open Resource window (Hot keyed to Alt+Shift+O) to open a file by typing it's name. However this screen seems to show *.pyc files despite the Navigator view correctly hiding.
Is there anyway to set this up to ignore PYC files?
Hmm, I'm not sure why but it's also happening for me.
Would love a fix for it
Eclipse v3.5.2 with pydev v1.6.3 (2010 10 0513)
Actually, pydev should mark the '.pyc' files as being derived files, and they should only be shown if you have 'show derived resources' selected in the the dialog preferences… Do you have that selected?
If the files are still appearing, it's possible that those files are not being marked as derived… if that's the case, please provide more information on your project structure and where are those .pyc files that are being encountered there.
I don't currently have the "Show derived sources" option selected in the "Open resources" dialog (unless theres another option elsewhere).
My project structure is one of a django project:
I believe I've found the reason why this has happened.
I had run the project before creating a new pydev project "with existing source files".
This may have detected the pyc files during the import process.
Shortly after posting that comment, I deleted all *.pyc files within the project and refreshed it.
Hope this helps.
Is the source folder properly set in the project (I think the pydev builder will only mark .pyc as derived files if they're under a source folder).
Ah, no. The projects at work do not have a 'src' folder. It didn't make any sense to us to have it like that.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.