本文介绍了为什么geany使用#〜在bash的,而不是仅仅#评论?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我选择Geany文本块(编辑bash脚本),然后按Ctrl + E发表评论,Geany插入#〜在每行的开头,而不是仅仅#。为什么呢?
When I select a block of text in Geany (editing a bash script) and hit Ctrl + E to comment, Geany inserts #~ at the beginning of every line, instead of just #. Why?
推荐答案Geany是添加〜在#标记这些行作为被切换。按Ctrl + E是toggeling默认注释等等
Geany is adding the ~ after the # to mark these lines as been toggled. Ctrl + E is toggeling the comment in default so
# Original Comment print ("Hello world")变为
#~ # Original Comment #~ print ("Hello world"),然后再返回
# Original Comment print ("Hello world")如果没有一些特殊的记号,这将可能很难认识到什么一直是评论,什么一直正常code。
Without some special marker it would might be hard to recognize what has been comment and what has been normal code.
更多推荐
为什么geany使用#〜在bash的,而不是仅仅#评论?
发布评论