Calling & Building / Toolchain
Toolchain
LSP Server
aero --lsp starts a JSON-RPC 2.0 LSP server (stdin/stdout) providing:
A companion VS Code extension (aero-lang-vscode, offline .vsix install, includes syntax highlighting + LSP).
aero fmt
rustfmt-style formatting:
aero fmt main.aero # 格式化
aero fmt main.aero --check # 只校验,不写回
aero fmt main.aero --width 100 --indent 4aero clippy (100+ rules)
Static checking, categorized as: Naming / Correctness / Style / Complexity / Perf / Pedantic, with severity levels Error / Warning / Style / Note.
Example rules:
fn_non_snake_case, var_non_snake_case, struct_non_upper_camel, const_non_screaming_snakedivision_by_zero, float_equality, same_then_else, unreachable_after_return, infinite_loop_no_breakaero clippy main.aeroaero cov Coverage
Instruments every statement → runs → outputs per-line hit counts and the total coverage percentage (only counting user source code).