24 plugins in category «Plugin development»
Just point the cursor on the dimension and generate
Scaling factors are as follows
- 1.0 -> mdpi
- 1.2 -> hdpi
- 1.8 -> xhdpi
- 2.4 -> xxhdpi
- 3.0 -> xxxhdpi
Just open a source file extending AnAction, IntentionAction, or LocalInspectionTool and hit Ctrl-Shift-F10 to run it, just like a JUnit test or Java Application. It will be installed in your current IDEA instance and ready to go. To uninstall, just click the X in the Run Configuration window. HotPlugin can display System.out.println() calls in the window, and monitor the idea.log file to help with debugging.
- Intentions should appear immediately, as a light bulb, when the isAvailable() method returns true.
- Inspections should appear after a code change, if one of the check methods return a ProblemDescriptor. Note that you might have to enable it in the Errors settings window if you haven't overridden isEnabledByDefault()
- Actions will be linked to a button on the Run Configuration window, and context menu items on the editor and project windows. Just click them to activate the action.
Due to IDEA's plugin system, HotPlugin can't test all types of plugins, particularly ones dealing with interaction with other components and saving configuration but is good for rapid development and testing parts of a plugin. When you get to the stage of testing the whole plugin, use the standard DevKit "Plugin" run configuration to start a new instance of IDEA and test your plugin fully.
Note that it is possible to write code that will mess up your current IDE session by going into infinite loops or manually adding listeners to IDE hooks which can't be cleaned up. If this happens, a restart of IDEA will reset everything.
Enjoy. Any suggestions for enhancements are welcome. The source is available via Subversion at http://svn.roblisa.com/plugins/HotPlugin/
This plugin is useful if:
- You wish to test a plugin locally before uploading to the repository
- You are unable to test a plugin within the sandbox due to memory constraints
- You are developing a proprietary plugin and do not wish to upload to the repository
Once you have prepared your plugin module(s) for deployment using Build/Prepare Plugin Module for Deployment, the option to Install Plugin Locally will appear in the Build menu.
Note: it makes no sense to install this plugin if you don't contribute to IntelliJ IDEA sources. Also the plugin requires connection to a server which isn't accessible outside of JetBrains internal network.
To get started:
- open "Plugins" tool window
- select one of the plugin entries in the panel (entries are folders, and "plugin.groovy" are startup scripts for plugins)
- click "Run" icon to execute plugin (or use keyboard shortcut "alt+C, alt+E" or "ctrl+shift+L")
- modify "plugin.groovy" and rerun plugin to see results
- add built-in plugin examples and experiment with them
- for more details see readme on GitHub
(To use alt+... shortcuts on OSX with JDK8 you might need to edit keyboard layout, please see this wiki page.)
The Plugin Error Report Submitter is a plugin for plugin developers to receive email notification about errors reported by plugin users through IDEAs error reporting integration. Submitted error reports are sent to a server who will forward the reports to the owning plugin author(s) by email. The email addresses of the recipients are first extracted from the plugin descriptor but can be overwritten through a properties file if shipped along with the actual plugin.
This Plugin Error Report Submitter should make it obsolete for plugin users having to post plugin error messages on the IDEA mailing list, which is quite a cumbersome thing to do and which possibly led to many unreported errors.
The Plugin Error Report Submitter binary can be found in your personal IDEA plugins folder (plugins\PluginErrorReportSubmitter\errorReporter.jar) and documentation is available in the jar file's README.txt or online (see plugin home page link).
The upload functionality can be accessed from the Tools menu, selecting the Upload Plugin... menu item. Specify the path to the plugin .jar or .zip file to upload, enter the id of the plugin as defined by the IDEA Plugin Repository, optionally add a message for the RSS feed, and finally provide your IDEA Plugin Repository authentication credentials.
Note: The id of the plugin as defined by the IDEA Plugin Repository can be determined by browsing to the web page of the plugin and extracting the id from the URL. For example, the URL of the SimpleIntentions plugin is http://plugins.intellij.net/plugin/?id=59, hence the id required for its upload from within IDEA is 59.
1. Select .java or .xml(layout resource) files
2. Key down ALT + T
3. Configure template info
4. Restart your IDE and try it
most HTML tags may be used