Chapter 60
The sidebar
The sidebar holds five panels: Files, Outline, Search, Project and Assistant. A switch at the top of the sidebar chooses Files, Outline, Project (shown when the open folder is a book project) or Assistant (shown once a connection is set up). Search has its own header with the title Find, a Done button that returns to Files, and a scope control for This Document or Folder; reach it from View ▸ Search (⇧⌘F). The View menu also switches panels, and choosing the panel that is already showing hides the sidebar. Drag the sidebar's edge to resize it. Above the file tree, a menu offers Open File… and Open Folder….
Files#
The Files panel is a tree of the open folder.
With no folder open, it says "Choose a folder to browse its files." and offers Open Folder and Open File. You can also drop a folder onto it. When you opened a single file whose folder Pilcrow cannot see, it offers "Browse folder to see the files beside this document", with Browse Enclosing Folder….
Click a file to open it. Folders expand and collapse. Right-click a row, or press and hold on iPad, for its menu:
| Item | What it does |
|---|---|
| New File | Creates a file in the folder (or beside the file you clicked). |
| New Folder | Creates a folder there. |
| Rename… | Renames the file or folder. |
| Move to Trash | Moves it to the Trash after you confirm. You can put it back from there. |
| Reveal in Finder | Shows it in Finder (Mac). |
Where the system has no Trash for a location, Pilcrow keeps deleted items in a Recently Deleted section at the bottom of the panel. Each item there offers Put Back and Delete Permanently, and Empty Recently Deleted removes the whole section's items for good. Deleting permanently cannot be undone, so Pilcrow asks first. Items you deleted from other places are not affected.
Hidden files and folders are shown or hidden by Settings ▸ Files ▸ Show hidden folders and files.
Outline#
The Outline lists the headings of the active document, indented by level. Click a heading to jump to it. A chevron beside a heading collapses or expands the headings nested under it. This does not change the document, and the collapsed state is not saved.
States you may see:
| Message | Meaning |
|---|---|
| No headings | The active profile found no headings. |
| Indexing outline… N% | A large document is still being scanned. |
| Outline indexing failed. The listing may be incomplete. | Scanning hit a problem. |
| N headings near your position — scroll to see others. | A very large document shows a window of its outline around the caret. |
Under the outline, a Fields section appears when the document has fill-in fields (Chapter 24). It lists them, with a count; click one to scroll to it and select it. For a very large number of fields it says "Only the first fields are listed."
Search#
The Search panel searches every file in the open folder. Without a folder it says "Open a folder to search it." with an Open Folder… button.
| Control | What it does |
|---|---|
| Search Folder field | Type to search as you go. A clear button empties it. |
| Aa | Match case. |
| ab | Whole word. |
| .\* | Regular expression. A bad pattern is reported under the field. |
| Status line | Shows "Searching…" with a Cancel button, then "Matches: N". A search stops at 500 matches and says "Showing the first 500 matches." After a cancel it offers Search Again. |
| Replace… | Appears when the search finds matches. Opens Replace in Folder (Chapter 63). |
| Results | Each result names the file and shows the line. Click one to open the file at that line. |
Project#
The Project panel is for book projects. See Chapter 34, Chapter 35 and the Project panel reference below.
Project panel reference#
| Part | What it does |
|---|---|
| This folder is not a book project. with Make It a Project | Shown when the open folder has no manifest. |
| Try Again | Shown if the project could not be read. |
| View | Chooses List, Synopses or Cards. |
| Title, word totals | The project name and "N words", or "N of target" when a book word target is set. |
| Status filter | Filters to one status, or All statuses. A tally lists each status with its file and word counts. Reordering is available only while no filter is active. |
| Project Settings (gear) | Opens the settings sheet below. |
| Compile… | Opens the compile sheet (Chapter 64). |
| Reorder and Done | On iPad, drag chapters into a new order, then choose Done. |
| New File (plus) | Offers New Chapter, New Scene, New Front Matter, New Back Matter. |
| Not in the manuscript with Add and Add All | Lists files in the folder that the manifest does not include. |
| A row's chevron | Show Scenes or Hide Scenes under a chapter. |
| Missing and Left out tags | A file that cannot be found, or that you have left out of the manuscript. |
| A row's menu | Details…, New File Below, Move Chapter Up, Move Chapter Down, Include in Manuscript, Leave Out of Manuscript. |
| Word target per item | Each item shows its words and any target. |
Details for an item has Kind (Front matter, Part, Chapter, Scene, Back matter), Status, Point of view, Location, Word target, and Synopsis. A project file changed on disk shows "The project file changed on disk, so your last change was not applied. Try it again." with Dismiss.
Project Settings has Title, Author, Book word target, New files are written in (the syntax for new chapters and scenes; existing files keep theirs), Variables (a name and a value, written as {{name}} in your text; {{title}} and {{author}} always work), and What counts as a word: Count headings, Count front matter, Count code blocks. Choose Save or Cancel.
Assistant#
The Assistant panel appears once a connection is set up (Chapter 65).