Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>SKILL FormatterNew to Visual Studio Code? Get it now.
SKILL Formatter

SKILL Formatter

YEUNGCHIE

|
1 install
| (0) | Free
Format Cadence SKILL source with skfmt.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SKILL Formatter for VS Code

Thin VS Code client for skfmt. It declares the skill language and registers a document formatter and a range formatter. It does not associate .il/.ils automatically and does not set a default formatter.

The formatter is available to every language; configure which languages use it yourself, for example:

"[skill]": {
  "editor.defaultFormatter": "YEUNGCHIE.skfmt"
}

The extension id is YEUNGCHIE.skfmt (publisher.name).

Shift+Alt+F is VS Code's Format Document command and formats the whole file. Format Selection is Ctrl+K Ctrl+F (Cmd+K Cmd+F on macOS) and only replaces the selected lines. The extension follows these standard shortcuts and does not override them or use Ctrl+Shift+F. You can bind skfmt.formatSelection yourself if you prefer another key.

To make .il/.ils files open as skill, add your own association:

"files.associations": {
  "*.il": "skill",
  "*.ils": "skill"
}

The extension resolves the CLI in this order:

  1. skfmt.executablePath, when set
  2. skfmt on PATH
  3. uvx skfmt
  4. uv tool run skfmt

If none is available, or uvx skfmt cannot run, formatting is refused with an error. uvx needs access to PyPI, so an offline machine should install skfmt locally or point skfmt.executablePath at a working executable.

Range formatting is implemented by sending the whole document plus --lines a:b to skfmt format. Only the selected lines are replaced; the selection is formatted as a fragment using its own base indentation. Incomplete fragments are left unchanged with a diagnostic, and text outside the selected lines is preserved byte for byte.

Before formatting, the extension runs skfmt --version and requires at least 0.1.0. If the version is older or cannot be parsed, the edit is refused with an upgrade message.

Upgrade the installed CLI whenever the formatter or this extension changes:

cd skill-formatter
uv tool install --force '.[full]'

If the CLI changes text outside the selection, the extension refuses the edit and reports the command in the output channel.

skfmt.enableRangeFormatting controls whether range formatting is registered, and changes take effect immediately.

npm install
npm run compile
npm test
npm run package
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft