PyDev package explorer empty - eclipse

Up until today all was well with Eclipse and PyDev. I have not modified Eclipse or installed anything since it was working yesterday.
Now, the PyDev Package Explorer shows no entries. I can see them if I switch to the normal project/navigator view.
If I watch the pydev package explorer and switch in and out I can see something briefly appearing then disappearing.
I've deleted every project, created a new workspace and tried uninstalling and installing pydev, but still the pydev package explorer shows nothing.
All settings are correct and I can run python code, but I'd really like my package explorer back.
Any ideas?
I'm on pydev version 3.7.1.x
Thanks.

Maybe you added a filter or made top level elements working sets and have no working set defined?
I.e.: Ctrl+F10 > top level elements > Projects/Working Sets
or Ctrl+F10 > customize view.

This steps helped me for the same issue:
Ctrl+F10 -> Select Working Set... -> No Working Sets

Related

How to open Pydev Package Explorer

so I guess this quest is kind of stupid, but I am completely new to eclipse and pydev. I recently switched from using SPE. So I closed the Pydev Package explorer, how do I open it again? I am using LiClipse 0.9.7. Thanks in advance
I don't see what you see, but try...
Window | Show View | Other... | Pydev Package Explorer
#Grzegorz Oledzki is right, but I wanted to add some more info:
If you're in the PyDev perspective (window > open perspective > pydev), you can use Shift+Alt+W when you're inside any editor and then select to show that editor in the pydev package explorer (this also works to show in other places such as the outline and it's very handy to go from the editor to the pydev package explorer).
Also, in the latest version (3.3.3), you can use Ctrl+3 and then write 'pydev package explorer' to go to it (actually, it'll show much earlier to select and that can be used to go to any view or preferences page or even to activate some menu).
Note: this would also work on earlier versions if the Ctrl+3 binding that did a comment in the PyDev editor was removed (to let the default Ctrl+3 from Eclipse do its work).

Unable to drag and drop to Eclipse

I have been draging and dropping from Windows Explorer to Eclipse since I've started using it, and now find myself unable to do so. When I drag a .java file over my package, the mouse cursor stays a circle with a diagonal bar through it and dropping does nothing.
I have tried to change my workspace, create a fresh new workspace, deleted eclipse and redownloaded it. It still doesn't work. Making Eclipse run as admin doesn't solve the issue either.
There are at least two workarounds:
Use the menu File -> Import -> General -> File System
or use CtrlC in Windows Explorer, CtrlV in the Package Explorer of Eclipse.
I had this issue when Eclipse was running as Administrator. Setting it back just worked.
I figured out it was due to viewing the project in Project Explorer instead of Package Explorer.
Right click on a project > Show in > Package Explorer
You'll be able to drag-drop again at this point.
I faced similar problem when trying to drag-drop image file directly from explored zip. After I extracted the zip, drag-drop worked as expected.
For me it was the missing marketplace client.
It is noticeable when help -> Eclipse Marketplace is missing.
I installed it with help -> Install new Software -> Update Site for 2018-09 -> Eclipse Marketplace
Extract all files from zip folder. It worked for me.

Eclipse warning: "problems during content assist"

Every time I start Eclipse and press Ctrl + Space I get the following 3 warning popups.
http://imgur.com/a/2pKdm
They are only appearing the first time I press Ctrl + Space.
I get these warnings since i reinstalled the jdk.
I already tried to re-install eclipse, but as soon as I import my old projects the warnings seems to reappear. I currently have the following java versions installed:
JVE 7_u7 32bit;
JVE 7_u7 64bit;
JDK 7_u7 64bit;
JDK 7_u7 32bit.
I added all of them in the PATH variable in the same order as listed above.
I also have eclipse set to use the JDK 7_u7 64bit (btw I'm using eclipse 64bit).
I hope somebody knows a solution for my problem and excuse me for my bad english, I am not an native English speaker. ;)
You can resolve this issue by turning off Subwords-Completion in:
Window > Preferences > Code Recommenders > Completions: ==> incheck(Subwords-Completion)
I got the similar type of warning is eclipse spring tool suite(sts) .I unchecked CodeRecommendors Proposals(addons) which is present 2 times in the above list and below list and it worked.To do it go to window-->preferences-->java-->editor-->Content Assist-->advanced.see the screenshot.
You can configure content assist and disable the triggers in content assist. This link provides information on setting content assist preference.
I would like to share my experience for those who have this problem in the future. If you changed the theme of your editor recently, first change it back to the classic theme and then restart Eclipse. Then switch back to the theme(maybe dark theme) you want to use and restart Eclipse again. This is how my problem was solved.

Eclipse working set is missing

My Eclipse crashed, and a working set which I'd just spent an hour setting up is now missing.
But when I try and create a new working set with the same name, it says "A working set with that name already exists."
So if it exists, where is it? I can't find it in my workspace...
If it doesn't exist, why can't I create a new one of the same name?
I've tried refreshing my workspace (F5), and running ./eclipse -clean - no joy.
A little hack solved it :)
(Eclipse Java EE IDE for Web Developers, Version: Indigo Service Release 1)
Choose a project, right click on it.
Assign Working Sets...
In Working Set Assignments window: uncheck the checkbox called "Show only Package Explorer working sets" ... and voila: there is the disappeared working set.
Check that working set and Click "OK" -> Working set will appear in Package Explorer.
Another possibility is to click the arrow pointing down (View Menu), select top level element and then choose Working sets.
Neither of the above answers worked for me on STS 3.4.2. I kept getting the error "workspace of that name already exists" when I tried to create a specific name although I could not see it in the package viewer.
I found this file that contains references to the named workspaces:
<workspace dir>/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml
I noticed that the missing workspace had a
editPageId=org.springframework.ide.eclipse.ui.springWorkingSetPage
whereas the ones I could see were:
editPageId=org.eclipse.jdt.ui.JavaWorkingSetPage
So, my 'missing' working set would only show up in the spring package viewer. User error - but eclipse did not help find it...
At this point one can either rename/delete the spring workspace, then add it to the package workspace.
In my case I had to:
Right click on a project > "Assign Working Sets..."
"Configure Package Explorer working sets..."
Select the missing working sets and click OK
Et voilĂ !
I solved my problem by closing then reopening Navigator view.
Thanks all for the hints.
While they didn't exactly work as it did for some of you, here's what worked for me (using Eclipse Juno):
File -> Import -> Existing Projects into Workspace -> Select the directory from where to import your project(s) -> Finish.
Not sure what the specific cause was, though it happened when my machine crashed.

How To Make Eclipse Pydev Plugin Recognize Newly Installed Python Modules?

So I just installed SubnetTree (http://www.icir.org/robin/pysubnettree/) and if I open the Python interactive interpreter I can successfully import it without any error messages. I use it in one of my programs and can successfully run it without a hitch. However, Eclipse marks the import as an error, and this is a problem as I use Eclipse for debugging. I have gone to preferences and have restored the Python interpreter I am using to no avail. I was able to merely restore the Python interpreter exit, and reopen it on my other machine(OS X 10.5, I am now using OS X 10.6) and it identified SubnetTree just fine. Any idea of how I should go about this? Thanks in advance.
if you already tried "refreshing" your interpreter's PYTHONPATH (in Eclipse's Pydev Python interpreter configuration) and it didn't work you could try deleting the interpreter from the list and creating it again. When doing this, you should get all your modules loaded correctly, even the missing new modules.
PyDev version 3.6, on the Eclipse Preferences -> PyDev -> Interpreters preferences pane, offers a button labeled "Check if interpreters are synchronized with environment". On my mac and Eclipse Luna, clicking on this button triggered some behind-the-scenes magic that solved my problem of PyDev not noticing a new installation of PeeWee. I saw a message flash briefly in the lower-right corner of the main Eclipse window "Synch System PYTHONPATH." I did not remove nor re-add the interpreter (Python 2.7), restarting Eclipse did not solve the problem either; but clicking this button did.
Yes - it works! I've been stuck on this for three days. Go to Project, Properties, PyDev - Interpreter/Grammar, "Click here to configure an interpreter not listed", highlight & Remove python (C:/Python27\Python.exe), Auto Configure (brings up a list below that you can review and checkmark as needed), then click on OK.