This chapter covers in more detail the different project views available in novelWriter.
The Project Tree#
The main window contains a project tree in the left-most panel. It shows the entire structure of the project, and has four columns.
- Column 1
The first column shows the icon and label of each folder, document, or note in your project. The label is not the same as the title you set inside the document. However, the document’s label will appear in the header above the document text itself so you know where in the project an open document belongs. The icon is selected based on the type of item, and for novel documents, the level of the first header in the document text.
- Column 2
The second column shows the word count of the document, or the sum of words of the child items for folders and documents with subdocuments. If the counts seem incorrect, they can be updated by rebuilding the project index from the Tools menu, or by pressing F9.
- Column 3
The third column indicates whether the document is considered active or inactive in the project. You can use this flag to indicate that a document is still in the project, but should not be considered an active part of it. When you run the Build Manuscript tool, you can include or exclude documents based on this flag. You can change this value from the context menu.
- Column 4
The fourth column shows the user-defined status or importance labels you’ve assigned to each project item. See Document Importance and Status for more details on how to uses these labels. You can change these labels from the context menu.
Right-clicking an item in the project tree will open a context menu under the cursor, displaying a selection of actions that can be performed on the selected item.
At the top of the tree, you will find a set of buttons.
The first button is a quick links button that will show you a dropdown menu of all the root folders in your project. Selecting one will move to that position in the tree. You can also activate this menu by pressing Ctrl+L.
The next two buttons can be used to move items up and down in the project tree. This is the only way to move root folders.
The next button opens a dropdown menu for adding new items to the tree. This includes root folders. You can also activate this dropdown menu by pressing Ctrl+N.
The last button is a menu of further actions you can apply to the project tree.
Below the project tree you will find a small details panel showing the full information of the currently selected item. This panel also includes the latest paragraph and character counts in addition to the word count.
Splitting and Merging Documents#
Under the Transform submenu in the context menu of an item in the project tree, you will find several options on how to change a document or folder. This includes changing between document and note, but also splitting them into multiple documents, or merging child items into a single document.
The Split Document by Header option will open a dialog that allows you to split the selected document into multiple new documents based on the headings it contains. You can select at which heading level the split is to be performed from the dropdown box. The list box will preview which headings will be split into new documents.
You are given the option to create a folder for these new documents, and whether or not to create a hierarchy of documents. That is, put sections under scenes, and scenes under chapters.
The source document is not deleted in the process, but you have the option to let the tool move the source document to the Trash folder.
You have two options for merging documents that are child elements of another document. You can either Merge Child Items into Self and Merge Child Items into New. The first option will pull all content of child items and merge them into the parent document, while the second option will create a new document in the process.
When merging documents in a folder, you only have the latter process is possible, so only the choice Merge Documents in Folder is available.
In either case, the Merge Documents dialog will let you exclude documents you don’t want to include, and it also lets you reorder them if you wish.
Document Importance and Status#
Each document or folder in your project can have either a “Status” or “Importance” flag set. These are flags that you control and define yourself. novelWriter doesn’t do anything with them at all. To modify the labels, go to their respective tabs in Project Settings.
The “Status” flag is intended to tag a novel document as for instance a draft or as completed, and the “Importance” flag is intended to tag character notes, or other project notes, as for instance a main, major, or minor character or story element.
Whether a document uses a “Status” or “Importance” flag depends on which root folder it lives in. If it’s in a Novel folder, it uses the “Status” flag, otherwise it uses an “Importance” flag. Some folders, like Trash and Archive allow both.
Project Tree Drag & Drop#
The project tree allows drag & drop to a certain extent to allow you to reorder your documents and folders. Moving a document in the project tree will affect the text’s position when you assemble your manuscript in the Manuscript Build tool.
Drag & drop has only limited support for moving documents. In general, bulk actions are not allowed. This is deliberate to avoid accidentally messing up your project. If you make a mistake, the last move action can be undone by pressing Ctrl+Shift+Z or from the menu icon in the project tree’s toolbar.
Documents and their folders can be rearranged freely within their root folders. If you move a Novel document out of a Novel folder, it will be converted to a project note. Notes can be moved freely between all root folders, but keep in mind that if you move a note into a Novel root folder, its “Importance” setting will be switched with a “Status” setting. See Document Importance and Status. The old value will not be overwritten though, and should be restored if you move it back at some point.
Root folders in the project tree cannot be dragged & dropped at all. If you want to reorder them, you can move them up or down with respect to eachother from the arrow buttons at the top of the project tree, or by pressing Ctrl+Shift+Up or Ctrl+Shift+Down when they are selected.
The Novel Tree#
An alternative way to view the project structure is the novel tree. You can switch to this view by selecting the Novel Tree View button in the sidebar. This view is a simplified version of the view in the Outline View. It is convenient when you want to browse the structure of the story itself rather than the document files.
You cannot reorganise the entries in the novel tree, or add any new documents, as that would imply restructuring the content of the document files themselves. Any such editing must be done in the project tree. However, you can add new headings to existing documents, or change references, which will be updated in this view when the document is saved.
Project Outline View#
The project’s Outline View is available as another view option from the sidebar. The outline provides an overview of the novel structure, displaying a tree hierarchy of the elements of the novel, that is, the level 1 to 4 headings representing partitions, chapters, scenes and sections.
The document containing the heading can also be displayed as a separate column, as well as the line number where the heading is defined. Double-clicking an entry will open the corresponding document in the editor and switch to Project Tree View mode.
You can select which novel folder to display from the dropdown menu. You can optionally also choose to show a combination of all novel folders.
Since the internal structure of the novel does not depend directly on the folder and document structure of the project tree, this view will not necessarily look the same, depending on how you choose to organise your documents. See the Novel Structure page for more details.
Various meta data and information extracted from tags can be displayed in columns in the outline. A default set of such columns is visible, but you can turn on or off more columns from the menu button in the toolbar. The order of the columns can also be rearranged by dragging them to a different position. You column settings are saved between sessions on a per-project basis.
The Title column cannot be disabled or moved.
The information viewed in the outline is based on the project index. While novelWriter does its best to keep the index up to date when contents change, you can always rebuild it manually by pressing F9 if something isn’t right.
The outline view itself can be regenerated by pressing the refresh button. By default, the content is refreshed each time you switch to this view.
The Synopsis column of the outline view takes its information from a specially formatted comment. See Comments and Synopsis.