| 
  
   Sitepark Markup Language (SPML)
 
 
The core functionality is provided by lspml, a dedicated language server written in Rust. ⭐
 Supported features: 
go to definition for variables and <sp:include>taguriattributeshover for documentation of
most tagsmost attributesattribute enum valuesglobal functions in spel attribute valuesdiagnostics on:
syntax errorsmisplaced, unclosed and deprecated tagsduplicate, required and deprecated attributes / tag-bodiesnonexistent files in <sp:include>and similar tagssitepark expression language (spel):
syntax errorsnonexistent global functionsincorrect argument counts for global functionscompletion for:
tags</, closing the last unclosed tagattributesattribute values that either:
have a fixed set of possible valuespoint to another spml filerefer to an spml modulesemantic highlighting for attribute values that expect:
conditionsexpressionsidentifiersobjectsregular expressionstexturisto be comparable (for <sp:if>and<sp:elseif>eq/gt/...)code actions to:
generate a default file headerfix small spel syntax errors (quickfix)fix all quickfix-able errors at once (source.fixAll)split <sp:if>conditionintonameandeq/gt/isNull/...join <sp:if>nameandeq/gt/isNull/... intocondition Getting Started
Install the extensionChange File association for *.spmlfiles to spml ConfigurationFor the path completion of the uriattribute ofsp:include, a mapping from module ID to file system path must be defined in the settings. Open the Settings and go to the SPML section and declare a module-mapping. |  |