currently a sling provisioning file [1] has just a file extension "txt". This 
is ok for all current usecases, but makes it difficult for tooling to apply a 
file validation or syntax highlighting.

we are currently working on some configuration generation tooling that uses 
validators to ensure the generated files are valid. we can detect sling 
provision file format only by extension and loading the content and doing some 
heuristics on it (e.g. "contains '[feature '"). quite ugly.

it would make sense to invent a new file extension specific to sling 
provisioning files, e.g. ".provisioning".

WDYT?

stefan

[1] https://sling.apache.org/documentation/development/slingstart.html

Reply via email to