Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netbeans - Hide warnings during diff

Tags:

diff

netbeans

I'm starting to use Netbeans (PHP) 8.0.2 for regular web projects (php/js/css). Is there a way to avoid having the diff sidebar polluted by all the warnings ?

While those warnings are a rather good thing to notice, they are not of any use during a diff, and can make the real differences hard to notice. (in this attached capture, only 1 change out of 7 is visible in the bar !) enter image description here

My searches gave me a way to disable warnings in tools->options->editor->hints->[choose language], but it also removes their display in other views, which of course is not the best way to help improving the codebase, or notice mistakes.
I also discovered a simple hack to silent a precise warning in this thread : How to supress a warning in PHP files for Netbeans?, but it's not what I need either, since I can't rewrite the whole code, especially with such an arguable and specific hack.

I'm new to Netbeans, and the diff I had in Eclipse seemed way better (at least, on the first glance). A configuration setting, or even a plug-in to improve that would be much appreciated !

like image 627
Balmipour Avatar asked Nov 09 '22 05:11

Balmipour


1 Answers

There should be no need to disable the warnings on the side since diffs are shown in the center and highlighted on both sides.

Screenshot of actual diff

like image 144
WillShackleford Avatar answered Dec 24 '22 18:12

WillShackleford