klyn.code.LanguageProfile.withExtensions
method
public withExtensions(extensions as ArrayList<String>) as LanguageProfile
Description

Registers file extensions for this language profile.

Parameters
ParameterDescription
extensionsList of file extensions (with or without leading dot).
Returns

this for fluent chaining.

Example
import klyn.code

p = LanguageProfile("klyn", "Klyn").withExtensions(["kn", "wp"])