Remove Comments Extension for Nova editor

I’ve released a new extension for the Nova editor.

It’s called Remove Comments and it …removes comments from the current line, or selected lines, in your code. That’s it!

Oh, I’ve tried to support as many comment/syntax formats as I can think of. Sadly it’s not possible to get the current comment formatting from the Nova API, so I had to roll my own logic and heuristics.

extensions.panic.com/extensions/com.gingerbeardman/com.gingerbeardman.remove-comments/

Examples

JavaScript (C-style comments):

After running Remove Comments:

Python (hash-style comments):

After running Remove Comments:

HTML:

After running Remove Comments:

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论