Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>LinkerScript?EXNew to Visual Studio Code? Get it now.
LinkerScript?EX

LinkerScript?EX

K1tsun1x

|
13 installs
| (0) | Free
Extension for LinkerScript (.ld)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

LinkerScript?EX

LinkerScript?EX is a Visual Studio Code extension that provides syntax highlighting, autocompletion, and inline documentation for GNU Linker Scripts (.ld). It makes writing linker scripts faster.

Features

  • Syntax highlighting for user-defined labels, keywords, directives, constants, and output section commands (BYTE, SHORT, LONG, QUAD, SQUAD, etc.).
  • Autocompletion for common directives and blocks:
    • Functions: ENTRY(), OUTPUT_ARCH(), OUTPUT_FORMAT(), ALIGN(), KEEP(), PROVIDE(), GROUP().
    • Blocks: SECTIONS { ... }, MEMORY { ... }, PHDRS { ... }.
    • Keywords: ORIGIN, LENGTH, AT.
    • Output values: BYTE(), SHORT(), LONG(), QUAD(), SQUAD().
    • Other: ADDR(), SIZEOF().
  • Inline documentation: hover over a directive or keyword to see explanations and usage.
  • Snippets with placeholders for common arguments, including suggested values for ENTRY, OUTPUT_ARCH, and OUTPUT_FORMAT.

Snippets

Value Description
mem MEMORY block, including memory regions with ORIGIN and LENGTH
sec Section (e.g., .text : {*(.text)}, etc.)
secsdef Default section layout (SECTIONS { .text, .data, .bss, .rodata })

License

This extension is released under The Unlicense.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft