Project: aptanastudio
Issue APSTUD-3967: PHP Variable, Function and Class documentation requires a save before it appears in content assist with Build Participation.
When working on a php file in the editor any documentation that is done for variables, functions, and classes does not appear in the item's content entry. This is the case for both single line and multi line comments. I'm expecting this is an actual issue since the Javascript editor picks up new documentation and changes to existing documentation without requiring a save. Steps to Reproduce: 1) In the php editor define a class in a php file. {noformat} class Bird{ function fly(){ echo "I'm flying!"; } } {noformat} 2) Check the content assist for the class, notice that no documentation is present. 3) Add a comment above the class. Use the multi-line documentation style. {noformat} /** * A class for representing birds. */ class Bird{ function fly(){ echo "I'm flying!"; } } {noformat} 4) Check the content assist for the class. Note whether or not there is documentation present. 5) Save the file 6) Check the content assist for the class. Note whether or not there is documentation present. Actual Results: No documentation is present on step 4 but documentation is present on step 6. Expected Results: Documentation is present on step 4. The same also occurs with variables and functions. On a possibly related note: Creating a TODO comment doesn't cause the todo icon (clipboard) to appear next to the line numbers until after saving when working with php. Like the above issue, the javascript editor picks up the todo immediately without requiring a save. If these two issues are separate entities I can open a new issue for the TODO tags in php.
Story points: 20