AppCode includes an embedded terminal emulator for working with a command-line shell from inside the IDE. Having a command line right inside the IDE lets you do things like running Git commands, and so on without switching windows and mental focus when you need to perform a quick command line task.
Initially, the terminal emulator runs with your default system shell, but it supports many other shells such as
csh, and so on.
Open the Terminal tool window
Do one of the following:
Selectfrom the main menu.
Click the Terminal tool window button .
Hover your mouse pointer over in the lower left corner of the IDE, then choose Terminal from the menu.
Right-click a project item in the Project tool window and choose Open in terminal from the context menu. This way the terminal will start with the directory corresponding to the selected item.
Start a new session
Click on the toolbar. A new session is opened in a separate tab.
Sessions are saved when you close the project or AppCode, that is, tab names, current working directory, and even the shell history is preserved.
To close an active session, click on the terminal toolbar or right-click the current session tab and select Close Tab from the context menu.
Switch between tabs
Press ⇧⌘] and ⇧⌘[ to switch the active tab.
Alternatively, you can press ⌃↓ to see the list of all terminal tabs.
Rename a tab
Right-click the tab and select Rename Session from the context menu.
Browse the history of entered commands
Use the ↑ and ↓ keys.
Configure the terminal emulator
Specify the desired shell to use with the embedded terminal emulator, change the start directory, and define environment variables among other settings.
Optionally, configure the settings that the embedded terminal emulator inherits from the IDE settings.
On thepage, you can configure the copy ⌘C and paste ⌘V shortcuts.
On the Use block caret is not inherited in the terminal: its caret is always block.page, you can configure caret blinking. The setting
You can configure visual presentation in the terminal on the following pgaes:
: console colors.