throng v1.0.0-beta4

File Explorer


Show Open in OS Default Program

Cog › Settings › File Explorer

explorer.showOpenInOsDefaultProgram

Offer Open in OS Default Program on the File Explorer menu and on the panel title menu.

Default: on · Values: on · off

Open in OS Default Program hands a file to the program your operating system opens it with, such as an image viewer or a spreadsheet application, and opens no panel in throng. Off, the item leaves the File Explorer's right-click menu, an editor or preview panel's title menu and the icon in its header. Setting a file type's Open <files> in to Default OS Program under Previews still works.


File Explorer popover delay

Cog › Settings › File Explorer

explorer.popoverDelayMs

How long the pointer rests on a file or folder before its popover appears. Zero shows it at once.

Default: 500 ms · Values: 0 – 1,500 ms, step 25 ms; 0 – 10,000 ms in the box

How long the pointer must rest on a file or folder before a popover shows its icon, larger, beside its path. Zero shows it as soon as the pointer arrives.


Open files with

Cog › Settings › File Explorer

editor.openOnClick

Whether one click or a double click on a file in File Explorer opens it, or neither does.

Default: single · Values: single · double · none

The file opens where Open files in below says, and as its type's Open <files> in says under Previews. With none, a click only selects; Enter or Open In on the right-click menu opens the file. Whatever this says, a click on a folder selects it and a double click opens or closes it, and Ctrl- or Shift-clicking selects several items without opening any.


Open files in

Cog › Settings › File Explorer

editor.openTarget

Where an opened file lands: the last active editor (reused), or a new editor panel.

Default: lastActive · Values: lastActive · new

lastActive loads the file into the editor you used last in the tab, adding it to that editor's Back history, and opens a new editor only when the tab has none; if that editor has unsaved changes, it asks what to do with them first. new gives every file a panel of its own. Either way, a file already open in an editor is brought forward there instead of opening twice. A preview's Open in Editor follows this too.


Delete files to

Cog › Settings › File Explorer

explorer.deleteMode

Send deleted files to the OS Recycle Bin, or delete them for good.

Default: recycle · Values: recycle · permanent

Applies to Delete in File Explorer. With recycle, a deleted item goes to the Recycle Bin (the Trash on Linux and macOS), and throng's undo can bring it back. With permanent, the item is gone at once and undo cannot restore it. What a paste or drag does to an item it replaces is the next setting's job.


When Paste replaces an item

Cog › Settings › File Explorer

explorer.replaceMode

What happens to an item a paste or drag replaces: moved to the Recycle Bin for undo, or deleted.

Default: recycle · Values: recycle · permanent

When a paste or drag meets an item of the same name, throng asks; this decides what happens to the old item once you choose Replace. With recycle, undoing the paste brings it back; with permanent, it is gone. Independent of Delete files to.


Excluded globs

Cog › Settings › File Explorer

explorer.excludeGlobs

Files and folders File Explorer hides, as glob patterns relative to the project folder.

Default: **/.git, **/.svn, **/.hg, **/CVS, **/.DS_Store, **/Thumbs.db, **/node_modules · Values: A list of root-relative glob patterns; may be empty

A pattern such as **/node_modules hides every folder of that name, at any depth. Hidden entries also stay out of Quick Open while Quick Open hides excluded files is on. An empty list hides nothing. Find in Files keeps a list of its own: see Excluded from search.


Sort names

Cog › Settings › File Explorer

explorer.sortOrder

How File Explorer orders names: numbers by value (file 2 before file 10), or character by character.

Default: natural · Values: natural · characters

How names are ordered within folders and within files. natural compares numbers by their value (file 2 before file 10); characters compares character by character (file 10 before file 2). Folders always come first. Takes effect straight away.


Follow the active editor

Cog › Settings › File Explorer

explorer.autoRevealActiveFile

Select the active editor's file in File Explorer, opening its folders to show it.

Default: on · Values: on · off

Each time you move to another editor, File Explorer scrolls to its file and selects it, while keyboard focus stays in the editor. Off, the tree stays where you left it, and the open file still carries a quieter mark in the tree wherever focus is. A file outside the project leaves the tree as it is. The preview version is Follow the active preview, below.


Follow the active preview

Cog › Settings › File Explorer

explorer.autoRevealActivePreview

Select the active preview's source file in File Explorer, opening its folders to show it.

Focus stays in the preview, and a preview of a file outside the project leaves the tree as it is. It works independently of Follow the active editor.

Default: on · Values: on · off


Copy-drag modifier

Cog › Settings › File Explorer

explorer.dragCopyModifier

The key you hold while dragging in File Explorer to copy instead of move.

Default: ctrl · Values: ctrl · shift · alt

A plain drag inside the tree moves what you drag; hold this key as you drop and it copies instead. A drag from your file manager into the tree copies unless you hold Move-drag modifier. The label beside the pointer says which will happen. Give the two settings different keys: when both are the same key, holding it copies.


Open unsupported files in the OS

Cog › Settings › File Explorer

explorer.openUnsupportedInOs

Open a file throng cannot show in your OS default program, instead of reporting it.

Default: on · Values: on · off

A file throng cannot show is one the editor refuses as binary, such as an executable, an archive or a document format with no throng preview, when that file type does not open as a preview. On, opening one from File Explorer, Quick Open or a link hands it to the program your operating system uses for it. Off, throng raises one notice saying why it cannot open the file and naming the setting that would open it. A file whose preview type is switched off under Previews counts as one throng cannot show.


Move-drag modifier

Cog › Settings › File Explorer

explorer.dragMoveModifier

The key you hold while dragging in File Explorer to move instead of copy.

Default: shift · Values: ctrl · shift · alt

A drag from your file manager into the tree copies by default; hold this key and it moves the files instead. Inside the tree a plain drag already moves, so the key there only makes sure a drag moves.