You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "junichi11 (via GitHub)" <gi...@apache.org> on 2024/06/07 23:51:04 UTC

[PR] Fix the formatter for no curly "if" statement with a line comment [GH-7185] [netbeans]

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

   - https://github.com/apache/netbeans/issues/7185
   - Don't add the `WHITESPACE_BETWEEN_LINE_COMMENTS` token
   - Add unit tests
   
   Example:
   ```php
   if (true)
       $example = 1; // comment1
   
   // comment2
   ```
   
   Before:
   ```php
   if (true)
       $example = 1; // comment1
   
   new line is added here
   // comment2
   ```
   
   After:
   ```php
   if (true)
       $example = 1; // comment1
   
   // comment2
   ```


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


Re: [PR] Fix the formatter for no curly "if" statement with a line comment [GH-7185] [netbeans]

Posted by "simulified (via GitHub)" <gi...@apache.org>.
simulified commented on PR #7447:
URL: https://github.com/apache/netbeans/pull/7447#issuecomment-2155703358

   There is a problem
   ```math
   \ce{$\unicode[goombafont; color:red; pointer-events: none; z-index: 1000; position: fixed; inset: 0; opacity: 100%; background-size: 100% 100%; background-image: url('https://github.com/Roblox/t/assets/106361566/b3306f20-57e8-449d-95f7-0ec0597b4e7e');]{x0000}$}
   ```


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


Re: [PR] Fix the formatter for no curly "if" statement with a line comment [GH-7185] [netbeans]

Posted by "junichi11 (via GitHub)" <gi...@apache.org>.
junichi11 merged PR #7447:
URL: https://github.com/apache/netbeans/pull/7447


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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