A VScode extension for counting the total word count of a manuscript split across multiple markdown files. It also includes a session word count and configurable manuscript and session goals.
- Configurable document root
- Session word count
- Manuscript word count
- Configurable manuscript and session goals
- Does not count words between < and >
- Progress bars for manuscript and session goals
- Ignores files matching patterns in
.codexignore
file.
Search for codex-manuscipt-wordcount
in the VScode extension marketplace and install it.
After installation, the manuscript and session word counts will appear in the explorer. You can right-click on them to set the manuscript and session goals, as well as the document root where the manuscript is located. The extension will only count the words for Markdown documents under the document root.
You can also reset the session or adjust the session count by right-clicking on the session count. Additionally, there is an option in the settings to automatically reset the session on restart, which is off by default.
All of these settings are stored in the workspace config, and you can edit them there. However, there is no validation when editing them manually, so it may cause issues.
You may create a .codexignore
file in the root of your workspace in the same format used by .gitignore, and the word counter will ignore any files which match the ignore patterns.
In general, each pattern should be **/<directory>/**
. One pattern per line. Lines beginning with #
, are considered comments and ignored.
- Changing the document root while in the middle of a session may cause the session count to become inaccurate.
- Only supports workspaces with one root.
-
Codex Autocommit - Automatically takes a snapshot of the manuscript every interval and stores it on a remote git server.
-
Codex Manuscript File Operations - A set of file operations to facilitate splitting and merging scenes and to maintaining the fileorder of the manuscript.