trawor / XToDo

Xcode plugin to collect and list the `TODO`,`FIXME`,`???`,`!!!!`
http://imi.im/xtodo
1.54k stars 179 forks source link

How to use it in Xcode 8.0? #86

Open KenmuHuang opened 8 years ago

KenmuHuang commented 8 years ago

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.

eh1255 commented 8 years ago

I second this!

Enigma644 commented 7 years ago

Ditto

crazy-zzd commented 7 years ago

Ditto

WuKongCoo1 commented 7 years ago

Ditto

t2ac32 commented 7 years ago

ditto

Enigma644 commented 7 years ago

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.

Z-figaro commented 7 years ago

能不能我们自己做一个