mbien commented on issue #7078:
URL: https://github.com/apache/netbeans/issues/7078#issuecomment-1952730925

   right I think it is two things we see here:
    1) the UI code which builds the "rewrite to" string was wrong (it had 
multiple issues). I didn't know that at first and assumed that something was 
wrong in jackopt itself, so I tried to fix a problem which wasn't there and 
looked at the wrong code
    2) there is still likely something wrong with `$mods$` since some rules 
don't seem to match when they probably should
   
   regarding 1): taking your example:
   ```java
   "name test":
   $mods$ $type $name = new $T();
   =>
   Object o = $name;
   ;;
   ```
   
   NB 21:
   
![image](https://github.com/apache/netbeans/assets/114367/63f0d195-05a1-4075-a5bb-b2921a97d93a)
   
   https://github.com/apache/netbeans/pull/7075 applied:
   
![image](https://github.com/apache/netbeans/assets/114367/f34e748f-aec8-4f8d-997a-1daa098f9e3b)
   
   


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