2.4 KiB
2.4 KiB
Status bar
The status bar is the thin 28-point strip along the bottom of a project window. It shows git totals on the left and facts about the open file on the right.
Guide index · Related: Window layout, Git, File view
At a glance
+----------------------------------------------------------------------------+
| <> main +50 -38 1 staged . 2 unstaged app/User.php . Ln 3, Col 9 . |
| (1) (2) (3) (4) (5) (6) |
| |
| UTF-8 . LF . PHP |
| (7) (8) (9) |
+----------------------------------------------------------------------------+
The bar is one row in the app. It is drawn on two rows here to fit the page.
- Branch: the current git branch, in amber, after a branch symbol.
- Lines added: the total added lines in the working tree, in teal.
- Lines removed: the total removed lines, in amber-deep.
- Staged and unstaged: how many changes are staged and how many are not.
- File path: the project-relative path of the open file.
- Cursor position: the line and column of the cursor.
- Encoding: always
UTF-8. - Line ending: always
LF. - Language: the language of the open file, for example
PHPorMarkdown.
Features
Git summary (left)
- The branch, the added and removed line totals, and the staged and unstaged counts.
- These follow the Git column. They update when you stage, unstage, commit, or when files change on disk.
File facts (right)
- The path, the cursor position and the language appear only while a file is open.
- The path cuts off at the start when it is long, so the file name stays visible. It never takes more than about half the window.
- The cursor position reads
Ln 1, Col 1until you move the cursor in the file. UTF-8andLFare always shown, with or without a file.
Display only
Nothing in the status bar is clickable. It only shows information.
Related
- Git: where the branch and change counts come from.
- File view: the file whose path, position and language are shown.
- Title bar: shows the project, branch and file path at the top.
- Window layout: where the status bar sits in the window.