Some features described here are available in Ultimate edition only.
creates stubs of PHPDoc blocks
on typing the opening tag /**
and pressing EnterEnter.
If this feature is applied to a method or a function,
@param, @access, @static,
@throws, and @abstract tags are created.
In any other places IntelliJ IDEA adds an empty documentation stub.
If you need additional PHP-specific tags,
IntelliJ IDEA provides code completion that suggests tag names that are relevant in the current context.
If a certain tag has multiple values, the same code completion provides a list of available values.
In PHPDoc comments, IntelliJ IDEA supports the following formatting options in compliance with ZEND, PEAR, and other standards:
- Align parameter names
- Align tag comments
Align key-value pairs
Align consecutive assignments
PHPDoc comments in your source code are available for the
Quick Documentation Lookup
feature and open for review on pressing Ctrl+QCommand J.