Source Insight // TODO评论 [英] Source Insight //TODO comment

查看:730
本文介绍了Source Insight // TODO评论的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有点傻,但它是驱使我疯了,我最近开始使用Source Insight,为了得到一个正确的看看// TODO评论你需要写 // TODO
(有额外的空间)。

a bit silly, but it is driving me crazy, i recently started working with Source Insight, and in order to get a proper looking //TODO - comment you need to write // TODO (with an extra space).

我试图查找配置一个方法来删除这个额外的空间,找不到它,并不能习惯用额外的空间(我试过)写它。

i tried looking around the config for a way to remove this extra space, couldn't find it, and cant get used to writing it with the extra space (i tried).

任何方式来解决这个问题?

any way to solve this? or should i embrace this, and then slowly, learn to cherish it.

谢谢。

推荐答案


  • 转到选项 - >样式属性

  • 为todo注释添加一个新样式,将其属性设置为

  • 点击解析部分中的语言按钮
  • >选择合适的语言(C?C ++?)
  • 点击属性。

  • 切换到评论和范围标签

  • 点击添加新定义

  • 设置格式化风格以匹配您之前创建的新风格。


  • 点击ok x 3

  • 是Reparse项目

  • 点击关闭

    • Go to Options->Style Properties
    • Add a new Style for your "todo" comments, set its properties to be whatever you like
    • Go to Options->Document Options
    • Click on "Language" button in Parsing section
    • Select appropriate language (C? C++?)
    • Click "Properties"
    • Change to "Comments and Ranges" tab
    • Click "Add new definition"
    • Set formatting style to match the new one you created above
    • For "range begins with" put "//todo" (perhaps one for each type of capitalisation)
    • Click ok x 3
    • Yes to "Reparse project"
    • Click close
    • 现在应该可以正常显示!

      It should now be showing up properly!

      这篇关于Source Insight // TODO评论的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆