Edit files inside Filarr
Edit text, Markdown, code, CSV tables, calendars and Filarr documents without leaving the app, create a new document and save your changes.
On this page
Documentation sections
Some files can be edited right inside Filarr: plain text, Markdown, code, CSV tables, calendars and Filarr documents (.fdoc). You stay in the app, and no readable copy of the file is written anywhere on your computer.
The built-in editors
| Editor | Files | Name in Open with |
|---|---|---|
| Text | .txt, .md, .csv, .json, .log and similar | Edit text |
| Code | About forty languages: .py, .js, .css, .sql, .yaml… | Edit code |
| Table | .csv, .tsv | Edit table |
| Calendar | .ics | Edit calendar |
| Document | .fdoc, and Word files (.docx) turned into a new document | Edit document |
A double-click opens the file in its usual editor. The editor takes a few seconds to appear the first time. You can also right-click the file and choose Open in editor.
To pick another editor, right-click the file, then Open with…. A CSV file, for example, opens as text on a double-click: choose Edit table to see it as a grid.
Each editor has a size limit, from 512 KB for tables to 50 MB for text and documents (2 MB for code). A bigger file opens in the preview or in an application of your computer instead, see Preview and open files.
Create a new document
- Open a folder.
- Click New document.
- Choose the format: Calendar (.ics), CSV table (.csv), Document (.fdoc), Markdown (.md) or Plain text (.txt).
- Type a name under Document name, then click Create and open.
A document (.fdoc) is a laid-out file, as in a word processor: it lives in a folder and exports to Word. For writing that links to your other notes, with [[links]], backlinks and tasks, create a note instead: see Write your first note.
Write and save
At the top of the editor you find the back arrow, the file name, the save state and the Save button.
As soon as you type, the state reads Unsaved changes.
Click Save, or press Ctrl+S. The state turns to Saved and the message "Document saved." appears.
In the desktop app, before each save, Filarr keeps the previous state of the file in its version history, under the name "Before edit". If you change your mind, you can go back: see File version history.
To rename the file, click its name at the top of the editor, type the new name and press Enter.
Code
The code editor shows your file in a monospace font, ready to edit.
Markdown
A Markdown file opens as a formatted page, with headings, lists and emphasis. Click Edit at the top right to change its source, then Preview to see the result again.
Calendars
The calendar editor shows each event of an .ics file as a form: Title, Start, End, Location and Description. Change the fields, then save.
Word documents
Filarr does not edit a .docx file itself. It can turn it into a new Filarr document:
- Right-click the Word file, then Open with….
- Choose Edit document, then Open.
- Make your changes, then click Save.
The first save creates a new .fdoc document next to the original. The Word file stays untouched. Text, headings, lists, tables and images come across, but not the original layout (fonts, colors, margins, headers and footers): the top of the document says so.