Language support for linker scripts
To assist you in creating and editing linker scripts for embedded development, CLion supports the Linker Script (LD) language.
The following code insight features are available for your .ld files:
Customizable syntax highlighting
To configure the color scheme for linker scripts, go to
:Keywords completion
Code folding
Folding/unfolding is available for the
sections
,memory
, andphdrs
blocks:Structure view
To open the Structure view, press Alt+7 (for the tool window) or Ctrl+F12 (for the popup).
In linker scripts, Structure shows the top-level commands, such as
sections
,memory
,version
, andphdrs
:
Last modified: 11 January 2023