How to get rid of DBEAVER error icon and highlighting? - dbeaver

How can I get rid of these error icons and query highlighting?

Steps below:
Right click the error marker and select "Preferences"
Expand "SQL Editor" and go to "Code Editor", deselect "Show problem markers" under the "Miscellaneous" category

I prefer to show the error highlighting as a debugging aid. Often though, it sticks around long after it's no longer useful. To clear the highlighting in this case you can right-click on "Errors" in the problems dialog and select Delete.

Related

Why does VS Code allow only closing editors to the Right, but not to the left?

Why does VS Code allow only closing editors to the Right, but not to the left?
If one right-clicks an opened document tab in VS Code, then there will be an option to close all the tabs to the right, but not to the left. Why?
As to why this is I'm not exactly sure, Microsoft responded to a feature request posted in 2018 stating that they "try to keep VS Code lean" so perhaps they wanted to cut down on the number of items in that menu and didn't think it was useful enough to warrant having another menu item for this.
However, as of 2022, there are a couple of ways to get around this:
Press F1, search something like "close left" and select "Close Editors to the Left in Group" command.
Install this extension: https://marketplace.visualstudio.com/items?itemName=ctf0.close-tabs-to-the-left - this adds a menu item which simply executes the command in the first point.

Turn off all code analyzer warnings in the IDE

Is it possible to turn off all code analyzer warnings highlighting in the Matlab IDE, while keeping the code analyzer errors highlighting?
Looked around in preferences but didn't find any options except removing the underlining of warnings.
(They are still highlighted in code and visible at the right edge of the editor).
Workarounds I've found:
Disable all the warnings one by one, which is ridiculous because there is a list with hundreds of check boxes and no "un-check all".
Set the color of the warning highlighting to the background color of the editor.
You can use the search bar in the Code Analyzer tab in the Preference menu to filter only warnings. Then you can select them all with ctrl+A and right click and select 'Disable'.
Then you can save your new settings as a new mlint config file.

eclipse now shows "add breackpoint" when hovering over an error

I am using eclipse neon to program in Java.
Im talking about the veritical bar on the left where it shows the little error icon. Normally I would go hover over it and it would show a description and I could click to see automatic resolutions.
Then I decided I would be adventurous and play with some editor settings...
Now somehow when I hover over the error icon what pops up is a small box with 2 icons. a breakpoint icon and an error icon. the breakpoint icon is always right under my mouse. so if I just click again it adds a breakpoint. So now I have to go hover over the problem icon, then that thing pops up then I need to move over to the right just a tad to get back over the problem description before I can see the popup for that and/or click it to see the auto-resolutions.
screenshot
Anyone have any idea what setting I messed with that caused this so I can undo it?
Disable "Expand vertical ruler icons upon hovering" option in Windows > Preferences > Java > Editors > Hovers
Note that the change will take effect only after closing and reopening the editor.
See this bug for more details.

JBehave Eclipse Plugin do not react on Ctrl+F

I'm using JBehave and its companion plugin with Eclipse, which is fine, but there is something that makes me mad, it DO NOT react when I hit Ctrl+F, which I expect to open the search dialog box.
I crawled a bit on the internet but except some messages on the mail archive (https://www.mail-archive.com/user#jbehave.codehaus.org/msg02382.html) stating the same problem, I did not found any answer until then.
I finally found a way to circumvent the problem, and I feel it may be of some use to other people so here it is :
I opened the Preferences > Keys and copied the "Find and replace text".
On the copy, I chose to set "When" to "JBehave Story Editor", and "Binding" to "Ctrl+F"... and surprise ! It then showed me that it conflicted with a "Format Table" command in this particular "When" context.
Curiously, this mapping is not shown when I enter "Ctrl+F" in the filter text area...
Actually, the whole "JBehave Story Editor" When context seems totally invisible in the Keys list.
Anyway, I somehow fixed the problem by setting "Ctrl+Shift+F" to the duplicated "Find and Replace" with When set to "JBehave Story Editor", which works fine.
By the way, I discovered that when selecting a JBehave table and hitting Ctrl+F, it actually pretty-print it with appropriate padding in the cells to make the column align nicely :)
UPDATE
Actually I found how make "JBehave Story Editor" shortcuts appear in the list :
In Preferences > Keys, hit Filters... and uncheck "Filter uncategorized commands".
Then "Format Table" appears, and it is then possible to remap it to Ctrl+Shift+F for example.
The "Find and replace text" duplication is no more needed :)

How to clear the editor from the search results but still keep view in Eclipse

Right now Eclipse clears the editors highlights and from the view. Is it possible to clean the editor and still the results handy?
Go to Window->Preferences->General->Editors->Text Editors->Annotations. In annotations types select "Search results" type. Deselect "Vertical ruler" and "Text as" check box.