|
|
Write your own detector: Get Code- Import all UCDetector projects using this eclipse project set. Or:
- Check out
projects svn co https://ucdetector.svn.sourceforge.net/svnroot/ucdetector/trunk/org.ucdetector org.ucdetector svn co https://ucdetector.svn.sourceforge.net/svnroot/ucdetector/trunk/org.ucdetector.additional org.ucdetector.additional Create custom markerCreate your own problem markers! I already provided example code for
This code is easy to extend. Look at this example:
protected void handleType(IType type) throws CoreException {
String className = type.getElementName();
if (!type.isAnonymous() && !startsWithUpper(className)) {
markerFactory.createMarker(type,
"Class name must start with upper case");
}
To create your own detector plugin:
|
|
Debug your changesCool: Debug a running eclipse IDE.Create a new Eclipse run configuration. Menu:
|
| Last Update: 2010-08-20 | Copyright © 2010, by Jörg Spieler |
|
Page views since 2008-03-01:
|
Hosted by:
|