How do I add auto-complete comment in Xcode (Swift)?

前端 未结 4 967
無奈伤痛
無奈伤痛 2021-02-06 13:42

How can I add text to autocomplete like below, the \"Tells the element to activate itself...\" part,

This is what I have,

But the \"This is a t

4条回答
  •  抹茶落季
    2021-02-06 14:28

    What you are trying to accomplish is unfortunately not possible anymore.

    The reason is that the autocomplete popover does not show comments from class files but instead searches in a separate doc-set generated by Apple.

    I added a more complete description here: https://stackoverflow.com/a/43982094/1415898

提交回复
热议问题