Sora · code editor · Windows 11

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.

Coming to the Microsoft Store Licence Privacy policy

FreeWindows 11 24H2 or laterx64English

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.

README.md — lantern
LANTERN
  • src
  • Route.cs
  • routeView.ts
  • README.md
1# Lantern23Lantern plans walking routes between waypoints and tells you how long each leg takes.4It is a small library with a web viewer for the routes it makes.56## How a route is planned781. Waypoints are read from a route file, in order.92. Each leg is measured along the great circle between its two ends.103. The time of a leg follows **Naismith's rule**: an hour for every 5 km, plus ten minutes for every 100 m of climb.114. Rests are added where a leg ends at a waypoint marked `rest`.1213## Try it1415```shell16dotnet build17dotnet run -- plan routes/coastal.json18```1920## Project layout2122| File | What it holds |23| ------------------ | -------------------------------- |24| `src/Route.cs` | A route, its legs and their time |25| `src/routeView.ts` | The viewer's list of legs |26| `docs/` | [Getting started](docs/getting-started.md) |2728- [x] Plan a route from a file29- [ ] Draw the route on a map
Spaces: 4UTF-8LFMarkdown

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.

Theme

From a terminal

The prompt comes straight back. sora --wait holds it until the tab is closed.

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.

Sora’s interface in the Sora Day theme: a sidebar with the files of a folder named Lantern, three tabs, a Markdown file with coloured headings, code and a table, and a status bar that reads Ln 1, Col 1, Spaces: 4, UTF-8, LF, Markdown Sora’s interface in the Sora Night theme: the sidebar, four tabs and a C# file with line 27 marked as the current line Sora’s quick open box in the Sora Dawn theme, with a few letters typed and the matching files listed under it Sora’s command palette in the Sora Dusk theme: a list of commands, each with its key, over a TypeScript file Sora’s focus mode in the Sora Dawn theme: text in a centred column and nothing else Sora’s settings page in the Sora Day theme, open over a C# file

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.

Keys
Ctrl+NNew file
Ctrl+OOpen file
Ctrl+Shift+OOpen folder
Ctrl+SSave
Ctrl+Shift+SSave as
Ctrl+WClose tab
Ctrl+Tab, Ctrl+Shift+TabNext tab, previous tab
Ctrl+BToggle sidebar
Ctrl+PQuick open
Ctrl+Shift+PCommand palette
Ctrl+FFind
Ctrl+HReplace
F3, Shift+F3Find next, find previous
Ctrl+GGo to line
Alt+ZToggle word wrap
Ctrl+=, Ctrl+-Increase font size, decrease font size
Ctrl+0Reset font size
F11Toggle focus mode
Ctrl+,Settings
Ctrl+Shift+NNew 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.