Disable Netbeans exception report window - netbeans

I need to disable the "Exceptions" window that pops when you encounter an IDE error in Netbeans - I always report when I can but is driving me crazy right now.
Don't get me wrong, I love the application, but I'm getting tired of the errors on my screen, sometimes needing to delete a file and create him again to enable me to continue.
I can drag it to the side but my mouse loses focus.
I'm using Windows 7 and latest version of Java (netbeans PHP ide)
Is this possible?

You need to modify <netbeans-install-dir>/etc/netbeans.conf
Add
-J-Dnetbeans.exception.alert.min.level=99999 -J-Dnetbeans.exception.report.min.level=99999
to the netbeans_default_options entry.

You have to set some properties when launching Netbeans. Modify your application configuration in "nbproject/platform.properties" by finding a line run.args.extra=... and adding at the end:
-J-Dnetbeans.exception.alert.min.level=99999 -J-Dnetbeans.exception.report.min.level=99999
You'll find the details in Netbeans' wiki.

I would recommend using -J-Dnetbeans.exception.report.min.level=99999 but not the other one. This means the error icon will still appear when there is a problem, and you can report the error if you have a moment, but no dialog will pop up without your asking it to.

Related

Netbeans has phantom html error

Using Netbeans 8.0.2, I'm getting an error (red circle/exclamation mark) on the tab for the html file, but there is no error shown in the html itself:
While just an irritant, it does keep drawing my eye to it. I'd like to make it either go away or show exactly where the error is, but I can't find anything online about this particular problem.
Two more things to try:
check Action Items window to see if there is something (Window->Action Items)
could be issue of NetBeans - check IDE log if there is some exception via View->IDE log
I usually just add a space in the file and then save it. It is annoying but it does the job.

Eclipse IDE lost popup menu suggestions

I've seem to have lost the ability in my Eclipse to auto-correct errors in my source code lines.
For example, a line like this:
Date date = new Date();
has red jagged lines beneath the Date() part. Previously I could mouse hover over it see a popup menu of options to fix it. Now I all I ever get is a popup with the text "Cannot resolve to a type".
The only change I can think of that I've made and I don't know if it has anything to do with this problem, is that I started editing my .java files with an outside editor. Then focusing back into Eclipse I get a popup saying the source has changed and do I want to update so I say OK.
Sometimes I will edit inside Eclipse and sometimes i will edit the source outside of Eclipse. I'm not sure if this is a bad practice or not?
Its your wish to edit Java files outside or inside eclipse. But Java editor has many features which are very helpful to developers. I suggest to edit Java files inside eclipse only.If you find other editors are good or you used to it then no problem you can edit Java files out side eclipse also. The problem you mentioned in not related to it. But make sure that changes are applied before building project in eclipse.
Solution
This occurs whenever there are multiple classes are available with the same name in you build path then eclipse don't know which one to import by default. So keep the caret on the error line and press Ctrl+1. Then a eclipse gives options to user to import one among these. See the picture below. Choose the right one then error will disappear.

Eclipse freezes on suggestion popup

I am having a problem in Eclipse where it freezes whenever I add a period (to try to bring up the content assist popup with possible methods). I can move the mouse, but the blinking text cursor disappears, I can't switch tabs or save, and I need to use a task manager to close Eclipse. This happens with all Java projects/files.
I have never had a problem like this with Eclipse before, and can't tell what started it. After doing several Google searches, all I found was this bug. However, I don't see a solution and am running Windows 7, not Linux. Also, I have never heard of Xulrunner. Does anybody have a solution or explanation? Is it an Eclipse setting, or a problem with my computer?
Error Log: https://dl.dropboxusercontent.com/u/101364250/eclipse_freeze.log
When I watched the error view, it seemed to output "Unhandled event loop exception" a lot.
For now, I have disabled the content assist, which seems to fix the problem.
However, this feature is very helpful, so any answers are appreciated!
Try opening Preferences and tick "Suspend all validators".
Try disable the hovers feature:
eclipse menu: Wndow > Preference

How can I close an empty pane in Eclipse

I often end up with lots of empty panes in Eclipse that can only be minimized but not destroyed. How do I close these?
Update:
In this screenshot you can see two minimized on the upper left and several on the right hand side. In the center are four more. They only seem to be restorable in the Debug mode.
http://img406.imageshack.us/img406/9900/eclipse1.png
this happened to me, too. What worked for me (based on FilmJ and douncon's comments) was to open a class file, then drag that tab over the top of the empty pane.
Select Window -> Reset Perspective. That should reset the current perspective (what you call "mode") to its' initial state, (hopefully) closing all irrelevant views.
Something seems terribly wrong with your Eclipse. Maybe you should reinstall it. It is possible that you installed a buggy plugin.
First of all, what do you mean by pane? Eclipse has:
Windows (Eclipse itself, e.g. instance)
Documents (tabs)
Views (properties, tasks, explorer, etc)
If by 'pane' you mean document editors, you have problems either with your Eclipse version or most likely one of the installed plugins.
Each View also can be closed (except maybe some project types (perspectives) of which I'm not aware). For CDT (C/C++) you can close practically everything.
I'll recommend you download latest Eclipse version with no plugins, extract it to different folder, and check if that happens again. If yes, please explain more in details (like Eclipse version, perspective you are using, any side plugins, etc).
Also a good places are Eclipse community forum, mailing list and bugz :-)
I had the same problem. For me it helped to go into the right perspective and activate the functionality that caused the window in the first place. Once I reactivated the functionality, in my case "QNX Memory Analysis perspective", I was able to close all the windows one by one.
The conclusion is you have to refill the empty windows with content and then you will be able to close them properly.
So, it's really very easy for this to happen, if you open an editor that's incompatible with the existing editor, you can often end up having to place it outside of the tab list in one of your editor panes, then you might clear or copy that, typically while trying to add that view to a tab list.
In any case, what it's done is create a new editor, and all you need to do is drag some file to that empty editor window giving it some form of context, then close it.
I had the same issue. I followed #zvikico, but instead of just resetting, I first reset and then closed all the perspectives. Please follow the following to fix the problem. It worked for me:
Window -> Perspective -> Reset perspective..
After resetting follow below:
Window -> Perspective -> Close All Perspectives

Eclipse (3.4): how to get Problems to appear automatically if one has errors?

When I build my projects in FlexBuilder, I want to see any errors immediately; I don't want to have to hover or open the Problem pane every time, nor do I want to always leave it open.
Any ideas?
I do not think this is a problem.
As far as I know the Eclipse settings and there is no such.
You can use shortcut keys SHIFT+ALT+Q and press X to fast open the problem panel.