网页
综合
更新时间 2026-11-14 02:29:08
Editor basics | AppCode Documentation
自动蜘蛛
www.jetbrains.com
正文约 4322 字
The AppCode editor is the main part of the IDE that you use to create, read and modify code.
The editor consists of the following areas:
The scrollbar shows errors and warnings in the current file.
Breadcrumbs help you navigate inside the code in the current file.
The gutter shows line numbers and annotations.
Tabs show the names of the currently opened files.
Most operations in the editor can be performed with keyboard shortcuts. To get all the shortcuts working properly, make sure that:
Function keys are enabled in your operating system preferences.
There are no conflicts with global OS shortcuts.
You can use various shortcuts to switch between the editor and different tool windows, change the editor size, switch focus, or return to the original layout.
In the editor, press Ctrl+Shift+F12. AppCode hides all windows except the active editor.
You can maximize a split screen as well. In this case the active screen is maximized and other screens are moved aside.
Press Escape. AppCode moves the focus from any window to the active editor.
Press Alt+F12. AppCode closes the terminal window.
If you need to keep the terminal window open when you switch back to the active editor, press Ctrl+Tab.
To save the current layout as the default, from the main menu select Window | Store Current Layout as Default. You can use the same shortcut Shift+F12 to restore the saved layout.
To jump between the opened files and tool windows with the switcher, press Ctrl+Tab.
Keep Ctrl pressed to leave the switcher popup open.
Press Tab to move between elements. Press Backspace to remove the selected file from the list and close it in the editor.
You can switch between schemes, keymaps, or viewing modes.
In the Switch menu, select the option you need and press Enter. Use the same shortcut Ctrl+` to undo your changes.
You can also find and adjust the color scheme settings including the high contrast color scheme for people with eyesight deficiency on the Editor | Color Scheme page and the keymap settings on the Keymap page of the Preferences dialog (Ctrl+Alt+S).
You can close, hide, and detach editor tabs. Every time you open a file for editing, a tab with its name is added next to the active editor tab.
From the main menu, select Window | Editor Tabs to see what additional actions you can perform with the editor tabs. For example, Close Tabs to the Left or Close Tabs to the Right.
You can use the tab's context menu for the same purpose or located in the editor.
To configure the settings for editor tabs, use the Editor | General | Editor Tabs page of the Preferences dialog (Ctrl+Alt+S). Alternatively, right-click a tab and select Configure Editor Tabs from the list of options.
To close all opened tabs, select Window | Editor Tabs | Close All Tabs from the main menu.
To close all inactive tabs, press Alt and click on the active tab. In this case, only the active tab stays open.
To close all inactive tabs except the active one and the pinned tabs, right-click any tab and select Close Other Tabs.
To close only the active tab, press Ctrl+F4. You can also click the mouse's wheel button anywhere on a tab to close it.
To reopen the closed tab, right-click any tab, and from the context menu, select Reopen Closed Tab.
To open a new tab at the end of the already opened one, select the Open new tabs at the end in the tab settings.
Right-click the tab.
From the list that opens, select Copy Path/Reference….
From the list that opens, select your copy option.
AppCode copies the item to the clipboard, and you can paste it (Ctrl+V) wherever you need.
To move or remove the icon on a tab, in the Preferences dialog (Ctrl+Alt+S), go to Editor | General | Editor Tabs and select the appropriate option in the Close button position field.
To place the editor tabs in a different part of the editor frame or hide the tabs, right-click a tab and select Configure Editor Tabs to open the Editor Tabs settings. In the Appearance section, in the Tab placement list, select the appropriate option.
To access the Editor Tabs settings when all tabs are hidden, select Window | Editor Tabs | Configure Editor Tabs from the main menu.
To sort the editor tabs alphabetically, right-click a tab and select Configure Editor Tabs to open the Editor Tabs settings. In the Tab order section, select Sort tabs alphabetically.
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。