【问题标题】:Remove first parameter character with GhostDoc使用 GhostDoc 删除第一个参数字符
【发布时间】:2015-04-30 16:19:10
【问题描述】:

我有名为 pOtherColor 的参数。 使用 ghostdoc 我得到“The p Other Color”。 宏是 $(Name.Words.TheAndAllAsSentence)

有一个宏 exceptFirst - 但这给出了“其他颜色”。 我需要的是像“TheAndExceptFirstAsSentence”这样的宏

我尝试“链接”宏 - 但无法正常工作。

【问题讨论】:

    标签: ghostdoc


    【解决方案1】:

    我假设您使用的是免费版的 GhostDoc。下面的屏幕截图说明了您在 GhostDoc Free 中寻找的规则配置。

    谢谢!

    【讨论】:

    • 这工作“部分” - /// 我们的第一个元素 /// 我们的第一个元素。 param> /// 关机的一个重要原因 /// 关机的一个重要原因 public ShutdownRequestEventArgs(string pOurFirstElement,字符串 OurFirstElement,字符串 pAnImportantReasonForShuttingDown,字符串 AnImportantReasonForShuttingDown) {
    • @ManniAT 抱歉,您提供的 sn-p 很难阅读。您能否举例说明您正在努力实现的目标以及您得到的结果。在这一点上不太清楚你的意思是它的部分工作......谢谢!
    • 嗨,只需尝试记录以下方法 ShutdownRequestEventArgs(string pOurFirstElement, string OurFirstElement, string pAnImportantReasonForShuttingDown, string AnImportantReasonForShuttingDown)
    猜你喜欢
    • 1970-01-01
    • 2011-06-24
    • 1970-01-01
    • 2021-09-01
    • 2011-10-12
    • 1970-01-01
    • 2011-05-29
    • 2012-11-27
    • 1970-01-01
    相关资源
    最近更新 更多