How to recover closed output window in netbeans? - netbeans

It often happens to me that I want to clear the current output window by using the context menu, but instead of hitting the Clear entry, I accidently hit the Close entry (which is directly below Clear).
How can I get that output window back!?
Via Window/Output/Output I only get the container tab for all output windows. How can I reopen the output window of a currently running application?

Here is solution
First go to service window which is next tab to project tab...
then right click on apache tomcat
click view server log and view server output

In the right bottom edge there are information about NetBeans updates. Left to it, there's the tasks running (building, running application etc). Click on it, right click the process you want and select Show Output.

try Window--> Reset Windows in netbean
Caution: be aware, that all your windows settings are away after that!

I had this same issue recently and none of the other fixes worked. I got it to show finally by switching to the "Services" tab, right-clicking on "Apache Tomcat or TomEE" and clicking "Restart".

Go to the window tab: Then click on Output. This will allow you to place it anywhere on the screen. Or just use ctrl+4

Go to Server tab and Right Click you will see the View Output Log.
Netbeans --> Your Server --> RightClick --> View Output

In NetBeans 7.4,
Under Window menu, click on "Reset Window".
Then NetBeans will disappear and reappear.
At last, after it reappears, click on "Output" under Window menu.

Go to window tab - reset windows - run your program. - then right click on bottom of the tab where program running

Right click on Apache Tomcat under Services window. Stop the server, then start it again...both log and output window will reappear

Just go through "View" and select IDE Log. it will show the output.

If you run the server in normal mode you can recover the log by restarting the main project in debug mode. It seems that NB opens a new server log when the server run mode changes.

If you want to see three windows along with Log
Then go to windows on NetBeans then output and click NetBeans->windows->output.
Next go to service next to you project select server right click on it select server log and server output NetBeans->service(next to you project)->server->View server log and view service output.

I was having the same problem. Currently I am using the version 8.1, First of all go to the window tab, that is just before the tab help. Click on window and there click reset "Reset Window", after that in the bottom right click on the tab where your project runs, right click and select show output.

shorter way:
1-Alt + Shift + R
2-Ctrl + 4
second way:(in menus of netBeans)
1-go to window tab
2-go to IDE tools
3-click on Test Result
4-again in window tab click on Output

I found output option in window Menu.

in Netbeans 7.4 try Window -> Output OR Ctrl + 4

Easy way, just write some wrong code and Run > Build it will show the error in output window.
I tried all of the above but no success, just this one worked.

Servers---AT---right click---start in debugging mode

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.

How to attach the console in eclipse?

In eclipse the console is somehow undocked. Now it's appearing like below :
How to attach it to the window? I tried the "pin console" button but nothing happening. I am running eclipse kepler.
Please help.
It is just a drag of the pop up window to the main window. Key is to drag by tab title not by main window. In your case, start dragging at tab titled console!
You can click Windows > Reset perspective to go back to default perspective settings.
The easiest method that worked for me in Eclipse Photon is:
Click on the Open Console icon present amongst the icons on the console window.
Open Console icon:
Click on New Console View
New Console View:
This will start a docked version of the current console.
And the one which is detached can be simply closed thereafter.
Go to WINDOW, then select these submenus:
SHOW VIEW
CONSOLE
As in this screenprint:
that's it
Window->Perspective->Reset Perspective
Grab on Git Staging icon, drag and drop on console bar:
From opened Eclipse; go to Window>Perspective>Reset Perspective
Back to Window>Show View
Click on Console.
I found this convenient.
You can click on Windows > Reset perspective. It will reset perspective settings

How to show the Project Explorer window in Eclipse?

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.

The Eclipse "select workspace" dialog disappears when I switch to a different virtual desktop (VirtuaWin) - how to restore it?

When eclipse starts up, it first show its splash screen and then pops up a dialog for selecting the desired workspace to open. If at this point I switch to a different virtual desktop and then come back later, only the splash screen is visible but the dialog is gone and I haven't found a way to get it back. I have to kill the eclipse process and start again.
Is there a way to recover from that problem whithout killing eclipse?
My setup:
Windows XP
VirtualWin 4.0.1
Eclipse Helios
I'm not sure why it prompts you the first time Eclipse starts up but not after using a different virtual desktop. I assume you did not select "Use this as the default and do not ask again" on the "select workspace" dialog. If you don't mind waiting a bit, you can avoid killing Eclipse by loading the current workspace and then going to File > Switch Workspace.
Start Eclipse.
Invoke Window menu on Workspace Launcher window. For example by clicking the middle mouse button on the window title bar, see Setup Dialog's Enable middle button window menu activation setting in VirtuaWin Help.
Click Add Window Rule.
Leave class name there e.g.: #32770.
Erase Window name and Process name.
Select Always manage windows of this type.
Click Add button.

Xcode 4: How do you view the console?

I can't seem to find a way to have the console run (to show NSLog comments) in XCode 4. The normal method for the previous version of XCode does not work. Does anyone have an idea of how to accomplish this?
You need to click Log Navigator icon (far right in left sidebar). Then choose your Debug/Run session in left sidebar, and you will have console in editor area.
for Xcode 5:
View->Debug Area->Activate Console
shift + cmd + c
If you just want to have the log output display when you run your app then you can go into XCode4 preferences -> Alerts and click on 'Run starts' on the left hand column.
Then select 'Show Debugger' and when you run the app the NSLog output will be displayed below the editor pane.
This way you don't have to select on the 'up arrow' button at the bottom bar.
The console is no extra window anymore but it is under the texteditor area. You can set the preferences to always show this area. Go to "General" "Run Start" and activate "Show Debugger". Under "Run completes" the Debugger is set to hide again. You should deactivate that option. Now the console will remain visible.
EDIT
In the latest GM Release you can show and hide the console via a button in the toolbar. Very easy.
Here' an alternative
In Xcode 4 short cut to display and hide console is (command-shift-Y) , this will show the console and debugger below ur text edior in the same window.
You can always see the console in a different window by opening the Organiser, clicking on the Devices tab, choosing your device and selecting it's console.
Of course, this doesn't work for the simulator :(
There's two options:
Log Navigator (command-7 or view|navigators|log) and select your debug session.
"View | Show Debug Area" to view the NSLog output and interact with the debugger.
Here's a pic with both on. You wouldn't normally have both on, but I can only link one image per post! http://i.stack.imgur.com/4gG4P.png
Here's an alternative.
In XCode4 double-click your Project (Blueprint Icon).
Select the Target (Gray Icon)
Select the Build Phases (Top Center)
Add Build Phase "Run Script" (Green Plus Button, bottom right)
In the textbox below the Shell textfield replace
"Type a script or drag a script file from your workspace" with
"open ${TARGET_BUILD_DIR}/${TARGET_NAME}"
This will open a terminal window with your command-line app running in it.
This is not a great solution because XCode 4 still runs and debugs the app independently of what you're doing in the terminal window that pops up.