Searching for usages

Stay organized with collections Save and categorize content based on your preferences.

Use the usage filter to search for a use while excluding comments and string literals. For example, the following search returns all functions with the term main.

usage:main

Like a simple search for main, a usage:main search finds

int main(void)

But unlike a search for main, a usage:main search ignores

// The main thing here

and

myvar = "The main class."