Eclipse Package Explorer no longer collapsible - eclipse

Version: Neon.2 Release (4.6.2)
Very straight-forward question - to my surprise I could not find an answer on here, or elsewhere.
This is what I see in my Eclipse IDE:
This is what I have seen until recently (circled in green):
(Yes - this image is not showing package explorer, this is cut from a random internet search pic)
How do I make the Package Explorer collapsible again?
Needing to fully close it for space, and then open it again later is a big pain.

If someone get the same problem, what I know so far is the reset perspective solution...
Window → Perspective -> Reset perspective...
This will save you many hours, believe me!
You can also do the reset, by right click the icon of the perspective type.
Option 1. Using the Window menu.
Option 2. Right click the perspective icon
(You might need to customize your perspective if you configured own settings, the reset perspective does not damage your workspace! See customize perspective to get an idea of what the settings are.)

Related

Can't see project explorer in STM32CubeIDE [duplicate]

Suddenly my project explorer window has disappeared from Eclipse. I try selecting Windows > Show View > Project Explorer, but nothing happens. What can I do?
Try Window --> Perspective --> Reset Perspective.... Remember that your own settings, if any, will also be reset.
Try to close Eclipse IDE and reopen it and
click on window->show view->project explorer
For me it was like this...
Window->Show View->Other->General->Project Explorer
Or
Window->Open Perspective->Other->Java (default)
Open Eclipse IDE
Enter "Project Explorer" on Quick Access (Search text box).
Either select from drop-down or press Enter
Window -> Perspective -> Reset
Reset the IDE
Window -> Show View -> Project Explorer
Select Window->Show View, if it is not shown there then select other. Under General you can see Project Explorer.
If none of the above solutions work, Try Window-> New Window
I had encountered the same problem as well. The following solution helped me to get over it:
Window -> Show View -> Package Explorer.
You can use the shortcut as well. It's Alt + Shift + Q, P
Using the latest Luna upgrade.
The only solution that worked was Window >> New Window.
It's very easy to lose that critical bar.
If you are on either Eclipse or Spring tool suite then follow the below steps.
(1) Go to 'Window' on the top of the editor. Click on it
(2) Select show view. You should see an option 'Project Explorer'. Click on it.
You should be able to do it.
Close the current perspective:
Reopen it using Window -> Open perspective.
i had also encountered this issue.
.
This Solution worked for me....
windows->navigation->maximize active View or Editor(ctrl + M)
.
in the screen you can see on left side navigation menus ... now click on those buttons one by one ....you will get your solution...
Try changing the perspective to JavaEE and then check.
Not sure if this is problem but, this ticked me off for a while since I did not realize what was happening at first - maybe this will help others.
Its not really a problem, just the way Eclipse works. (I'm use to Visual studio)
Its all about Perspectives!
I set up an (existing) PHP project in eclipse(neon) and then tried to configure and run debug. A Popup "Confirm Perspective Switch" is shown - I selected "Yes", not realizing what it actually does. The "perspective" then changes and you no longer see the project explorer anywhere. You cant "open" the project explorer window from top nav > window > show view, since its no longer there (which is BS, it should show something that gives you indication of current and other "perspectives" - at least for newbie.) No where now does it give project explore options.
Now you must change the "perspective" back from debug to PHP (at least in in my case).
This can be done a couple ways, easiest is from the icons on right top right side side. One icon would be the "bug", and next to it is the PHP icon. Just click the icon "perspective" you want. The other way is from top nav bar > window > Perspective > open Perspective, then select PHP. Could they hide this any deeper?
I know this is likely second nature to those who have used eclipse for a while, but was frustrating to me (on day one) till I figured out what was going on.
Please Select window in tool bar
Move to show view
Select project explorer
applied the same method to reset the perspective, no changes appaired then I restart the Eclipse IDE which was fine then.

Console disappear in Eclipse Juno

I am using Eclipse Juno. I was working in Java perspective and suddenly I minimized the console. I don't know where it went but I am unable to get it back. I even tried to get it from Windows>Show View>Console but I didn't get my console back.
It happened the same thing to me. Just click Window->Reset Perspective and everything will be back as it was when you installed eclipse.
Sure you'll have to customize it back to how you like it, but at least you'll have the console back.
If console is not visible, just search for "Console" in QuickAccess box on the right hand top of menu bar. you can get it back!
Stupid Eclipse. Are there no interface designers volunteering on this project? Why minimize something and make it hard to see where to bring it back? Probably all you have to do is hit Shift-Control-Tab-F9 with one hand while right-double-clicking the lower left hand corner. Hmm, how about a popup when you click a minimized Console that says "We see you've minimized your Console and you are clearly trying to switch to it. Would you like us to restore that so you can actually see it?" followed by "Are you really sure? Cuz ya know, you may be using this click path by accident."
The reset perspective works. Also, you can "Save Perspective" so it's not so hard to go back to your preferred Perspective.
Thanks for the tip.
Bring console to the front from Window -> Show View -> Console. Apparently the console remains invisible (that was the issue indeed), but it is virtually active in the foreground.
Close the current view (i.e. the invisible console) by going to the "Quick Access" box at the toolbar, typing "Close Part", and selecting the respective option on the drop-down.
Reopen console form Window -> Show View -> Console and voilà, it will appear. Drag it to your preferred location on the workbench.
This works for me under the following situation:
I had been previously playing with detaching several views (console included) and editors to a separate window on a different monitor; I have updated my workspace from Neon to Oxygen and I have had a hard reset at my computer. (So, not sure which among those was the reason that made it go wrong).
I wanted to avoid resetting my perspective, as it is highly customised, so I discarded that solution.
Other solutions herein proposed had not worked.
The console was working and the view became visible if I chose a different perspective (e.g. Debug) or a duplicate Eclipse window (which effectively provides a duplicate of a factory-reset perspective).
you could click the small icon on the bottom left and choose console. it will appear.

Perspective Switching Pane Gone in Eclipse

The little Perspective Switching Pane is gone from the upper right hand corner of my Eclipse Window after an Eclipse crash. I downloaded the newest version and tried opening that (with my same workspace), but the buttons are still gone.
Here is a screenshot:
And zoomed in:
Any ideas?
I can still switch perspectives by selecting Window->Open Perspective
Thanks
It's not just the perspective switcher that's missing, it looks to me; there's no tool bars, ether.
You might check Window..Preferences..General..Appearance, and fiddle around with the Perspective Switcher control, see if that makes a difference.
You could also use Window..Customize Perspective and see if anything looks interesting there.
Try Window > Reset Perspective...
Related. I had my switching pane disabled (I think I moved it by mistake and I could not see it anywhere) although the tool bar was there. The only way I could get it back was to disable themes on Windows -> Preference -> General -> Appearance -> Enable theming.
Using 2022-06 (4.24.0), mine also disappeared.
I was only able to get the buttons back by
right-clicking and "unlock the toolbar"
Window->perspective->open perspective->other
After opening each of my favorite perspectives, the buttons "stuck to the bar" then I locked it again when I was done.
Another possibility is to delete the workbench.xml from [workspace]\.metadata\.plugins\org.eclipse.ui.workbench, which forces the platform to reset the workbench-layout.

How to disable Eclipse's behavior of maximizing editor when double clicking a tab?

I recently updated my Eclipse (now running 20100218-1602), and I've found whenever I click around quickly between tabs on the tab bar, it will sometimes maximize the editor and hide the PHP Explorer to the left. After researching a little, this appears to be a feature of double clicking a tab. So I guess it's my fault, I'm sure I'm clicking around too fast and mistakenly double clicking a tab, but it happens often enough on what I'd consider a normal editing session that I've come to absolutely loathe it, and even after the usual googling due diligence cannot figure out how to turn it off.
From this post someone mentions the Window.AutoHideAll shortcut, however that seems to only be for assigning keyboard shortcuts--this is a mouse click thing. But maybe it's a clue.
I can't find anything relevant under Eclipse -> Preferences -> PHP. I don't think it's specific to PHP because if I switch to the Java perspective, double clicking a tab hides the Package Explorer.
Any suggestions are appreciated, thanks!
You could settle for a simpler solution than some arcane settings or shortcut:
resize your Eclipse main windows a bit smaller
drag the views you do not want to be covered after a "tab double-click" outside the main Eclipse window
there is no 3.
When you double-click, the Editor will cover only the main Eclipse window, while the other views will still be visible just beside that window.

Customize eclipse taskbar

I use a lot of eclipse shortcuts, but for some tasks there arnt any convenient ones. For example I frequently look at the subversion history for java files.
I see these icons next to the right-click menu items that I assume I should be able to place on the eclipse taskbar so that I can save a couple of mouse clicks. But I havnt been able to figure out how to do that yet.
I am talking about the icon next to RightClick-Team-Show History once you install the subclipse plugin. I would like this icon to be on my taskbar so I can just do a single click and look at the history.
Any suggestions?
Other tips on customizing eclipse for java development are also welcome.
Take a look at my answer for similar question: How to add undo / redo buttons to toolbar in Eclipse?
It is possible to do the same for Show History command. Differences are: 1) you need to declare dependency on org.tigris.subversion.subclipse.ui plugin, and command ID you are looking for is org.tigris.subversion.subclipse.ui.showresourceinhistoryaction. You may want to include custom icon to avoid having long "Show History" button on your toolbar.
Update: Here is downloadable plugin for you: showsvnhistory_1.0.0.jar
The only way I know of to "customize" the Eclipse taskbar is via Window -> Customize Perspective. Oddly enough, the "Commands" tab has some influence on the toolbar.
But the developer of whatever component you want to use must have enabled the commmand and (at least for me), SVN doesn't offer a history button.
Maybe some XML hacking is more helpful here?