Wilang Documentation1.0.0+4

Language tools and shortcuts#

As you type in a math cell or the REPL, Wilang helps you write valid expressions. You get completions for function names, variables, units, and directives, plus hints that show each function's arguments. This page covers those assists. The keys themselves live in Getting started.

Completion and signatures#

As you type a function name, variable, unit, or directive, suggestions help you complete it. Choose a suggestion to insert it at the caret. Function-call hints show argument names and accepted forms.

In note cells, directive completion covers controls and plot settings. REPL completion covers expression symbols.

Syntax highlighting distinguishes numbers, functions, variables, strings, units, and comments. Change the highlighting and colour settings under Appearance. A colour is a reading aid only; evaluation errors decide whether an expression is valid.

Keyboard behavior#

Use Getting started for the full cell and command-mode tables, and Editor navigation and selection for caret boundaries, cell selection, find and replace, and focus changes.

Two behaviours are easy to misread:

Rebind shortcuts#

Open Help → Keyboard Shortcuts… (Ctrl+Shift+/), or go to Settings → Notes & Workspace → Keyboard Shortcuts. Search for an action and change its shortcut. Conflicts are checked, and your binding persists across restarts. Platform-specific menu shortcuts and custom bindings can differ from the printed defaults.

The Editing section also lets you rebind the Markdown actions Bold, Italic, Insert Link, Toggle Markdown Preview, and Format Markdown Table or List. These run in a focused Markdown source field. Cell actions such as Split and Merge use your current bindings while editing too, and rebinding Split replaces both its main Minus key and its keypad Minus alias.

Arrows, Tab and Shift+Tab, Backspace and Delete, and contextual Enter stay text-editor keys. The dialog rejects a binding already used by those keys or by another editor action. Printed examples show the defaults, so use the dialog to see your current bindings.

Format on Save#

A manual save and an explicit Format apply source formatting when it is enabled. Autosave does not reformat what you are typing. See Source formatting for details.

Next steps: Getting started · Editor navigation and selection · Source formatting