/idea-php-typo3-plugin

TYPO3 CMS Plugin for IntelliJ IDEA / PhpStorm

Primary LanguageJavaMIT LicenseMIT

TYPO3 CMS Plugin for IntelliJ IDEA / PhpStorm

TYPO CMS Plugin in Jetbrains plugin repository

Installation

On PhpStorm or IntelliJ:

  • open "File" -> "Settings"
  • select "Plugins"
  • select "Browse Plugins"
  • search "TYPO3 CMS Plugin"
  • choose the plugin in the left pane, click the install button in the right pane
  • hit apply, close the window
  • restart your IDE
  • profit!

Features

  • TypeProvider for GeneralUtility::makeInstance
  • TypeProvider for GeneralUtility::makeInstanceService
  • TypeProvider for ObjectManager::get
  • TypeProvider for $GLOBALS['TYPO3_DB'], $GLOBALS['TSFE'] and $GLOBALS['BE_USER']
  • CompletionContributor for UriBuilder::buildUriFromRoute and BackendUtility::getAjaxUrl
  • CompletionContributor for IconFactory::getIcon
  • Annotator for both valid and invalid route references to make them distinguishable from normal strings
  • Annotator for both valid and invalid icon references to core-defined icons
  • LineMarkerProvider to allow quick navigation to the route definition
  • Inspection: Extbase @inject property injection + QuickFix
  • Experimental: Generate Fluid Styled Content Element (please report bugs!)

Credits

Thank you to Daniel Espendiller and Adrien Brault for providing their Symfony2 Plugin in the first place. It is a great inspiration for possible solutions and parts of the code.

Icons

Icons used in this project are provided by:

  • Göran Bodenschatz (@coding46)
  • TYPO3.Icons (MIT Licensed)

License

MIT