I am using eclipse on Ubuntu. When there is log being shown in console and I am moving cursor up or down in JAVA file to see the code, the cursor shifts itself to the console log and and I am having problem to investigate my code. My cursor shifts to console log even if I disable the console view from windows-> Show View. Is there any way that I am not forced to see the console.
I just got rid of this issue. Right click in console window, select preferences and then unchecked the checkBox "show when program writes to standard out" and also unchecked the checkBox "show when program writes to standard error".
Related
I have looked for a solution but couldn't find one, recently I switched the Explorer in VSCode from the LHS to the RHS and it works better, the problem I am now having is that when I open the terminal I get a debug console on the left - see picture below.
Is there a way in which I can disable/hide the Debug Console part of the terminal? It is always maximized when I start a new console and I can't set it to minimize.
Either choose Reset Location in the context menu or just drag the Debug Console header back into the upper part of the Panel (like to the right or left of the Terminal header).
At some point you must have dragged the Debug Console header into the body of the Terminal (when Terminal was active and into the left half of its view).
You'll also notice that the option to Hide 'Debug Console' is disabled in your first situation - that is a hint of sorts - it is actually within the Terminal view and so cannot be separately hidden from its context menu.
Click on the debug tab and drag it to the top.
Often when I am running a program in Eclipse which requires input from the user the text cursor does not move automatically from the code in my Java source file to the console to take user input.
I have to manually click within the console to switch. Often I find myself thinking the cursor has switched automatically when it hasn't and I type my entry for the program into the code instead of the console.
There's a feature that can get you part of the way there, but it doesn't satisfy your request 100%. As described here, the Console view has options that will force it to be shown when either System.out or System.err are written to. If you enable one or both of those options (either in the Console toolbar or the global Preferences), then close the Console view, the next time your program writes to System.out the Console will show and take focus (at least on Windows).
The downside is that if Console is already open when your program writes to System.out, then it does not grab keyboard focus.
In Eclipse Luna I opened two Console Views. I attached output from a external build tool to the first one and Liferay server output to the second one. Whenever I run the external build tool, both Console Views start to display the output of the external Build tool and I have to manually switch the content of the second Console View every time. Is it possible to bound the Console View with the specific output permanently? I did not find this feature in the Eclipse documentation.
If I understand your question, there is a button on the console window which is "Show console on any output":
Enable this button on the console you want to capture, and disable it and the button next to it, (which is "Show console on any error") for the console you don't want to show. This usually works for me on Luna SR1.
There is a button with a "+" sign on the top right. click it to open a new console.
Once you have two consoles, use the Pin console (console with a board pin icon on the top right) button to pin the newly opened console to the liferay server console.
I recently upgraded my development machine to use MySQL Workbench 6.1. I am trying to enter some data into a table using the workbench and "Select rows..." When I click the "Apply" button to insert the data, the workbench reports that an error occurred (see the image below), but it doesn't tell me what the error is. Workbench 5.* used to show the errors. I cannot find any way to get Workbench 6.1 to show me the errors. How can I see the error messages?
If you are on linux machine this solution will work.
It is already there you have to move your mouse and expand it:
At first it will look like this:
you have to hover the mouse until the cursor icon change to resize icon.upward
then click it and pull
and then you can hover on cross sign scroll right to see the error message completely.
I eventually worked out that the panel could be opened by hovering my mouse at just the top of the status bar (at the bottom of the UI).
The hit area is tiny so you really have to 'feel' around for the drag point.
If you are not seeing any sql errors or exceptions this could be one off your problems.
Toggle the button in the picture
button panel of mysqlworkbench
To cause MySQL Workbench to show error messages, I had to change a preference. From the Workbench menu, click "Edit" -> "Preferences..." Open the "SQL Queries" tab. Check "Confirm Data Changes".
My console window is not longer baked into Eclipse. It appears as a seperate window which hovers over my any open project file windows. I don't know what I did to cause this. I've tried re-starting Eclispe, opening and closing the console view.
Screenshot attached
Found solution, right click on console window and un check "Detached" option.