Overview of the user interface
When you open a project in AppCode, the default user interface looks as follows:
Depending on the set of plugins and configuration settings, your IDE may look and behave differently.
Editor
Focus: ⎋
Use the editor to read, write, and explore your source code .
Action indicators and action list
Open action list: ⌥ ⏎
Different icons that appear in the left editor gutter are action indicators that help you notice available quick fixes and other actions.
Quick fixes and other commands relevant for the current caret position are available in the action list that you can open with ⌥ ⏎ or by cliking an action indicator.
Navigation bar
Focus: ⌥ ↖
Show/hide:
The navigation bar at the top is a quick alternative to the Project tool window Workspace tool window where you can navigate the structure of your project and open files for editing.
Use the buttons to the right of the navigation bar to run and debug your application, and perform basic version control operations (if the version control integration is configured). It also contains buttons to Run Anything (press Ctrl twice) and Search Everywhere (press Shift twice).
Status bar
Show/hide:
The left part of the status bar at the bottom of the main window shows the most recent event messages and descriptions of actions when you hover over them with the mouse pointer. Click a message in the status bar to open it in the Event Log. Right-click the message in the status bar and select Copy to paste the message text when you are searching for a solution to a problem or need to add it to a support ticket or to the AppCode issue tracker.
Use the quick access button or to switch between tool windows and hide the tool window bars.
The status bar also shows the progress of background tasks. You can click to show the Background Tasks manager.
The right part of the status bar contains widgets that indicate the overall project and IDE status and provide access to various settings. Depending on the set of plugins and configuration settings, the set of widgets can change. Right-click the status bar to select the widgets that you want to show or hide.
Widget | Description |
---|---|
33:1 | Shows the line and column number of the current caret position in the editor. Click the numbers to move the caret to a specific line and column. If you select a code fragment in the editor, AppCode also shows the number of characters and line breaks in the selected fragment. |
Shows the line endings used to break lines in the current file. Click this widget to change the line separators. | |
UTF-8 | Shows the encoding used to view the current file. Click the widget to use another encoding. |
Column | Indicates that the column selection mode is enabled for the current editor tab. You can press ⇧ ⌘ 8 to toggle it. |
| Click to lock the file from editing (set it to read-only) or unlock it if you want to edit the file. |
master | If version control integration is enabled, this widget shows the current VCS branch. Click it to manage VCS branches. |
4 spaces | Shows the indent style used in the current file. Click to configure the tab and indent settings for the current file type or disable indent detection in the current project. |
Swift: iOSConferences | Sim -...x86_64] | Debug | Click to switch the current resolve context. |
Click to synchronize the IDE settings. | |
Shows if there are new notifications available. Click to open the Event Log tool window. | |
Shows the amount of memory that AppCode consumes out of the total amount of heap memory. If you need to increase the memory heap, select Help | Change Memory Settings in the main menu. |
Tool windows
Show/hide:
Tool windows provide functionality that supplements editing code. For example, the Project tool window shows you the structure of your project, and the Run tool window displays the output of your application when you run it.
By default, tool windows are docked to the sides and bottom of the main window. You can arrange them as necessary, undock, resize, hide, and so on. Right-click the title of the tool window or click in the title for its arrangement options.
You can assign shortcuts to quickly access the tool windows that you frequently use. Some of them have shortcuts by default. For example, to open the Project tool window, press ⌥ 1, and to open the Terminal tool window, press ⌥ F12. To jump from the editor to the last active tool window, press F12.
Context menus
You can right-click various elements of the interface to see the actions available in the current context. For example, right-click a file in the Project tool window for actions related to that file, or right-click in the editor to see actions that apply to the current code fragment.
Most of these actions can also be performed from the main menu at the top of the screen or the main window. Actions with shortcuts show the shortcut next to the action name.
Popup menus
Popup menus provide quick access for actions related to the current context. Here are some useful popup menus and their shortcuts:
⌘ N opens the Generate popup for generating boilerplate code based on the context.
⌃ ⌥ ⇧ T opens the Refactor This popup with a list of contextually available refactorings.
⌘ N in the Project tool window opens the New popup for adding new files and directories to your project.
⌥ ` opens the VCS Operations popup with contextually available actions for your version control system.
You can create custom popup menus using quick lists of actions that you often use.
Main window
The main window contains all the information for a single AppCode project. You can open multiple projects in multiple windows . By default, the window header contains the name of the project andthe name of the currently open file. If there are multiple modules, it will also show the name of the relevant module.
Show full paths in the header
In the Preferences dialog ⌃ ⌥ S, open Appearance & Behavior | Appearance and select the Always show full paths in window header checkbox.
This will show the path to the project and to the current file.