There is an option in the code inspection dialog to automatically add all
main methods as entry points. You can also right click on any method marked
as unreachable and click "Add as entry point".

-- Mark

-----Original Message-----
From: Timothy M. Dean [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 11, 2002 03:28p
To: [EMAIL PROTECTED]
Subject: [Eap-list] Unreachable code flagging main method


Build #611
JDK 1.3.1
Win 2K

I have a project with a main method in one of the classes. The editor
doesn't flag this menu as unused, but when I execute the code inspection
feature my main method is marked as unused. It seems like the main
method should not be flagged as unused, at least if the main has been
identified within the run configuration of my project.

- Tim


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to