Using SnapDock
Using SnapDock
SnapDock provides a single workspace for writing, viewing and organising Markdown documents. Its interface keeps your files, editing tools and document previews together, so you can move between tasks without opening separate windows.
This guide explains how to navigate the application and use its main features.
Understanding the Workspace
The SnapDock window is divided into several areas:
- Toolbar: Provides access to creating, opening, saving and managing documents, along with application tools.
- Sidebar: Displays recent files and the folders in your current workspace.
- Document tabs: Allow you to keep multiple documents open and switch between them.
- Editor and preview: Where you write Markdown and view the formatted result.
- Status bar: Displays document information, application version and update status.
You can resize the sidebar and, when using Split View, adjust the space available for editing and previewing.
The Toolbar
The toolbar provides access to SnapDock's main actions.
| Menu | What it does |
|---|---|
| New | Creates a blank document in a new tab. |
| Open | Opens an existing file or selects a folder to use as a workspace. |
| Save | Saves documents, saves all open changes, exports content or closes the current project. |
| Tools | Provides application updates, spellcheck, session restoration, font controls, themes and Help. |
| Show Preview | Switches between editing and previewing Markdown, with additional viewing options available from its dropdown. |
Most common actions can also be performed using keyboard shortcuts.
Navigating Files and Folders
The sidebar helps you move between documents without repeatedly opening the file picker.
Recent Files
The Recent Files section lists documents you've opened recently.
When a workspace is selected, the list is specific to that workspace. Without an active workspace, SnapDock uses a separate global list.
Select a document to open it again.
You can clear the visible recent-file list using the × control. This only removes the entries from the list; it does not delete the files from your computer.
Project Files
When you open a folder as a workspace, its contents appear under Project Files.
Select a folder to expand or collapse it, or select a file to open it in the editor.
You can adjust the sidebar's width by dragging its right edge. The available width ranges from approximately 180 to 400 pixels.
Opening a folder does not import, copy or move its contents. SnapDock works with the files in their existing locations.
Working With Document Tabs
Each open document appears in its own tab, allowing you to switch between files without closing your current work.
You can drag tabs to change their order. If you have more tabs open than the window can display, scroll horizontally through the tab strip.
Opening a document that's already in a tab will switch to that tab rather than opening a second copy.
Understanding Tab Indicators
SnapDock uses coloured indicators to show the save state of each document.
| Indicator | Meaning |
|---|---|
| Red | A new document that has not yet been saved. |
| Yellow | An existing document with unsaved changes. |
| Green | A document that is saved and has no pending changes. |
These indicators help you see which documents need attention, particularly when working with several files at once.
Closing Tabs
You can close a document using its tab control or by pressing Ctrl+W.
If the document contains unsaved changes, SnapDock asks for confirmation before discarding them.
When closing the entire application with unsaved documents, you can choose to cancel, save all changes or discard them.
Editing and Previewing Documents
SnapDock uses Markdown, a text-based formatting system that allows you to create headings, lists, links and other formatted content using ordinary characters.
You write Markdown in the editor and use the preview to see the rendered result.
Preview Mode
Select Show Preview to replace the editor with a formatted view of the active document.
Select Edit Markdown to return to writing.
Split View
If you prefer seeing your Markdown and its rendered output together, open the preview dropdown and select Split View.
Split View displays the editor and preview side by side for the same document.
You can drag the divider between the two panes to adjust their widths. Each pane can occupy approximately 25% to 75% of the available space.
The preview updates while it is visible, allowing you to see the results of your changes as you work.
Note: You may notice a disabled Live View option in the preview menu. This is not currently an available viewing mode. Preview and Split View already update their rendered content while visible.
The Status Bar
The status bar runs along the bottom of the SnapDock window and provides useful information without interrupting your work.
On the left, you'll find details about the active document, including:
- Current line and column
- Word count
- Character count
The centre displays application build information.
On the right, SnapDock displays update activity when applicable. If an update has been downloaded and is ready to install, you can select the update indicator to apply it.
For more information about updating SnapDock, see Installing and Updating SnapDock.
Closing a Project
If you want to leave your current workspace without manually clearing its files and tabs, select Save → Close Project.
SnapDock checks for unsaved changes before proceeding, giving you the opportunity to save your work or cancel.
Closing a project clears the selected workspace and any stored session information, then relaunches SnapDock.
Your documents and folders remain untouched on your computer.
If an application update has already been downloaded and is pending installation, closing the project will also apply that update during the restart.
Keyboard Shortcuts
Keyboard shortcuts provide a quicker way to perform common actions.
| Action | Shortcut |
|---|---|
| Create a new document | Ctrl+N |
| Open a file | Ctrl+O |
| Open a folder | Ctrl+Shift+O |
| Save the active document | Ctrl+S |
| Close the active tab | Ctrl+W |
| Find text in the active document | Ctrl+F |
| Move to the next tab | Ctrl+Shift+Right Arrow |
| Move to the previous tab | Ctrl+Shift+Left Arrow |
| Toggle the selected preview mode | Ctrl+Shift+P |
| Open Help | Ctrl+/ |
SnapDock does not currently provide a dedicated keyboard shortcut for Save All. You can access it through the Save menu.
These shortcuts use the Ctrl key on Windows and Linux.
Continuing Your Work
Once you're familiar with the workspace, you can use SnapDock to manage larger collections of Markdown documents, work across multiple tabs and preview your writing as you go.
For appearance preferences, editor fonts and other application options, see Settings and Customisation.
For installation, updates and supported packages, see Installing and Updating SnapDock.