美文网首页
sublime text3使用正则表达式删除注释

sublime text3使用正则表达式删除注释

作者: 牛牛爱耍酷 | 来源:发表于2020-01-19 19:06 被阅读0次

1.点击view=>replace:

2.点击".*":

3.去除注释:

(Replace栏无需输入)

Python/Makefile: 输入# .*

C#/C/C++:输入 \/\* .* \*\/ (/* xxxx */ 注释)

                  输入 // .* ( // xxx注释)

汇编:输入 ; .*

点击Replace!!!!!!

相关文章

网友评论

      本文标题:sublime text3使用正则表达式删除注释

      本文链接:https://www.haomeiwen.com/subject/aldkgqtx.html