Files
plugin
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
<html> <title>Readme</title> <style type="text/css"> .S0 { font-family: Verdana; color: #000000; font-size: 10pt; } .S1 { color: #000080; } .S3 { color: #008080; } .S6 { color: #7F007F; } .S8 { color: #800080; } .S9 { color: #808000; } .S11 { color: #000080; } span { font-family: Verdana; font-size: 10pt; } </style> <body bgcolor="#FFFFFF"> <h1>Installation</h1> <p>Every plugin should be placed to the IDEA_HOME\plugins folder. It may be in jar or just a folder.<br> </p> <p>Plugin is in jar:</p> <pre>IDEA_HOME<br> Plugins Sample.jar/ com.intellij..... ... ... META-INF plugin.xml </pre> <p><br> Plugin is a folder: </p> <pre>IDEA_HOME<br> Plugins Sample lib classes com.intellij..... ... ... META-INF plugin.xml </pre> <p>Classes and lib folders are automatically added to the classpath.</p> <h1>Plugin configuration (plugin.xml)</h1> <p><span><span class="S1"><idea-plugin></span><span class="S0"><br /> </span> <span class="S9"><!-- plugin name --></span><span class="S0"><br /> </span> <span class="S0"> </span><span class="S1"><name></span><span class="S0">Sample</span><span class="S1"></name></span><span class="S0"><br /> </span> <span class="S9"><!-- description --></span><span class="S0"><br /> </span> <span class="S0"> </span><span class="S1"><description></span><span class="S0">SamplePlugin</span><span class="S1"></description></span><span class="S0"><br /> </span> <span class="S9"><!-- plugin versuin --></span><span class="S0"><br /> </span> <span class="S0"> </span><span class="S1"><version></span><span class="S0">1.0</span><span class="S1"></version></span><span class="S0"><br /> </span> <span class="S0"> </span><span class="S1"><vendor></span><span class="S0">IntelliJ</span><span class="S1"></vendor></span><span class="S0"><br /> </span> <span class="S9"><!-- minimum and maximum IDEA version plugin is supposed to work with --></span><span class="S0"><br /> </span> <span class="S0"> </span><span class="S1"><idea-version</span><span class="S8"> </span><span class="S3">min</span><span class="S8">=</span><span class="S6">"3.0"</span><span class="S8"> </span><span class="S3">max</span><span class="S8">=</span><span class="S6">"3.1"</span><span class="S11">/></span><span class="S0"><br /> </span> <span class="S9"><!-- application components of the plugin --></span><span class="S0"><br /> </span> <span class="S0"> </span><span class="S1"><application-components></span><span class="S0"><br /> </span> <span class="S0"> </span><span class="S1"><component></span><span class="S0"><br /> </span> <span class="S9"><!-- component implementation class --></span><span class="S0"><br /> </span> <span class="S0"> </span><span class="S1"><implementation-class></span><span class="S0">com.intellij.openapi.samples.SampleApplicationPlugin</span><span class="S1"></implementation-class></span><span class="S0"><br /> </span> <span class="S9"><!-- component interface class --></span><span class="S0"><br /> </span> <span class="S0"> </span><span class="S1"><interface-class></span><span class="S0">com.intellij.openapi.samples.SampleApplicationPlugin</span><span class="S1"></interface-class></span><span class="S0"><br /> </span> <span class="S0"> </span><span class="S1"></component></span><span class="S0"><br /> </span> <span class="S0"> </span><span class="S1"></application-components></span><span class="S0"><br /> </span> <span class="S9"><!-- project components of the plugin --></span><span class="S0"><br /> </span> <span class="S0"> </span><span class="S1"><project-components></span><span class="S0"><br /> </span> <span class="S0"> </span><span class="S1"><component></span><span class="S0"><br /> </span> <span class="S0"> </span><span class="S1"><implementation-class></span><span class="S0">com.intellij.openapi.samples.SampleProjectPlugin</span><span class="S1"></implementation-class></span><span class="S0"><br /> </span> <span class="S0"> </span><span class="S1"><interface-class></span><span class="S0">com.intellij.openapi.samples.SampleProjectPlugin</span><span class="S1"></interface-class></span><span class="S0"><br /> </span> <span class="S0"> </span><span class="S1"></component></span><span class="S0"><br /> </span> <span class="S0"> </span><span class="S1"></project-components></span><span class="S0"><br /> </span> <span class="S1"></idea-plugin></span></span> </p> </body> </html>