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 Settings | Editor | Color Scheme | LinkerScript:
Keywords completion
Code folding
Folding/unfolding is available for the
sections
,memory
, andphdrs
blocks:tip
Press CtrlNumPad -/CtrlNumPad + to fold or unfold a code fragment
Structure view
To open the Structure view, press Alt07 (for the tool window) or CtrlF12 (for the popup).
In linker scripts, Structure shows the top-level commands, such as
sections
,memory
,version
, andphdrs
:
Thanks for your feedback!
Was this page helpful?