alex-code opened a new issue, #4629:
URL: https://github.com/apache/netbeans/issues/4629

   ### Apache NetBeans version
   
   Apache NetBeans 15 release candidate
   
   ### What happened
   
   I'm on NB15 using it for PHP dev.
   
   When changing an existing visibility declaration on a class property or 
method pressing enter or clicking it from the auto complete list will remove it.
   
   ### How to reproduce
   
   Create a new method in class.
   ```php
   private function test() {}
   ```
   Highlight `private` and start to type `pu` to get the auto complete list.
   
![image](https://user-images.githubusercontent.com/1797626/189904691-743a66ca-d5f0-441f-b0cb-2f7b338863e3.png)
   Hit enter or double click `public` from the list.
   
   The visibility declaration is cleared.
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 14
   
   ### Operating System
   
   Windows 10 Pro
   
   ### JDK
   
   13.0.2+8
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
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