How can I show C++ code documentation in Xcode 9.3?

后端 未结 3 358
走了就别回头了
走了就别回头了 2021-01-12 03:51

I´m developing software based on C++ in Xcode and want to have (at least) the same convenience for code documentation as if I was developing for Swift or objc.

Exam

3条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-12 04:44

    I'll upvote Deb's answer but I was also looking at this for a little while.

    Markdown in Xcode is somewhat brittle in Xcode 9.

    It works for function declarations:

    And also for callouts:

    Documentation comments seems to work well for function declarations, but doesn't work at all for lines of code within the functions.

提交回复
热议问题