Between Notepad and an IDE
Sora (空, “sky”) is a small code editor for Windows 11, for the moments when a full development environment is too much and Notepad is too little. Open a file or a folder from File Explorer or the terminal, read it comfortably, change it, save it, close it.
Try it here
Click a file, press Ctrl+P, or try the buttons under the window. It answers the way Sora does.
This is a small copy of Sora’s window, with Sora’s own colours, commands and file matching. The project is made up, its four files are stills, and nothing is opened or saved on your PC.
The live copy needs JavaScript. Without it, this is a picture of the window with one file open.
- docs
- src
- Route.cs
- routeView.ts
- README.md
Ctrl+P to open a file
Sora has no toolbar or menu bar. These buttons stand in for its keys. A browser keeps some of them for itself, such as Ctrl+N, Ctrl+W and Ctrl+Tab, and Ctrl+=, Ctrl+- and Ctrl+0 stay the browser’s zoom. The command palette runs all of those here.
From a terminal
The prompt comes straight back. sora --wait holds it until the tab is closed.
That was Sora, more or less. It is on its way to the Microsoft Store.
What it does
Files and folders
Open one file, or a whole folder with a sidebar and tabs. Open as many windows as you need.
Quick open and the command palette
Ctrl+P finds a file by a few letters of its name. Sora has no menu bar and no toolbar: Ctrl+Shift+P lists its commands, each with its key if it has one.
Focus mode
F11 hides the sidebar, the tabs and the status bar, and leaves the text in a centred column.
Four themes
Sora Day and Sora Dawn are light, Sora Night and Sora Dusk are dark. Sora follows Windows’ light or dark mode, or keeps the theme you pick.
More than twenty languages
Colour for Markdown, JSON, HTML, CSS, TypeScript, Python, C#, Rust, Go and more, set in JetBrains Mono. Any other file opens as plain text.
Saved the way it was found
Sora reads a file’s encoding and line endings, shows both in the status bar, and saves the file the same way.
Unsaved text is kept
A backup is written a second after you stop typing. If Sora or Windows stops, the text comes back the next time, marked unsaved.
Quick start
After its last window closes, Sora stays ready in the notification area for the next file. You can turn that off.
The sora command
sora notes.md opens a file, sora . the folder you are in, sora app.ts:42 a file at a line. sora --wait makes it git’s editor.
Sora sends nothing
Sora makes no network requests of its own and collects nothing: no accounts, no telemetry, no ads. The privacy policy has the details.
The app
A Sora window is a sidebar with the folder’s files, a row of tabs, the text and a status bar. Quick open, the command palette and the settings open over the text and go away again.
The pictures show Sora’s own interface with a made-up project, without the window’s title bar.
Three ways in
From File Explorer
Right-click a text or code file, choose Open with, then Sora Editor, which is Sora’s name in the Microsoft Store. Sora does not make itself the default program for any kind of file.
From a terminal
The sora command opens a file, a folder or a line, and hands the prompt back.
sora notes.md sora . sora src\app.ts:42 sora --wait notes.md git config --global core.editor "sora --wait"
From Sora
Ctrl+O opens a file, Ctrl+Shift+O a folder, and Ctrl+N a new, untitled document. Ctrl+P with nothing typed lists the last 10 files and 5 folders you opened.
Keys and languages
Every command has a name in the command palette. These have a key as well.
| Ctrl+N | New file |
|---|---|
| Ctrl+O | Open file |
| Ctrl+Shift+O | Open folder |
| Ctrl+S | Save |
| Ctrl+Shift+S | Save as |
| Ctrl+W | Close tab |
| Ctrl+Tab, Ctrl+Shift+Tab | Next tab, previous tab |
| Ctrl+B | Toggle sidebar |
| Ctrl+P | Quick open |
| Ctrl+Shift+P | Command palette |
| Ctrl+F | Find |
| Ctrl+H | Replace |
| F3, Shift+F3 | Find next, find previous |
| Ctrl+G | Go to line |
| Alt+Z | Toggle word wrap |
| Ctrl+=, Ctrl+- | Increase font size, decrease font size |
| Ctrl+0 | Reset font size |
| F11 | Toggle focus mode |
| Ctrl+, | Settings |
| Ctrl+Shift+N | New window |
Languages
Markdown, JSON, HTML, CSS, JavaScript, TypeScript (and JSX and TSX), Python, C#, C and C++, Rust, Go, Java, Kotlin, Swift, PHP, Ruby, Lua, SQL, XML (including .xaml, .csproj and .svg), YAML, TOML, INI (including .editorconfig), PowerShell, shell scripts, Dockerfile and diffs. Any other file opens as plain text.
A language gives colour and indentation. Sora does not complete code or close brackets for you. Code blocks inside Markdown are not coloured as code.
C# is coloured by a community grammar that misreads a few constructs, such as top-level statements and a primary constructor on a nested class. After one of those the colours can be off to the end of the class.
In the sidebar
The arrow keys, Home and End move through the files, and Enter opens one. F2 renames and Delete moves to the Recycle Bin, after asking.
Your work is kept
A backup while you type
While a document has changes you have not saved, Sora keeps a backup of its text on your PC, a second after you stop typing. The backup goes when you save or discard the changes.
After a crash
If Sora or Windows stops, the text comes back the next time Sora opens that file or folder, marked unsaved with ●.
A save that cannot half-fail
Sora writes the new text to a temporary file beside the document, then moves it over the document. A save that fails part-way leaves your file as it was.
Encoding and line endings
UTF-8, UTF-8 with BOM, UTF-16 or Windows-1252, with LF or CRLF. Sora saves what it read. A guessed encoding says (guessed), and a file with mixed line endings says which kind a save will make them.
Changed on disk
When another program changes an open file, Sora reloads it if you have no unsaved changes in it, and otherwise offers Reload or Keep mine. Saving over a file that changed asks first: Overwrite, Reload or Cancel.
Where you left off
Started with no file, Sora reopens the windows, folders and tabs you had when you last quit, with each tab’s cursor and scroll position.
What Sora is not
Sora is an editor, not a development environment. It has no code completion, no built-in terminal, no git, no extensions and no search across files. Find and replace work in the current file.
By default Sora keeps running after you close its last window, with its icon in the notification area. Quit Sora on that icon’s menu ends it, and Quick start in Settings can be set to Off.
Sora sends nothing to me or to anyone else. Its window is drawn by WebView2, which is part of Windows and follows Windows’ diagnostic data practices: it may send Microsoft diagnostic data. The privacy policy says what and when.
Getting it
Sora is not out yet. It is on its way to the Microsoft Store, where it will be free.
- Windows 11 · version 24H2 or later · x64
- The WebView2 Runtime, which is part of Windows 11
- Language · English
- Licence · free to use, at home and at work. Not open source: see the licence terms
- Built with open-source components, such as the CodeMirror editor and the JetBrains Mono font
- Help · @brudvik on X