* Initial revision * Add actions and plugin config * Add language tag to search action * Cleanup before submitting
		
			
				
	
	
		
			62 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			62 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<idea-plugin>
 | 
						|
  <id>com.baeldung.intellij.stackoverflowplugin</id>
 | 
						|
  <name>Stack Overflow Plugin for IntelliJ</name>
 | 
						|
  <version>1.0</version>
 | 
						|
  <vendor email="eugene@baeldung.com" url="http://www.baeldung.com">Baeldung</vendor>
 | 
						|
 | 
						|
  <description><![CDATA[
 | 
						|
      Plugin to help search Stack Overflow from inside IntelliJ
 | 
						|
    ]]></description>
 | 
						|
 | 
						|
  <change-notes><![CDATA[
 | 
						|
      <ul>
 | 
						|
        <li>1.0 - Initial release</li>
 | 
						|
      </ul>
 | 
						|
    ]]>
 | 
						|
  </change-notes>
 | 
						|
 | 
						|
  <!-- please see http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/build_number_ranges.html for description -->
 | 
						|
  <idea-version since-build="173.0"/>
 | 
						|
 | 
						|
  <!-- please see http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/plugin_compatibility.html
 | 
						|
       on how to target different products -->
 | 
						|
  <!-- uncomment to enable plugin in all products
 | 
						|
  <depends>com.intellij.modules.lang</depends>
 | 
						|
  -->
 | 
						|
 | 
						|
  <extensions defaultExtensionNs="com.intellij">
 | 
						|
    <!-- Add your extensions here -->
 | 
						|
  </extensions>
 | 
						|
 | 
						|
  <actions>
 | 
						|
 | 
						|
    <!-- Add Ask question action to Tools Menu -->
 | 
						|
    <action id="StackOverflow.AskQuestion.ToolsMenu"
 | 
						|
            class="com.baeldung.intellij.stackoverflowplugin.AskQuestionAction"
 | 
						|
            text="Ask Question on Stack Overflow"
 | 
						|
            icon="so-icon-16x16.png"
 | 
						|
            description="Ask a Question on Stack Overflow">
 | 
						|
      <add-to-group group-id="ToolsMenu" anchor="last"/>
 | 
						|
    </action>
 | 
						|
 | 
						|
    <!-- Add action to search Stack Overflow from file editor -->
 | 
						|
    <action id="StackOverflow.Search.Editor"
 | 
						|
            class="com.baeldung.intellij.stackoverflowplugin.SearchAction"
 | 
						|
            text="Search on Stack Overflow"
 | 
						|
            icon="so-icon-16x16.png"
 | 
						|
            description="Search on Stack Overflow">
 | 
						|
      <add-to-group group-id="EditorPopupMenu" anchor="last"/>
 | 
						|
    </action>
 | 
						|
 | 
						|
    <!-- Add action to search Stack Overflow from console editor -->
 | 
						|
    <action id="StackOverflow.Search.Console"
 | 
						|
            class="com.baeldung.intellij.stackoverflowplugin.SearchAction"
 | 
						|
            text="Search on Stack Overflow"
 | 
						|
            icon="so-icon-16x16.png"
 | 
						|
            description="Search on Stack Overflow">
 | 
						|
      <add-to-group group-id="ConsoleEditorPopupMenu" anchor="last"/>
 | 
						|
    </action>
 | 
						|
 | 
						|
  </actions>
 | 
						|
 | 
						|
</idea-plugin> |