Well Written
Well Written is a focused editor for creative-writing files in the .wrt format. Open a file and start writing — the extension does not require a project, generate workspace metadata, or add its own Activity Bar/sidebar.
Features
Writing statistics
The status bar shows the current .wrt document's word count and estimated page count. One page is estimated as 220 words by default.
When text is selected, the same status-bar item switches to the selection's statistics. Hover over it to compare the selected text with the whole document and to see character counts.
Statistics:
- update while typing and whenever the selection changes;
- count Unicode words, including Polish diacritics, apostrophes, and hyphenated words;
- include single-letter words such as
i, a, w, and z by default;
- exclude comments and complete scene-marker lines;
- support multiple selections by counting their combined text.
The page size and single-letter behavior can be changed in VS Code settings.
Scene markers
Use hierarchical markers to organize a draft:
$$$ Part One
$$ Chapter One
$ Opening scene
The story begins here.
$ creates a scene.
$$ creates a chapter.
$$$ creates a part.
- Markers appear in VS Code's built-in Outline and breadcrumbs.
- Sections can be folded.
Ctrl+Alt+H (Cmd+Alt+H on macOS) toggles marker visibility.
See Scene Markers for details.
.wrt supports Markdown-style headings from # through ####, plus inline emphasis:
# Heading
*italic* **bold** ***bold italic***
Comments are visually muted and excluded from statistics and repetition analysis:
// A single-line note
/* A note that can
span multiple lines. */
Escape a comment marker with a backslash when it should remain literal: \// or \/*.
Repetition highlighting
Press Ctrl+Alt+R (Cmd+Alt+R on macOS) to highlight repeated words in the active .wrt file. Comments and scene-marker lines are ignored.
Writing goal
The target item in the status bar starts and stops a timed writing session. A session is tied to the .wrt file in which it was started and tracks words added through direct typing, elapsed time, pace, and progress toward the configured daily goal.
Pasted text, deletions, undo/redo, snippets, completion edits, and other bulk/programmatic changes do not affect the result. The session count is monotonic and can never become negative.
Commands
| Command |
Shortcut |
Well Written: Toggle Repetition Mode |
Ctrl+Alt+R / Cmd+Alt+R |
Well Written: Toggle Scene Marker Visibility |
Ctrl+Alt+H / Cmd+Alt+H |
Settings
| Setting |
Default |
Description |
wellWritten.wordCount.wordsPerPage |
220 |
Words used to estimate one page. |
wellWritten.wordCount.countSingleLetters |
true |
Whether single-letter words are counted. |
wellWritten.goalCounter.dailyGoal |
500 |
Goal for words added through direct typing during a session. |
wellWritten.sceneMarkers.color |
theme |
Custom scene-marker color. |
wellWritten.comments.color |
theme |
Custom comment color. |
wellWritten.repetitionMode.colors |
palette |
Colors used for repeated words. |
Development
npm install
npm run lint
npm run build
npm test
See BUILDING.md for packaging commands.
License
MIT