Aptana Studio's standard PHP Bundle provides us with some snippets for the most commonly used PHPDoc Comments. However, as we have already mentioned, you're also able to extend the snippets and create some new PHPDoc Comments that are much more specialized to your needs.
Here is a complete list of predefined PHPDoc Comments and their trigger keywords:
Trigger |
Title |
---|---|
Class | |
Class Variable | |
Constant Definition | |
Function | |
Function Signature | |
Header | |
Interface |
However, it must be said that in very dynamic PHP code, the Content Assist feature doesn't always have an easy job. In some cases, it may not be possible to determine the type of variable and so the Content Assist feature isn't able to provide correct suggestions for it. In this instance you will need to support the Content Assist feature and declare the type with a small PHPDoc Comment. In the following screenshot, you will...