public withExtensions(extensions as ArrayList<String>) as LanguageProfile
Registers file extensions for this language profile.
| Parameter | Description |
|---|---|
extensions | List of file extensions (with or without leading dot). |
this for fluent chaining.
import klyn.code
p = LanguageProfile("klyn", "Klyn").withExtensions(["kn", "wp"])