Mysql workbench results grid has extra panel with hast symbol next to it, how can I remove it? - mysql-workbench

I'm using mysql workbench on Ubuntu, and I seem to have hit a wrong key somewhere along the way, now I have an extra panel on my results grid blocking up my small screen.
Does anybody know how to hide this panel??

Related

How to remove resizable lateral bars in single editor view from VS Code?

For an unknown reason, VS Code is showing resizable lateral bars everytime in the single editor view (see attached picture).
I tried changing different settings, searching on different websites, reseting the settings from the JSON file, and reinstalling VS Code. However, I am unable to find how can I remove the lateral bars. Could you help me figure this out?
Thank you very much.
It looks like you have centered layout turned on, which would explain the bars. You can turn it off with the command View: Toggle Centered Layout (workbench.action.toggleCenteredLayout).
That said, I'm not sure what you mean by "single editor view"; maybe you mean the command View: Single Column Editor Layout (workbench.action.editorLayoutSingle), or, it looks like you're using Jupyter so maybe you mean the setting jupyter.interactiveWindowMode set to single. My best guess is you're accidentally running Toggle Centered Layout instead of Single Column Editor Layout.

How do I get dbeaver to show the caret and table size

I am using dbbeaver Version 21.1.2.202107041908 on a mac. Yes.
Once upon a time there would be a ">" next to the word Tables and when I clicked it, all the tables would show with their size in mb next to them. This is no longer the case, instead the caret disappears when I click on it. When I double click public I get all the tables in another window and they're fine. I think I might have accidentally turned this feature off somehow. I've tried searching everything like "autoupdate" or "expand branches" or some such. It would be best to fix this, but short of that, what's the right vocabulary to investigate this issue?
If you have letters above the elephant and it doesn't relate to the name of any object in the folder, the carets will disappear. Can I just also say this was not a feature on pgadmin3 so it's not a solid picnic.

Copy text of error msg from circled-X in Eclipse source editor

I'm trying to fix literally hundreds of XML validation errors in a Java webapp using Eclipse. Researching them with Google has been excruciatingly painful, because up to now, this has been my workflow:
Open Google in a browser.
Click in the Eclipse editor tab where the error (shown as an icon at the start of the line that's a red circle with a white "X") is located, mouseover, and try to memorize a chunk of it.
Click on the search form in the browser, and attempt to replicate the chunk from memory.
Repeat steps 2-3 until the text in the search form matches the text Eclipse ephemerally displays on the screen. Usually, something like:
"cvc-complex-type.2.4.d: Invalid content was found starting with element 'description' No Child element is expected at this point."
(that's just one error out of thousands, shown for illustration. I copied it from memory in 5 or 6 chunks)
At the moment, it's blowing my mind that there doesn't appear to be any easy way in Eclipse to do something like right-click the error icon & choose "copy error description"... or at least display it in some way that will survive giving another window the input focus so I can read it while typing it into the search form.
I know there has to be a better way to do this.
I suspect the error descriptions are present somewhere on the "Problems" tab, but I literally have almost 10,000 Errors & Warnings there, and no obvious way I'm aware of to sort or filter them. Is there maybe some keyboard modifier + mouse action that will allow me to click the red/white X icon and have Eclipse take me directly to the error on the Problems tab?
Good question, and I feel for you, there is a slightly easier way. I'm running Eclipse Kepler but I suspect this will work for you too.
Roll your mouse cursor over the problem x icon in the editor gutter (if you're showing line numbers it will be in that area), wait till the tool tip displays the error message, then quickly move your cursor over the tool tip and click within the text, then you can select all (Ctrl + a) and copy (Ctrl + c), then paste wherever the error description.

How to hide/view result grid in MySQL Workbench?

I'm using MySQL Workbench on Windows. I execute a query and I get the result. Is there any option or a hotkey to hide/view the result grid without executing the query again and again?
Please help me on this.
Here is a simple technique to get back the results grid in MySql WorkBench.
Place the text cursor on a query and use the "EXPLAIN command" for the statement under the cursor.
That will open the Visual Explain window. In that window you can find Results Grid. Click on that Results Grid.
You can see the result grid again.
There's a bug in current latest (8.0.11) MySQL Workbench when for some reason it's no longer showing Results Grid when you execute your statements. The only reasonable way to fix this that I found was to close the app completely and reopen it.
You can close result tab this way
I think there is a bug in latest (8.0.11) MySQL Workbench regarding result grid view. Since the installation I was not able to see Result Grid window for any query but I have some how able to get result grid window by changing Resultset Grid font from Tomaha (default with installation) to Consolas 10 and then executing one query.
Hope this might help others facing same issue on 8.0.11 version till the permanent fix.
Updating MySQL workbench worked for me. I'm on MacOSX
This isn't the best solution, but it is a work-around:
I have MySQL Workbench version 8.0.18 and when I run a query my result grid disappears too. However, I noticed that you can have another tab open (within MySQL Workbench) where the result grid for the same table remains open, and then you can toggle between the two tabs (the query tab and the result grid tab) by using CTRL + TAB and CTRL + SHIFT + TAB.
(Other tab toggle options are here: How to manage the SQL tabs in MySQL Workbench?)
However, the caveat is that you have to keep refreshing the table's contents in the tab that has the result grid.
(In order to open a new tab you can use CTRL + T, and then click the database and table you wish to view.)
I had the same problem with MySQL Workbench 8.0.19 (Win) and could not get the Result Grid to show whatever I did. I changed the font like some of the other examples but that didn't work. I clicked the EXPLAIN button to see the Execution Plan and that didn't work either. The Result Grid kept going away.
I finally clicked the EXPLAIN button to show the Execution Plan, clicked on the Result Grid icon above that on the right, and then shut down MySQL Workbench hoping it would save the current view settings in a config file or in the registry. That seemed to work. When I opened MySQL Workbench again, the Result Grid appears and I am back to normal.
UPDATE:
I wrote too soon as that didn't have permanence. I did a little more research and found this article in the developer site of MySQL documentation.
https://dev.mysql.com/doc/workbench/en/wb-configuring-files.html
So, I decided to shut down MySQL Workbench, rename the 'wb_state.xml' file to 'wb_state-backup.xml' as found in the following path on Windows.
C:\Users{username}\AppData\Roaming\MySQL\Workbench
I then started MySQL Workbench and saw that the 'wb_state.xml' file was created on startup. I then ran a quick SELECT statement to see if I would see the Result Grid and it showed up.
I hope this works for some of you as well!

How to highlight a table row of a TableViewer with a custom color

I'm using Viewer Framework in my Eclipse RCP Application,wherein my table has all the capabilities like sorting and filtering,the problem is with,when i select a row in the table it gets highlighted in blue color by default, when a user try to filter using search box provided,which is located above the table,then the previously selected row gets faded away.To overcome this i thought it would be better to have a custom color or predefined color like red and which doesn't get faded away even Table-viewer loses focus(i don't know).
My guess is you're running under Windows 7, where this is the defined behavior of table selection and the focus. Just try to select a file in the explorer and then focus on another window....
Almost the same behavior is seen under various versions of OSX, and possibly for other operating systems as well.
Can you work around it? Yes, but it will require some work with a SWT.ItemPaint listener...