grep to find function definition

I've tried understand, source insight, and vscode, their UI is good but sometime suck to find function definition. I think grep is the best tool to find definition in code :)

grep -Prn "(^|\s)tjDecodeYUVPlanes\([^)]+" | grep -v return | grep -v if | grep -v while

你可能感兴趣的:(grep to find function definition)