Skip to content

PHP_CodeSniffer HowTo change the PHP CodeSniffer marker icon

Sven Kiera edited this page Jul 5, 2015 · 1 revision

WikiToolsPHP_CodeSnifferHowTo change the PHP CodeSniffer marker icon

HowTo change the PHP CodeSniffer marker icon

  1. Choose a new icon, for example ![]

  2. Copy this image icon to /plugins/org.phpsrc.eclipse.pti.tools.codesniffer_X.X.X.RXXXXXXXXXXXXXX/icons

  3. Open /plugins/org.phpsrc.eclipse.pti.tools.codesniffer_X.X.X.RXXXXXXXXXXXXXX/plugins.xml with a text editor

  4. Add the following code to the end of plugin.xml file, but before the closing plugin tag

  1. Change the icon and quickFixIcon attributes to your icon filename
  2. Save the plugin.xml file
  3. Restart your Eclipse with the -clean start-up flag

For more information about annotation specification options see http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/extension-points/org\_eclipse\_ui\_editors\_markerAnnotationSpecification.html

[]: exc_catch.gif