I also think that we need standardized feature for todo/fixme in language,
so when you got one's code you can have all needed warnings the creator
wants to produce.
I.e. probably not some directive, but some kind of.. special comment? So
XCode/any 3rd party tools/IDE will know about this standardized format and
produce/show user-created 'warnings' instead of compiler(as core team
against such warnings in compiler)
On 30.05.2016 18:28, Shawn Erickson via swift-evolution wrote:
On Sun, May 29, 2016 at 3:49 PM Leonardo Pessoa via swift-evolution
<swift-evolution@swift.org <mailto:swift-evolution@swift.org>> wrote:
Tools like SonarQube can raise a "warning" for comments started with
"TODO:" or "FIXME:". Wouldn't it be more interesting if those could be
presented as warnings instead of using #warning? And this could be an
optional setting as commented would not influence compilation.
It seems wise to me to have the concept of todo, fixme, etc. formalized in
the language so that source kit, the swift compiler, and things like Xcode
would have a well defined thing to look for and extract information from.
I support this proposal and hope it can cover these typical use cases.
-Shawn
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution