Editor
Auto-save
Cog › Settings › Editor
editor.autoSave
Save edits once you stop typing, without Ctrl+S.
Default: off · Values: on · off
On, each editor writes its file to disk once you have paused for Auto-save delay, so its unsaved marker
clears without Ctrl+S. The CSV Preview Editor saves the same way after each edit. A new document that has
never been saved has no file to write to, so it waits for Save As.
Save Document Scroll Position
Cog › Settings › Editor
editor.saveDocumentScroll
Remember each document's scroll position, so reopening a file returns to where you were.
Default: off · Values: on · off
Reopening a file in the same editor then restores where you were, instead of starting at the top. Off, a file opens at its first line.
Auto-save delay
Cog › Settings › Editor
editor.autoSaveDebounceMs
How long after you stop typing auto-save writes the file.
Default: 0.3 s (300 ms) · Values: 0 – 3 s, step 0.1 s
Applies only while Auto-save is on. Every keystroke restarts the wait, so a file is written once per pause, not once per key. Zero writes after every change.
Save-All scope
Cog › Settings › Editor
editor.saveAllScope
Which editors Save All saves: those in this tab, in this project, or in the whole window.
Default: project · Values: tab · project · all
Save All (Ctrl+Shift+S) saves every editor with unsaved changes in its scope: tab, the tab you are
in; project, every tab of the active project; all, every editor in the window. A new document that has
never been saved is passed by, since it has no file yet; save it with Save As.
New-file line ending
Cog › Settings › Editor
editor.defaultLineEnding
The line ending applied to brand-new documents.
Default: lf · Values: lf · crlf · cr
lf is the Linux and macOS convention and what most tools expect; crlf is the Windows one; cr is the old Mac one. It applies to a document you create in throng. An existing file keeps its own, and the line-ending menu on the status bar converts a document's endings.
Fallback encoding
Cog › Settings › Editor
editor.fallbackEncoding
The code page throng reads a file in when it is not UTF-8 or UTF-16, often called ANSI.
Default: windows1252 · Values: windows1250 … windows1258
throng recognises UTF-8 and UTF-16, with or without a byte order mark. A text file in neither is read in this code page, the one older Windows programs saved in for your language, and saves back in it. Set it to your own code page (Windows-1250 for Central European, Windows-1251 for Cyrillic, and so on) and those files open with their accented letters intact. Find in Files and its replace read files the same way. A document's encoding shows on the status bar, where you can reopen it in another.
Max open file size
Cog › Settings › Editor
editor.maxOpenFileBytes
The largest file an editor opens. A larger file shows a notice instead.
Default: 10 MB (10,485,760 bytes) · Values: 5 – 250 MB, step 5 MB; 1,024 – 2,147,483,648 bytes in the box
The notice names the file's size and this limit. Raise the limit to open a large log or data file; a very large document makes the editor slower to load and scroll. Find in Files skips files over the same limit, and each preview type has a limit of its own under Previews.
Project editor path display
Cog › Settings › Editor
editor.projectPathDisplay
Show a project editor's header as the file's path in the project, or its name alone.
Default: full · Values: full · name
The file pill in an editor's header names the file it shows. With full, a file in a project's editor
reads as its path from the project folder, such as \src\app.ts; with name, as app.ts. When the
header is too narrow, the folders shorten first and the file name stays whole.
Sub-workspace editor path display
Cog › Settings › Editor
editor.subWorkspacePathDisplay
Show a sub-workspace editor's header as the file's full path, or its name alone.
Default: full · Values: full · name
An editor a sub-workspace owns has no project folder to start from, so full shows the whole path from the
drive or root, such as D:\notes\todo.md. A project editor mirrored into a sub-workspace follows Project
editor path display instead.
Warn on missing file
Cog › Settings › Editor
editor.warnOnMissingFile
Raise a notice for an editor whose file is missing or has been deleted.
Default: on · Values: on · off
throng checks when you switch to a tab: each editor in it whose file has gone, been moved or renamed outside throng gets a line in one notice, which grows as you visit more tabs. A file that cannot be opened for another reason, such as being too large, is reported whatever this says. Off, those editors stay in their panels and raise no notice.
Editor default word wrap
Cog › Settings › Editor
editor.defaultWordWrap
Wrap long lines by default in new editors. Each editor can toggle it for itself.
Default: on · Values: on · off
A wrapped line continues on the next row of the screen instead of running off to the right; the file itself gains no line breaks. Each editor toggles its own from its status bar, its content menu or Ctrl+E,W, and keeps that choice.
Editor default view whitespace
Cog › Settings › Editor
editor.defaultShowWhitespace
Show a symbol for every space, tab, line break and invisible character by default in new editors.
Default: off · Values: on · off
The symbols show what the file holds where the screen shows blank space, such as trailing spaces, a tab among spaces, or an invisible character pasted in from elsewhere. Each editor keeps its own toggle, from its status bar, its content menu or View Whitespace.
Editor whitespace hover names
Cog › Settings › Editor
editor.whitespaceHoverNames
Name a whitespace marker's character in a popover when the pointer rests on it.
Default: on · Values: on · off
Works while View Whitespace shows the markers. Rest the pointer on a marker for half a second and a popover above the pointer names its character, such as a tab or a no-break space, and the pointer becomes the help cursor. Off, neither happens.
Show the editor gutter
Cog › Settings › Editor
editor.showGutter
Show line numbers down the left of every editor. Hiding them gives the width back to the document.
Default: on · Values: on · off
Show the strip of line numbers down the left-hand side of every editor. Hiding it gives that width back to the document, which then starts at the panel’s left edge.
Highlight other occurrences of the selection
Cog › Settings › Editor
editor.highlightOccurrences
Tint the other places the text you selected appears, in an editor or a preview.
Default: on · Values: on · off
Softly tints every other instance of the text selected in an editor or Markdown preview. A whole-word selection tints whole words only; matching is case-sensitive.
Keep undo history after a crash
Cog › Settings › Editor
editor.persistUndoHistory
Restore the undo history along with unsaved changes when throng reopens after a crash.
Default: on · Values: on · off
throng always recovers unsaved text after a crash; this also brings back each editor's undo history, so you can step back through edits made before it. Text you removed is kept in the recovery file until then. Off, a recovered editor starts with an empty undo history.
Status Bar
Show panel status bar
Cog › Settings › Editor › Status Bar
editor.showStatusBar
Show the status bar along the bottom of editor and preview panels.
Default: on · Values: on · off
An editor's status bar carries the cursor position and counts, the encoding and line-ending menus, and the word wrap and View Whitespace toggles; a preview's carries the toggles its type offers. Off hides the whole bar in every editor and preview panel, whatever the two settings below say, and every toggle on it stays on the panel's right-click menu. Terminals have a bar of their own: Show terminal status bar, under Terminal.
Show cursor position
Cog › Settings › Editor › Status Bar
editor.statusBar.showCursorPosition
Show the caret's line and column, or the lines a preview selection spans, in the status bar.
Default: on · Values: on · off
In an editor the readout is the caret's line and column, counting a tab as Tab width columns. In a Markdown preview, selecting text shows which lines of the source file it came from. Off, the readout is gone and the rest of the bar takes its room.
Show character and word counts
Cog › Settings › Editor › Status Bar
editor.statusBar.showCounts
Show the document's line, character and word counts in the status bar.
Default: on · Values: on · off
The counts cover the whole document, and while text is selected the bar also shows how many characters the selection holds. Off, the counts are gone and the rest of the bar takes their room.
The encoding indicator (UTF-8, UTF-8 with BOM, UTF-16 LE, UTF-16 BE, Windows-1250 (Central European) … Windows-1258 (Vietnamese)) and the
line-ending indicator (LF, CRLF, CR, or Mixed (…) naming the dominant one) have no setting of
their own: they show whenever the status bar does. The encoding menu lists the Unicode encodings, then a Windows Code Pages submenu (ticked when
the document is in one of them) holding the nine code pages: choosing one changes the document's encoding, marked as an unsaved change you can undo, and its last item
reopens the file in another encoding. The line-ending menu lists LF, CR, CRLF and Mixed: choosing one
converts every line, and Mixed is marked when the document mixes them but cannot be chosen. When the
bar is too narrow they hide after the line number, line ending first; the wrap and View Whitespace
toggles never hide.
Previews
A preview is a rendered view of a file beside its editor. throng ships eight preview types: Markdown
Preview, Mermaid Preview, the CSV Preview Editor (the one preview that edits, an editable grid
over the file), the read-only Spreadsheet Preview for workbooks, and Image Preview, SVG Preview,
PDF Preview and HTML Preview. Each has its own subsection below with an Enabled switch, an
Open <files> in choice and an Open previews in choice, plus any settings of its own.
Open <files> in picks what opening one of its files from File Explorer, Quick Open or a link does:
Throng Editor (editor), Throng Preview (preview) or Default OS Program (os), which hands
the file to the program your operating system opens it with and opens no panel. A Find in Files result set
to Default OS Program opens an editor at the match, and Open In's targets always do what they name.
Turning a type off closes its open previews and greys its other settings, which stay in view.
The settings in this table apply to every preview type.
Preview update delay
Cog › Settings › Editor › Previews
editor.previews.updateDelayMs
How long a preview waits after you stop typing before it shows your changes. Zero updates at once.
Default: 300 ms · Values: 0 – 2,000 ms, step 25 ms; 0 – 10,000 ms in the box
A preview beside its editor draws your unsaved text, so it follows as you type without a save. Each keystroke restarts the wait, which keeps a large document or diagram from redrawing on every key; Preview maximum wait below caps how long steady typing can hold it off.
Preview maximum wait
Cog › Settings › Editor › Previews
editor.previews.maxWaitMs
The longest a preview goes without showing your changes while you keep typing.
Default: 1 s (1,000 ms) · Values: 0 – 10 s, step 0.5 s
The longest a preview beside an editor goes without showing your changes while you keep typing. A value below the update delay behaves as the update delay.
Preview copy format
Cog › Settings › Editor › Previews
editor.previews.copyFormat
What Copy takes from a preview: formatted text that keeps headings, lists and links, or plain text.
Default: rich · Values: rich (Rich text) · plain (Plain text)
What Copy puts on the clipboard from a preview: formatted text that keeps headings, lists and links when pasted into a document, or plain text alone.
Synchronise preview and editor scrolling
Cog › Settings › Editor › Previews
editor.previews.syncScroll
Keep a preview and its editor scrolled to the same place, in both directions.
Default: on · Values: on · off
Scrolling either panel scrolls the other, block by block, so the paragraph you are editing stays in view in the preview. Also switched from either panel's header menu, the Synchronise Scrolling status-bar button, or the preview.toggleSyncScroll command.
Scroll-sync highlight duration
Cog › Settings › Editor › Previews
editor.previews.syncHighlightMs
How long the highlight shows after Synchronise Scrolling moves a preview or editor. 0 shows none.
Default: 1.5 s (1,500 ms) · Values: 0 – 10 s, step 0.5 s; 0 – 60,000 ms in the box
How long the soft highlight stays on the place a preview and its editor are in step at after Synchronise Scrolling moves one with the other, in both views, before it fades out. 0 shows no highlight at all. A visual guide only: scrolling is kept in step either way.
Markdown
Markdown: Enabled
Cog › Settings › Editor › Previews
editor.previews.providers.markdown.enabled
Offer previews of Markdown files. Off closes them and disables their preview commands.
Default: on · Values: on · off
Offer previews of .md and .markdown files. Off, every such preview closes and the preview commands are shown disabled.
Open Markdown files in
Cog › Settings › Editor › Previews
editor.previews.providers.markdown.defaultOpenAction
Where Markdown files open from File Explorer, Quick Open, links and Find in Files.
Default: preview · Values: editor (Throng Editor) · preview (Throng Preview) · os (Default OS Program)
What opening a Markdown file from File Explorer, Quick Open, a link or a Find in Files result does. Open In's targets always do what they name.
Markdown: Open previews in
Cog › Settings › Editor › Previews
editor.previews.providers.markdown.openTarget
Where Markdown previews open: reuse the last one used in this tab, or a new panel.
Default: lastActive · Values: lastActive (Last Active) · new (New Preview Panel)
Last Active reuses the most recently used Markdown preview in the tab you are looking at (from an editor's preview button too), adding to its Back history; otherwise a new preview opens. New opens every preview in a panel of its own. Open In → Last Preview Panel / New Preview Panel, in the File Explorer and on Find in Files results, let you choose. A value saved under the former single editor.previews.openTarget key is carried over to each preview type.
Markdown: Render Mermaid diagrams
Cog › Settings › Editor › Previews
editor.previews.providers.markdown.renderMermaid
Draw a mermaid code block in a Markdown preview as its diagram. When off, the block shows as code.
Default: on · Values: on · off
A code block fenced as mermaid holds a diagram written in Mermaid's text syntax: flowcharts, sequence diagrams and the like. On, the preview draws the diagram in place of the code. Off, the block shows as code.
Markdown: Typeset math
Cog › Settings › Editor › Previews
editor.previews.providers.markdown.typesetMath
Draw mathematics written between dollar signs, or in a math code block, as typeset equations.
Default: on · Values: on · off
Draw TeX maths ($…$, $$…$$ and math code blocks) as typeset equations. Off, each expression shows as the text it was written in.
Markdown: Load remote images
Cog › Settings › Editor › Previews
editor.previews.providers.markdown.loadRemoteImages
Show images a Markdown document links from the web over https. Off shows their alternative text.
Default: on · Values: on · off
Such images include build badges and screenshots hosted online, and only secure https: addresses load. Off, each shows its alternative text and throng requests nothing from the web for them.
Markdown: Show front matter
Cog › Settings › Editor › Previews
editor.previews.providers.markdown.showFrontMatter
Show the metadata block at the top of a Markdown document as a table. Off hides it.
Default: on · Values: on · off
Show the block of metadata at the top of a Markdown document, such as its title and tags, as a table. When off, the block is not shown at all and the document begins after it.
Markdown: Preview gutter
Cog › Settings › Editor › Previews
editor.previews.providers.markdown.gutter
Show a gutter with a fold arrow beside each heading in a Markdown preview.
Default: on · Values: on · off
A narrow strip down a Markdown preview's left edge holding a fold arrow beside each heading; the document moves right to make room. Off, the strip and its arrows are gone and folding stays available from the menus and bindings.
Markdown: Heading jump scroll duration
Cog › Settings › Editor › Previews
editor.previews.providers.markdown.headingJumpMs
How long a Markdown preview takes to scroll to a heading you jump to. 0 jumps at once.
Default: 200 ms · Values: 0 – 1,500 ms, step 50 ms; 0 – 5,000 ms in the box
How long a jump from Go to Heading takes to scroll there. Zero jumps there at once.
Markdown sections open
Cog › Settings › Editor › Previews
editor.markdownSectionsOpen
How a Markdown document's heading sections start out, in the editor and a fresh preview.
Default: expanded · Values: expanded · collapsed
Whether a Markdown document opens with its heading sections expanded or collapsed, in the editor and in a fresh preview alike. Either way, you then fold and unfold sections from the gutter, the right-click menu, Collapse All / Expand All or the Markdown bindings.
Mermaid
Mermaid: Preview .mmd files
Cog › Settings › Editor › Previews
editor.previews.providers.mermaid.enabled
Offer previews of .mmd and .mermaid files. Markdown's Render Mermaid diagrams covers the rest.
Default: on · Values: on · off
Offer previews of standalone .mmd and .mermaid files, drawn as their diagram. Off, every such preview closes. Markdown: Render Mermaid diagrams controls the diagrams inside a Markdown preview.
Open Mermaid files in
Cog › Settings › Editor › Previews
editor.previews.providers.mermaid.defaultOpenAction
Where Mermaid files open from File Explorer, Quick Open, links and Find in Files.
Default: preview · Values: editor (Throng Editor) · preview (Throng Preview) · os (Default OS Program)
As Open Markdown files in, for Mermaid files. Ships as preview, so a diagram file opens as its diagram.
Mermaid: Open previews in
Cog › Settings › Editor › Previews
editor.previews.providers.mermaid.openTarget
Where Mermaid previews open: reuse the last one used in this tab, or a new panel.
Default: lastActive · Values: lastActive (Last Active) · new (New Preview Panel)
As Markdown: Open previews in, for Mermaid previews; a Markdown preview is never reused for a Mermaid file, or the reverse.
CSV
The CSV Preview Editor shows a .csv as a grid you edit like a document: the same unsaved marker,
Save, Undo, Redo, Editor: Auto save and close-with-unsaved-changes prompt as the text editor, on the
one document both share. A save changes only the fields you edited; every other byte of the file is kept.
CSV: Enabled
Cog › Settings › Editor › Previews
editor.previews.providers.csv.enabled
Offer the CSV Preview Editor, the editable grid for .csv files. Off closes it.
Default: on · Values: on · off
Off, every CSV Preview Editor closes (asking first about unsaved changes) and its preview commands are shown disabled; a CSV still opens in the text editor.
Open CSVs in
Cog › Settings › Editor › Previews
editor.previews.providers.csv.defaultOpenAction
Where CSVs open from File Explorer, Quick Open, links and Find in Files.
Default: preview · Values: editor (Throng Editor) · preview (Throng Preview Editor) · os (Default OS Program)
As Open Markdown files in, for CSVs. Ships as preview, so a CSV opens in the CSV Preview Editor.
CSV: Open previews in
Cog › Settings › Editor › Previews
editor.previews.providers.csv.openTarget
Where CSV previews open: reuse the last one used in this tab, or a new panel.
Default: lastActive · Values: lastActive (Last Active) · new (New Preview Panel)
As Markdown: Open previews in, for CSV Preview Editors.
CSV: Edit long cells in a dialog
Cog › Settings › Editor › Previews
editor.previews.providers.csv.editLongCellsInDialog
Edit a cell longer than the threshold in a dialog instead of in place.
Default: on · Values: on · off
Double-click, F2 and Enter on a cell longer than Long cell threshold open a dialog holding an editor, in place of the in-cell editor; typing a character still edits in place. Every cell's menu offers Edit in Dialog…. A value that is a JSON object or array opens pretty-printed and highlighted; saving turns each line break (with the indentation after it, for JSON) into one space. Off, there is no dialog at all. Each CSV Preview Editor can switch it on or off for itself from the toggle at the right of its status bar, or its Edit Long Cells in Dialog menu item; a panel that has not follows this setting.
CSV: Long cell threshold
Cog › Settings › Editor › Previews
editor.previews.providers.csv.longCellThreshold
A cell with more characters than this opens in the cell dialog when you edit it.
Default: 50 characters · Values: 10 – 1,000 characters, step 10 characters; 1 – 100,000 characters in the box
Counts the cell's characters when you start editing it with a double-click, F2 or Enter. Used only while CSV: Edit long cells in a dialog is on; lower it to edit more cells in the roomier dialog.
CSV: Edit multi-line cells in a dialog
Cog › Settings › Editor › Previews
editor.previews.providers.csv.multiLineCellsInDialog
Open a cell holding a line break in the cell dialog, however short it is.
Default: on · Values: on · off
A cell holding a line break opens in the cell dialog on double-click, F2 or Enter, however short. Off, it opens there only when it is longer than Long cell threshold.
CSV: Wrap cells
Cog › Settings › Editor › Previews
editor.previews.providers.csv.wrapCells
Show every cell in full: line breaks kept, values wrapped, rows as tall as their tallest cell.
Default: off · Values: on · off
There is no cap on how tall a row grows. Off, a cell is one truncated line. Each CSV Preview Editor can switch wrapping on or off for itself from the Wrap toggle on its status bar, or its Wrap menu item; a panel that has not follows this setting. Wrapping changes only how the grid draws and never edits the file.
CSV: Lock first row
Cog › Settings › Editor › Previews
editor.previews.providers.csv.lockFirstRow
Keep the first row in view however far you scroll down.
Default: off · Values: on · off
Keep the first row directly under the column letters however far the table is scrolled down, set apart by a line. It is still an ordinary row: select it, edit it, use its menu. Each CSV Preview Editor can switch it on or off for itself from the Lock first row toggle on its status bar, or its Lock First Row menu item; a panel that has not follows this setting. Locking changes only how the grid draws and never edits the file.
CSV: Lock first column
Cog › Settings › Editor › Previews
editor.previews.providers.csv.lockFirstColumn
Keep the first column in view however far you scroll across.
Default: off · Values: on · off
Keep the first column beside the row numbers however far the table is scrolled across, set apart by a line. Each CSV Preview Editor can switch it on or off for itself from the Lock first column toggle on its status bar, or its Lock First Column menu item; a panel that has not follows this setting.
CSV: Remember the last view
Cog › Settings › Editor › Previews
editor.previews.providers.csv.rememberView
Open new CSV previews at the zoom and view you last set in one.
Default: on · Values: on · off
The last zoom, Wrap, Lock first row and Lock first column you chose in any CSV Preview Editor are kept for your account, outside settings.json, and the next CSV preview that opens starts there. A preview that is already open keeps its own view. Off, nothing is kept and new previews open at the shipped view.
Spreadsheet
A read-only preview of a workbook (.xlsx, .xlsm, .xlsb, .xls, .ods, .fods and .numbers),
with a sheet switcher and each sheet as a grid. Formula cells show the value stored in the file; nothing is
recalculated and no macro runs. Neither Office nor LibreOffice is needed.
Spreadsheet: Enabled
Cog › Settings › Editor › Previews
editor.previews.providers.spreadsheet.enabled
Offer previews of spreadsheet workbooks, such as .xlsx, .ods and .numbers. Off closes them.
Default: on · Values: on · off
Covers .xlsx, .xlsm, .xlsb, .xls, .ods, .fods and .numbers files. Off, every spreadsheet preview closes and the preview commands are shown disabled.
Open spreadsheets in
Cog › Settings › Editor › Previews
editor.previews.providers.spreadsheet.defaultOpenAction
Where spreadsheets open from File Explorer, Quick Open, links and Find in Files.
Default: preview · Values: preview (Throng Preview) · os (Default OS Program)
As Open Markdown files in, for workbooks. There is no editor option: a workbook is not text.
Spreadsheet: Open previews in
Cog › Settings › Editor › Previews
editor.previews.providers.spreadsheet.openTarget
Where Spreadsheet previews open: reuse the last one used in this tab, or a new panel.
Default: lastActive · Values: lastActive (Last Active) · new (New Preview Panel)
As Markdown: Open previews in, for spreadsheet previews.
Spreadsheet: First row is a header
Cog › Settings › Editor › Previews
editor.previews.providers.spreadsheet.firstRowHeader
Show each sheet's first row in the column header strip instead of the column letters.
Default: off · Values: on · off
For a workbook whose first row names its columns. On, that row moves into the strip above the grid, in place of the letters A, B, C; a column whose first cell is empty keeps its letter. Printing repeats the header row on every page. The workbook itself is never changed.
Spreadsheet: Preview size limit
Cog › Settings › Editor › Previews
editor.previews.providers.spreadsheet.maxPreviewBytes
The largest workbook a spreadsheet preview loads.
Default: 25 MB (26,214,400 bytes) · Values: 5 – 500 MB, step 5 MB; 1,024 – 2,147,483,648 bytes in the box
A larger workbook shows a notice naming its size and this limit; raise the limit and choose Refresh to load it.
Image
An image opens in the centre of its panel, on a canvas filling the panel, with its transparent parts hatched so its edges show (the colours are the theme's Picture Preview Background and Picture Transparency Marker). It carries the view controls a Mermaid diagram has, top left: Fit, Zoom In, Zoom 100%, Zoom Out, middle-button drag, Ctrl+wheel to zoom about the pointer, and Copy Image on the right-click menu. It opens at 100%, or fitted when it is larger than the panel; Fit fills the panel, enlarging a small image. An image larger than the panel, or zoomed in past it, scrolls both ways; a middle-button drag scrolls it, or moves the image itself across a panel it does not fill.
Image: Enabled
Cog › Settings › Editor › Previews
editor.previews.providers.image.enabled
Offer previews of Image files. Off closes them and disables their preview commands.
Default: on · Values: on · off
Offer previews of .png, .apng, .jpg, .jpeg, .jfif, .pjpeg, .pjp, .gif, .webp, .avif, .bmp, .dib, .ico and .cur files. Off, every such preview closes and the preview commands are shown disabled.
Open images in
Cog › Settings › Editor › Previews
editor.previews.providers.image.defaultOpenAction
Where images open from File Explorer, Quick Open, links and Find in Files.
Default: preview · Values: preview (Throng Preview) · os (Default OS Program)
As Open Markdown files in, for images. There is no editor option: an image is not text. Choose
os to have your image viewer or editor open them instead of a throng panel.
Image: Open previews in
Cog › Settings › Editor › Previews
editor.previews.providers.image.openTarget
Where Image previews open: reuse the last one used in this tab, or a new panel.
Default: lastActive · Values: lastActive (Last Active) · new (New Preview Panel)
As Markdown: Open previews in, for Image previews.
Image: Maximum file size
Cog › Settings › Editor › Previews
editor.previews.providers.image.maxFileBytes
Images larger than this are not read; the preview says how large the file is instead.
Default: 50 MB (52,428,800 bytes) · Values: 5 – 250 MB, step 5 MB; 1,024 – 2,147,483,648 bytes in the box
A file larger than this is not read: the preview names its size and this limit instead. Raise it and press Refresh to show the file.
Image: Hatch transparent areas
Cog › Settings › Editor › Previews
editor.previews.providers.image.transparencyHatch
Hatch the transparent parts of images, so their edges show against the background.
Default: on · Values: on · off
Draw diagonal hatching behind an image's transparent parts, in the theme's Picture Transparency Marker. Off, the canvas shows through plainly.
Image: Remember the last view
Cog › Settings › Editor › Previews
editor.previews.providers.image.rememberView
Open new image previews at the zoom and view you last set in one.
Default: on · Values: on · off
The last zoom you chose in any Image preview (Fit or a scale) is kept for your account, outside settings.json, and the next Image preview that opens starts there. A picture shown inside another preview, such as a Markdown preview, is not affected. Off, nothing is kept and new previews open at 100%, or Fit where the picture is larger than the panel.
SVG
An SVG is drawn as a picture, never as part of throng's own page: an SVG file can carry scripts and
links to remote content, and none of it runs or loads. Beside its editor the drawing follows your
unsaved changes. It sits on the same canvas, with the same hatching, controls and scrolling, as an
image. A svg code block in a Markdown note is drawn the same way.
SVG: Enabled
Cog › Settings › Editor › Previews
editor.previews.providers.svg.enabled
Offer previews of SVG files. Off closes them and disables their preview commands.
Default: on · Values: on · off
Offer previews of .svg files. Off, every such preview closes and the preview commands are shown disabled.
Open SVG files in
Cog › Settings › Editor › Previews
editor.previews.providers.svg.defaultOpenAction
Where SVG files open from File Explorer, Quick Open, links and Find in Files.
Default: preview · Values: editor (Throng Editor) · preview (Throng Preview) · os (Default OS Program)
As Open Markdown files in, for SVG files. An SVG is text, so editor opens its markup; the preview's
Open in Editor gets you there from a drawing too.
SVG: Open previews in
Cog › Settings › Editor › Previews
editor.previews.providers.svg.openTarget
Where SVG previews open: reuse the last one used in this tab, or a new panel.
Default: lastActive · Values: lastActive (Last Active) · new (New Preview Panel)
As Markdown: Open previews in, for SVG previews.
SVG: Maximum file size
Cog › Settings › Editor › Previews
editor.previews.providers.svg.maxFileBytes
SVG files larger than this are not read; the preview says how large the file is instead.
Default: 10 MB (10,485,760 bytes) · Values: 5 – 250 MB, step 5 MB; 1,024 – 2,147,483,648 bytes in the box
A file larger than this is not read: the preview names its size and this limit instead. Raise it and press Refresh to show the file. A preview beside its editor applies the same limit to the unsaved text.
SVG: Hatch transparent areas
Cog › Settings › Editor › Previews
editor.previews.providers.svg.transparencyHatch
Hatch the transparent parts of SVGs, so their edges show against the background.
Default: on · Values: on · off
Draw diagonal hatching behind an SVG's transparent parts, in the theme's Picture Transparency Marker. Off, the canvas shows through plainly.
SVG: Remember the last view
Cog › Settings › Editor › Previews
editor.previews.providers.svg.rememberView
Open new SVG previews at the zoom and view you last set in one.
Default: on · Values: on · off
The last zoom you chose in any SVG preview (Fit or a scale) is kept for your account, outside settings.json, and the next SVG preview that opens starts there. A drawing shown inside another preview, such as a Markdown preview, is not affected. Off, nothing is kept and new previews open at 100%, or Fit where the drawing is larger than the panel.
A PDF shows its pages one after another, at 100%, or fitted to the panel's width when a page is wider; throng draws pages as they come into
view. Its view controls, top left (Fit page width, Zoom In, Zoom 100%, Zoom Out), and the panel's zoom
chords and Ctrl+wheel redraw them sharp at the new size. Beside them, and on the right-click menu, the page
layouts: Single Page, Two Pages (two to a row, which Fit fills the width with) and Pages Side by
Side (as many to a row as fit, re-flowed as the panel is resized); a middle-button drag moves around the pages, and
Ctrl+G goes to a page. Its text can be selected and copied. Nothing in a
PDF runs, and a link follows only on Ctrl+click.
PDF: Enabled
Cog › Settings › Editor › Previews
editor.previews.providers.pdf.enabled
Offer previews of PDF files. Off closes them and disables their preview commands.
Default: on · Values: on · off
Offer previews of .pdf files. Off, every such preview closes and the preview commands are shown disabled.
Open PDFs in
Cog › Settings › Editor › Previews
editor.previews.providers.pdf.defaultOpenAction
Where PDFs open from File Explorer, Quick Open, links and Find in Files.
Default: preview · Values: preview (Throng Preview) · os (Default OS Program)
As Open Markdown files in, for PDFs. There is no editor option: a PDF is not text. Choose os to
read them in your own PDF reader instead.
PDF: Open previews in
Cog › Settings › Editor › Previews
editor.previews.providers.pdf.openTarget
Where PDF previews open: reuse the last one used in this tab, or a new panel.
Default: lastActive · Values: lastActive (Last Active) · new (New Preview Panel)
As Markdown: Open previews in, for PDF previews.
PDF: Maximum file size
Cog › Settings › Editor › Previews
editor.previews.providers.pdf.maxFileBytes
PDFs larger than this are not read; the preview says how large the file is instead.
Default: 100 MB (104,857,600 bytes) · Values: 5 – 250 MB, step 5 MB; 1,024 – 2,147,483,648 bytes in the box
A file larger than this is not read: the preview names its size and this limit instead. Raise it and press Refresh to show the file.
PDF: Remember the last view
Cog › Settings › Editor › Previews
editor.previews.providers.pdf.rememberView
Open new PDF previews at the zoom and view you last set in one.
Default: on · Values: on · off
The last zoom and page layout you chose in any PDF preview (Fit or a zoom, and Single Page, Two Pages or Side by Side) are kept for your account, outside settings.json, and the next PDF preview that opens starts there. A PDF preview that is already open keeps its own view, and a change in one never moves another. Off, nothing is kept and new PDF previews open at 100%, or Fit where the page is wider than the panel; the kept view waits for when you turn it back on.
HTML
An HTML page is shown as its static markup in a sandboxed frame, with the stylesheets, fonts and images beside it in the project: no script runs and the page cannot navigate. A link follows only on Ctrl+click. The page fills its panel at every zoom; a click in it makes the panel active, and the zoom chords, Ctrl+wheel and the app's other shortcuts work while it has the keyboard. An edit updates the page in place, keeping where you were scrolled. Find searches the page, and a right-click offers Copy as (rich or plain text) and Select All.
Nothing is fetched from the network except stylesheets, fonts and images from a safe source: one listed in HTML: Safe preview sources below, which applies to every project, or in the project's own list in Project Settings. When a page names a remote resource that is not loaded, one notice in the panel lists each one under its source, with Allow this source to add that source to the project's list.
HTML: Enabled
Cog › Settings › Editor › Previews
editor.previews.providers.html.enabled
Offer previews of HTML files. Off closes them and disables their preview commands.
Default: on · Values: on · off
Offer previews of .html and .htm files. Off, every such preview closes and the preview commands are shown disabled.
Open HTML files in
Cog › Settings › Editor › Previews
editor.previews.providers.html.defaultOpenAction
Where HTML files open from File Explorer, Quick Open, links and Find in Files.
Default: preview · Values: editor (Throng Editor) · preview (Throng Preview) · os (Default OS Program)
As Open Markdown files in, for HTML files. Choose editor if you mostly edit pages, or os to have
the program your system opens web pages with, usually a browser, show them with their scripts running.
HTML: Open previews in
Cog › Settings › Editor › Previews
editor.previews.providers.html.openTarget
Where HTML previews open: reuse the last one used in this tab, or a new panel.
Default: lastActive · Values: lastActive (Last Active) · new (New Preview Panel)
As Markdown: Open previews in, for HTML previews.
HTML: Maximum file size
Cog › Settings › Editor › Previews
editor.previews.providers.html.maxFileBytes
HTML files larger than this are not read; the preview says how large the file is instead.
Default: 10 MB (10,485,760 bytes) · Values: 5 – 250 MB, step 5 MB; 1,024 – 2,147,483,648 bytes in the box
A file larger than this is not read: the preview names its size and this limit instead. Raise it and press Refresh to show the file. A preview beside its editor applies the same limit to the unsaved text.
HTML: Remember the last view
Cog › Settings › Editor › Previews
editor.previews.providers.html.rememberView
Open new HTML previews at the zoom and view you last set in one.
Default: on · Values: on · off
The last zoom you chose in any HTML preview is kept for your account, outside settings.json, and the next HTML preview that opens starts there. A preview that is already open keeps its own zoom. Off, nothing is kept and new previews open at the default size.
HTML: Safe preview sources
Cog › Settings › Editor › Previews
editor.previews.providers.html.safeSources
Sites an HTML preview may load stylesheets, fonts and images from. Project Settings can add more.
Default: https://fonts.googleapis.com, https://fonts.gstatic.com · Values: A list of https: addresses, each a host (https://cdn.example.com, with a port if it needs one) or every subdomain of one (https://*.example.com); may be empty
Each entry is an https: address an HTML preview may load stylesheets, fonts and images from, in every project. Scripts never run, whatever is listed. A project adds sources of its own in Project Settings, and a page's notice about blocked resources offers Allow this source to add one there.
Links
Paths a program prints, web addresses, allowed protocols and the hyperlinks a program declares are
followable in terminals, editors and previews with Ctrl+click, the Link menu, or
Ctrl+Enter in an editor or preview. A link is recognised by its text
alone; nothing checks that it exists before it is drawn.
Where a followed link goes is fixed, not a setting, and depends on what it names: a web or
loopback address opens in the system browser; a file in the project opens in throng, in a preview or
an editor by that file type's default open action under Previews, and always an editor
when the link names a line and column; a folder, a network path, a file: URL and anything else on
disk is shown in OS Explorer; and an allowed protocol goes to its own handler. A click never runs a
file and never opens one in its default program. For that, choose Open in OS
Default Program or, for an executable, Open Program from the Link menu. Find in File Explorer on
the Link menu selects a linked file or folder in throng's own File Explorer; it is offered once the link
is found inside the project. The link underline and the
plain-click hint take their colours from the theme (see Themes).
Detect links in editors
Cog › Settings › Editor › Links
editor.links.detectInEditors
Show links in editor documents: detected paths, web links, protocol links and declared hyperlinks.
Default: on · Values: on · off
Show every kind of link in editor documents. Off, none are shown, and Ctrl+click and Ctrl+Enter keep their ordinary editor meanings (add a cursor, insert a blank line).
Detect links in terminals
Cog › Settings › Editor › Links
editor.links.detectInTerminals
Show links in terminal output: detected paths, web links, protocol links and declared hyperlinks.
Default: on · Values: on · off
Show every kind of link in terminal output. Off, none are shown and Ctrl+click follows nothing. A running terminal keeps its scrollback.
Link resolution timeout
Cog › Settings › Editor › Links
editor.links.existenceCheckTimeoutMs
How long throng looks for a link's target when you follow it or open its Link menu.
Default: 2 s (2,000 ms) · Values: 0.25 – 25 s, step 0.25 s
A path link can name a file relative to several folders, so throng looks in each place it could be before it opens the file or fills the Link menu. This is how long that search may take in total. A link on a slow network share may need longer; raise it and the next link you follow uses it, with no restart. throng draws links without this check: it runs only when you act on one.
Allowed link protocols
Cog › Settings › Editor › Links
editor.links.protocolAllowlist
Link types besides web addresses that terminals and editors make clickable, such as mailto.
Default: mailto, tel, slack · Values: A list of scheme names, with or without the colon, any case; may be empty
Each entry is a URI scheme, the part before the colon in mailto: or slack://. A link with a listed scheme is drawn as a link in terminals and editors, and following it hands it to the app your system registers for that scheme. Enter a name with or without its colon; case does not matter. An email address written on its own is a mailto: link while that scheme is listed. throng refuses schemes that run code (javascript, data, vbscript, ms-msdt, search-ms and the like) whatever the list says.
File extensions that end a spaced path
Cog › Settings › Editor › Links
editor.links.knownFileExtensions
Extensions that mark where an unquoted path with spaces ends, in terminals and editors.
Default: The extensions throng ships with · Values: A list, each with or without its leading dot, any case; may be empty
A program often prints a path with spaces without quoting it, such as D:\My Files\report final.pdf. throng reads such a path as one link up to an extension in this list, so the whole path is clickable rather than only D:\My. Each entry is taken with or without its leading dot, and in any case. An empty list means an unquoted path ends at its first space. Once you have edited it, extensions added in a later release do not appear in it.
Navigation
Quick Open hides excluded files
Cog › Settings › Editor › Navigation
editor.navigation.quickOpenExcludeHidden
Leave the files this project hides out of Quick Open.
Default: on · Values: on · off
A project hides files through File Explorer's Excluded globs and through anything you chose Hide in this project for. A control in the modal shows them for that one search, without changing this.
Remember the last Quick Open query
Cog › Settings › Editor › Navigation
editor.navigation.rememberQuickOpenQuery
Reopen Quick Open with the last query that opened a file, until throng closes.
Default: off · Values: on · off
The query comes back with its results, selected so typing replaces it. throng forgets a query you abandoned with Escape, and one from another project. It lasts until throng closes and never reaches the disk.
Remember the last Go To Line number
Cog › Settings › Editor › Navigation
editor.navigation.rememberGotoLineNumber
Reopen Go To Line with the last line number you went to, until throng closes.
Default: off · Values: on · off
The number comes back selected, so typing replaces it. It lasts until throng closes and never reaches the disk.
Navigation history size
Cog › Settings › Editor › Navigation
editor.navigation.historySize
How many files Back and Forward remember in each editor and preview panel.
Default: 10 entries · Values: 1 – 100 entries, step 1
Each panel keeps its own list: opening another file in it adds one, and Back and Forward move along it. Lowering this trims every open panel at once, keeping the file each one shows. History persists across restarts.
Indentation
A file that already indents one way keeps doing so; otherwise its language's entry applies, and otherwise the defaults below. A setting never reformats an existing document. It decides what the next indent inserts.
Indent with
Cog › Settings › Editor › Indentation
editor.indent.style
What a new indent inserts, unless the file or its language says otherwise.
Default: spaces · Values: spaces · tabs
What Tab and a new line's automatic indent insert: spaces puts in Indent width spaces per level,
tabs one tab character. A file whose lines already indent one way keeps that way, and a language listed
in Indentation by language uses its own entry.
Indent width
Cog › Settings › Editor › Indentation
editor.indent.indentWidth
How many spaces one indent level inserts.
Default: 2 columns · Values: 1 – 16 columns, step 1
Used when indenting with spaces. A file already indented with spaces keeps the width its lines use, so a four-space file stays four-space whatever this says.
Tab width
Cog › Settings › Editor › Indentation
editor.indent.tabWidth
How many columns a tab character takes on screen. The file stays as it is.
Default: 4 columns · Values: 1 – 16 columns, step 1
A tab is one character in the file; this decides only how wide it is drawn, and so where text after it lines up. The column number on the status bar counts a tab as this many columns. A language's entry in Indentation by language can set its own.
Indentation by language
Cog › Settings › Editor › Indentation
editor.indentByLanguage
Indentation for new indents, by language. A file that already indents its own way keeps it.
Default: Each language's convention · Values: A table: language → style, width (1 – 16 columns, step 1), tab width (1 – 16 columns, step 1); a value past a limit is stored as that limit, and a fraction is refused
Each language's entry sets its indent style, width and tab width, so Go can indent with tabs and Python with four spaces while the defaults above cover the rest. It cannot be emptied, because that would re-indent every language with the global default.
Languages
Language by file extension
Cog › Settings › Editor › Languages
editor.languageByExtension
Map a file extension to a language, e.g. “.foo” → Python. Overrides the built-in detection.
Default: empty · Values: A table: extension → language
Map an extension to a language (for example .foo → Python), overriding detection by extension. A file throng recognises by name, such as tsconfig.json, keeps that language; only the picker changes it (how the language is chosen).