Code files
Code and other text files in the vault open in the same editor, as plain text with code editing.
Files with a code or text extension (.ts, .py, .json, .yaml, .sh, .txt…) and known names (Dockerfile, Makefile, LICENSE, and with hidden files shown, .gitignore or .editorconfig) open as plain text in the code font, with no Markdown rendering. Their lines are always numbered. When the language is recognized, it's highlighted, brackets are matched, typing an opening bracket or quote adds its pair, and blocks fold from the gutter. With Outline on (CTRL/CMD+SHIFT+M), its box lists the file's namespaces and modules, classes, structs and their methods, fields and properties, functions, types, enums and their members, top-level constants and variables (in Python, only ALL_CAPS ones), a JavaScript export default, CSS selectors, or JSON and YAML keys, each with a small icon for its kind (C# included); click one to jump there. They stay out of All Files, tags and tasks; .env files are never listed.
Quick Open (CTRL/CMD+P) finds them by name. To create one, type its name with the extension (util.ts) in New File; renaming a file to a code file name drops .md.
Format Code uses Prettier with the vault's own settings: the nearest .prettierrc, .prettierrc.json, .prettierrc.yaml or package.json "prettier" key, from the file's folder up to the vault root, with matching overrides. A JavaScript config such as prettier.config.js can't run in the browser, so Prettier's defaults are used and the toast says so.