junichi11 opened a new pull request, #5701:
URL: https://github.com/apache/netbeans/pull/5701

   - https://github.com/apache/netbeans/issues/4494
   - Add a new test method for checking documentation when a `QueryType` is 
`DOCUMENTATION` to `CslTestBase`
   - If `QueryType` is `DOCUMENTATION`, get a whole identifier as a prefix
   - Add unit tests
   
   ### Example
   ```php
   <?php
   
   /**
    * function gh4494.
    *
    * @return void
    */
   function gh4494(): void {
       
   }
   
   /**
    * function gh4494_aa().
    *
    * @return void
    */
   function gh4494_aa(): void {
       
   }
   
   /**
    * function gh4494_aa_bb().
    *
    * @return void
    */
   function gh4494_aa_bbb(): void {
       
   }
   
   /**
    * function gh4494_aa_bb_cc().
    *
    * @return void
    */
   function gh4494_aa_bb_cc(): void {
       
   }
   
   gh4494_aa_bb_cc();
   
   ```
   #### Before:
   
   
![nb-php-4494-before](https://user-images.githubusercontent.com/738383/226986882-e47b7bf3-1b67-4ee0-b336-dec771607281.gif)
   
   #### After:
   
   
![nb-php-4494-after](https://user-images.githubusercontent.com/738383/226986903-33303dac-ba4d-4370-ac1b-fb64ceb2da89.gif)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to