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.
Related
In VSCode it is possible to filter warnings and errors by level via "Show Errors", "Show Warnings", "Show Infos" checkboxes. But those only affect the "Problems" panel.
Is there a way to similarly filter the squiggles that underline the source code that causes those warnings?
For example, I would like to see errors (= red squiggles) but not warnings or info-level hints (yellow and blue squiggles).
Ideally this would be a workspace-level configuration.
I expect this to be a language-agnostic feature, but I'm using Python with Pylint through Microsoft's extension.
Is it possible to disable formatting and colors to source code in Eclipse.
I want my java code look like the poor notepad (black and white, etc). don't ask why, I just need answers. Thanks.
I don't think there is a quick way to do this as it is such an unusual thing to do. But you can change the syntax coloring options in the Preferences in 'Java > Editor > Syntax Coloring'.
Changing syntax coloring options as suggested earlier is a good way to achieve that.
You can also consider just not using the Java editor and using the plain text editor instead: to do so, either open your files with right-click > Open With > Other... and select the regular Text Editor. From the Editor Selection dialog, you should be able to override the default editor for your Java files to this Text Editor.
Note that the text editor doesn't provide completion, or documentation on hover, but you'll still get validation/problem reporting.
I want to disable brace contents highlighting in RubyMine. It's very distracting. Instead of having the entire string highlighted I only want the braces themselves highlighted and if that is not possible I need it disabled. Is this possible?
Things I've done already to no success:
Enabled/disabled all highlight options under Settings/General to no
effect. I'm running RubyMine v8.0.3.
Read the documentation.
jetbrains.com/idea/help/highlighting-braces.html?search=highlighting
I've also read this document that states how to disable highlighting
of usages by simply pressing escape - it does not work.
jetbrains.com/idea/help/highlighting-usages.html#3
current brace highlighting that I need disabled
Your file type seems to be HAML.
In Settings, go to Editor > Colors & Fonts > HAML. In the lower right area, you see demo code in HAML. Look for the right spot in the code and click on it.
You will probably click on the second line because there is some code in braces. In this case, RubyMine will select the entry Injected code in the list. The check box Use inherited attributes tells you that this settings is inherited.
Now you have to choose:
If you want to change the setting for Editor > Colors & Fonts > HAML - Injected code, switch off Use inherited settings, then switch off "Background".
If you want to the settings for injected code in all languages: Click on the link "General" (on the right). RubyMine will switch to Editor > Colors & Fonts > General - Injected language frament. Now switch off "Background"
Before modifing anything, you have to create a new scheme. The default scheme is read only. Click on Save As..., choose a name and press 'OK'.
Open the Settings/Preferences dialog.
In the Editor page of the IDE Settings, select the check box Highlight usages of element at caret to enable automatic usage highlighting.
I love the Moonrise UI theme for Eclipse. However I have grown less fond of Eclipse and am trying to switch to IDEA. One of the things I miss most though with the Moonrise theme is how nicely it highlights compile errors and warnings. It highlights the text background red and yellow respectively.
Errors and warnings in IDEA's Darcula theme, however, are not so obvious.
How do I modify the Editor pane colors in IDEA to format errors/warnings exactly like Eclipse Moonrise and highlight the background red/yellow?
Go to Settings/Editor/Colors and Fonts. If you haven't modified the theme before, save it first using Save As... button, because you can't modify the default one.
Then go to General and find Error and Warning items in the list. Uncheck the Error Stripe Mark and Effects checkboxes and check the Background checkbox. You can then select the color by clicking on the color selector next to the checkbox.
Screenshot:
I develop plugin for eclipse, which marks some location in files. Also, user must have ability to do some actions with this markers, something like this list of actions in spellchecker:
http://i.stack.imgur.com/euB3g.png
but the only realization i've found is http://wiki.eclipse.org/FAQ_How_do_I_implement_Quick_Fixes_for_my_own_language%3F
which implements quick fixes list which looks more like autocompletion list (screenshot is in article above).
So how i can implement list of quick fixes, which will be shown in marker's tooltip? This must work in any editor, or at least in CDT's editor and default text editor in eclipse.
The Eclipse Wiki article you reference is the correct way to add quick fixes. The quick fixes are associated with markers which may appear in your editor (if they are associated with a resource and line number).
There are several ways markers and their quick fixes are visible. In the java editor, markers by default appear highlighted with an icon in the ruler. Clicking on the icon, hitting ctrl+1 while editing that line, or hovering over the marker will open a popup with quickfixes.
Markers are also visible in the problems view. Similarly you can use the context menu or Ctrl+1 to open possble quickfixes.