Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>LinkMap — GNU Linker ScriptNew to Visual Studio Code? Get it now.
LinkMap — GNU Linker Script

LinkMap — GNU Linker Script

Mohamed Hakeem

| (0) | Free
Syntax highlighting, outline symbols, size hover, snippets, and formatting config for GNU Linker Scripts (.ld, .lds).
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

LinkMap — GNU Linker Script

Syntax highlighting, outline symbols, size hover, and snippets for GNU Linker Scripts (.ld, .lds, .ldscript).

Features

  • Syntax highlighting — MEMORY, SECTIONS, ENTRY, PROVIDE, ASSERT, KEEP, ALIGN, ORIGIN/LENGTH, memory attributes ((rx), (rwx)), section names (.text, .data, .bss, .isr_vector), location counter ., > REGION / AT> REGION, hex/binary/size literals (0x4000, 256K), and /* ... */ / // / # comments.
  • Outline & Breadcrumbs (Ctrl+Shift+O) — navigate ENTRY, MEMORY regions, SECTIONS output sections, and top-level symbol assignments.
  • Smart Hover — hover over any hex or K/M/G size literal (e.g. 0x0003E000 or 256K) to see its exact byte and KiB/MiB value, or hover over directives (KEEP, AT, NOLOAD, PROVIDE, etc.) for quick documentation.
  • Snippets — entry, memory, sections, sec, data_at, bss, provide, assert.
  • Editor integration — bracket matching, auto-closing pairs, /* */ comment toggling, and #region/#endregion folding.

Companion Extension

Inspect the resulting .hex, .srec, and .bin build artifacts with HexMap — Hex Viewer.

Building from source

npm install
npm run compile

Package an OPC-compliant .vsix:

.\make_vsix.ps1

License

MIT — see LICENSE.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft