intellism / vscode-comment-translate

vscode 注释翻译插件, 不干扰正常代码,方便快速阅读源码。
https://marketplace.visualstudio.com/items?itemName=intellsmi.comment-translate
MIT License
481 stars 75 forks source link

多行合并问题 #189

Open xameless opened 9 months ago

xameless commented 9 months ago

好像是用大写开头来判断是否是一个句子开头,但是会误判一些变量和专有名词

// The UDP ASSOCIATE request is used to establish an association within
// the UDP relay process to handle UDP datagrams.  The DST.ADDR and
// DST.PORT fields contain the address and port that the client expects
// to use to send UDP datagrams on for the association.  The server MAY
// use this information to limit access to the association.  If the
// client is not in possession of the information at the time of the UDP
// ASSOCIATE, the client MUST use a port number and address of all
// zeros. RFC1928

会合并成这样,还有这个zero不知道为什么没有合并到上一行

//UDP ASSOCIATE 请求用于在 UDP 中继进程内建立关联以处理 UDP 数据报。 DST.ADDR 和
//DST.PORT 字段包含客户端希望用于发送关联的 UDP 数据报的地址和端口。服务器可以使用此信息来限制对关联的访问。如果客户端在 UDP 时不拥有该信息
//ASSOCIATE,客户端必须使用所有的端口号和地址
//零。 RFC1928

把A和D改成小写之后就是这样,zero还是没有合并 Snipaste_2023-10-13_11-43-39

XIYU11864 commented 8 months ago

遇到了同样的问题。