Find Usages: no place for symbols to hide
Find Usages lets you quickly see all the places where a symbol (class, method, property, variable, etc.) is used. Unlike textual search, Find Usages in AppCode works on the semantic level and shows you actual usages, not just text matches. Moreover, it understands and can be used with localization, Core Data and
Just press Alt + F7 and get a list of references grouped by type of usage, module and file. The first results are displayed immediately. When you have a huge project, more results appear as the IDE finds them.
By default the results are not grouped by usage type, but you can enable this by pressing
Ctrl + T or by clicking the corresponding button on the sidebar.
You can adjust the search options to include text occurrences, not show results when there’s only one usage, or limit the search scope by using
Shift + Alt + Cmd + F7 shortcut or clicking the first button on the right panel with search results.
If you want to see the results quickly without leaving the editor, simply press
Alt + Cmd + F7.
By default, AppCode highlights the usages of a symbol at the caret within the opened file in the editor.
However, you can disable this feature by deselecting Preferences | Editor | Highlight usages of element at the caret and calling it via
Shift + Cmd + F7 instead, only when you need it.
This way you can highlight more than one symbol if you want, and to remove the highlighting by simply pressing
That’s it for today! Stay tuned!
Subscribe to Blog updates
Thanks, we've got you!
Writing Code Documentation in AppCode
Code documentation can save you a lot of time and headaches. On the other hand, it also takes a lot of effort to write and maintain it. In this article, we will look at the AppCode features that can help you create detailed and well-structured code documentation and keep it updated after code refact…
Polish Your Code with AppCode’s Inspections and Intentions
AppCode is constantly analyzing your code to find parts that can be improved. It provides sets of code inspections and intention actions for each supported language for this exact purpose. Inspections locate unused or redundant code, syntax errors, probable bugs, spelling mistakes, obsolete or redun…
Navigation in AppCode
Navigating through files and source code, especially in complex projects, can eat up a lot of time, which is why it is essential to learn how to move around quickly in your IDE. AppCode provides plenty of navigation features that can help you move faster. In this blog post, we’ll take a look at some…
Server-side Swift in AppCode
In this short article we’ll take a look at various AppCode features that are useful for server-side Swift development, as now you can open standalone SPM projects in AppCode on macOS. Check out and open the project On the Welcome screen, click the Get from VCS button and enter the address of the Fe…