The PHP IDE PhpStorm by JetBrains still enjoys great popularity in the TYPO3 community. Since 2012 JetBrains offered a plugin which enables basic TypoScript language support in PhpStorm but this plugin will not be supported any more.
In May 2014 Stefan and Fabian Galinski started the work on a new TypoScript Plugin with an improved feature set. The most recent version, which was released a couple of days ago, now supports TypoScript for TYPO3 CMS and TypoScript2 for TYPO3 Neos!
Here is a list of the current features:
TypoScript2 (Neos) Feature Highlights:
- Code Highlighting
- Code Folding
- Code Formatting
- Error Detection
- Breadcrumb
TypoScript (TYPO3 CMS) Feature Highlights:
- Code Highlighting
- Code Folding
- Code Formatting
- Code Auto Completion with multi file support
- Code Type Annotation
- Code Documentation (Ctrl+Q on Windows/Unix, Ctrl-J on Mac)
- Error Detection
- Structure Tree
- Breadcrumb, can be disabled in the TypoScript settings (File -> Settings -> IDE Settings -> TypoScript)
The plugin can handle the inheritance of your own code:
The TypoScript code value annotation is an additional feature for the code auto completion.
You can assign a specified data value for any keyword to let PhpStorm know, how to handle keywords that are not defined inside the project or the included tsref.xml.
For many TypoScript keywords there is online documentation available. Simply move the cursor over the keyword and press Ctrl+Q on Windows/Unix or Ctrl-J on Mac:
A short YouTube video also shows the possibilites of the TypoScript plugin:
I think this plugin is very useful and I use it a lot in my daily work. For me the most important feature for the future is TypoScript2 Autocompletion.
What do you think of this plugin? Do you like it? The developers would really like to hear your feedback, either in the comments to this article or in the issue tracker or the comment section in the plugin repository. If you like the plugin, please comment and rate it in the plugin repository!
Additional links:
- Project website (german only)
- Issue Tracker for bugs and feature requests
- Follow Git Commits
- TypoScript Plugin in the JetBrains Plugin Repository