XToDo
XToDo copied to clipboard
How to use it in Xcode 8.0?
Xcode 8.0 support Source Editor Extension Tools, We hope XToDo can be used in Xcode 8.0. It's very useful for us. Thanks.
I second this!
Ditto
Ditto
Ditto
ditto
Here is my workaround until they fix this! In your project go to "Build Phases" > "Run Script" Shell: /bin/sh Code:
TAGS="TODO|FIXME"
find "${SRCROOT}" \( -name "*.h" -or -name "*.m" -or -name "*.swift" \) -print0 | xargs -0 egrep --with-filename --line-number --only-matching "($TAGS).*\$" | perl -p -e "s/($TAGS)/ warning: \$1/"
Check: Show environment variables in build log.
Now lines with TODO and FIXME will now show up as warnings in code and will be listed in the issue navigator.
能不能我们自己做一个