TYPO3 CMS Plugin

Compatible with: IntelliJ IDEA PhpStorm
15.04.2017
1 552
TYPO3 CMS Plugin GitHub Repository
beta quality
Features:
Autocompletion enhancements

The plugin reads the local project and tries to parse out usage of well-known APIs and provides you with autocompletion on points it knows for example possible parameter names.

  • Autocompletion for calls to IconFactory::getIcon with available Icons and preview
  • Line marker for Icon-Api usages with jump-to-definition and preview
  • TypeProvider for `$GLOBALS['TYPO3_DB']`, `$GLOBALS['TSFE']` and `$GLOBALS['BE_USER']`
  • Line marker for extbase entities

Service Locator & Extbase Dependency Injection Container

The plugin provides you with greater code stability, since the return types of instance creations are inferred, giving you stable auto-completion and insight into the written code.

  • infer return type of GeneralUtility::makeInstance() calls without meta file
  • infer return type of GeneralUtility::makeInstanceService() calls without meta file
  • infer return type of ObjectManager::get() calls without meta file
Routing
Backend

The plugin parses the available route names in the core and extensions. More precisely it parses the `Configuration/Backend/(Ajax)Routes.php` files.

  • completion for backend route names on BackendUtility::getAjaxUrl()
  • completion for backend route names on UriBuilder::buildUriFromRoute()
  • annotations for both valid and invalid route references
  • line marker to allow quick navigation to the route definition
Code inspections
  • Extbase property injection (@inject) performance inspection

Code generation
  • Fluid Styled Content Element (experimental)

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.

Contributors

Download plugin

Recent change notes

0.1.12
  • Prevent NPE on CE creation
0.1.11
  • Icon API: Parse flag icons
0.1.10
  • Bugfix: Remove entity line marker
  • Stability: Scope icon providers by project and make access synchronized
0.1.9
  • Add generation of Fluid Styled Content elements
  • Change severity of icon not found from error to warning since user icons are not yet supported
  • Add line marker to extbase entities
0.1.8
  • Added TypeProvider for $GLOBALS['TYPO3_DB'], $GLOBALS['TSFE'], $GLOBALS['BE_USER']
0.1.7
  • QuickFix for Extbase property injection
0.1.6
  • New icon for icon type objects
  • Icon name completion for core icons on calls to IconFactory::getIcon
  • Annotators for icon references (with preview and jump-to-definition)
0.1.5
  • New icon for route type objects
0.1.4
  • Annotator for both valid and invalid route references to make them distinguishable from normal strings
  • LineMarkerProvider to allow quick navigation to the route definition
  • Extbase property injection (@inject) performance inspection
0.1.3
  • Added route name completion for BackendUtility::getAjaxUrl()
  • Added route name completion for UriBuilder::buildUriFromRoute()
0.1.2
  • Added TypeProvider for GeneralUtility::makeInstanceService
0.1.1
  • Added TypeProvider for ObjectManager::get
0.1.0
  • Added TypeProvider for GeneralUtility::makeInstance