VS Code Extensions
A

Axaml Outline

by quanzhuo

Provide Outline feature for axaml file in VSCode

Downloads

17

Rating

— (0)

Version

0.0.1

Last updated

May 16, 2026

Lightweight VS Code extension that provides Outline symbols for Avalonia AXAML files.

Features

  • Outline tree for .axaml files
  • Nested symbol structure based on AXAML element hierarchy
  • Symbol labels prefer x:Name or Name when available
  • Works with incomplete documents during editing (best-effort parsing)

How It Works

The extension registers a DocumentSymbolProvider for AXAML files and builds DocumentSymbol nodes from AXAML tags. These symbols are consumed by:

  • Outline view
  • Breadcrumbs
  • Go to Symbol in Editor (@)

Requirements

  • VS Code 1.85.0 or newer

Usage

  1. Open any .axaml file.
  2. Open the Outline view in the Explorer panel.
  3. Navigate UI elements through the generated symbol tree.

Development

Install dependencies:

npm install

Run build checks:

npm run check-types
npm run lint

Watch mode during development:

npm run watch

Package extension:

vsce package

Limitations

  • Current implementation focuses on Outline symbols only.
  • It does not provide full language features such as rename, references, or diagnostics.

License

MIT. See LICENSE.

Related extensions