Code Editing
General
-
When pressing Enter, the next line is indented automatically.
-
Typing an opening delimiter such as
{
or"
automatically inserts the corresponding closing delimiter. -
Use
to comment or uncomment code.
Code Completion
Code completion is supported for:
-
config structure
foo { ba<complete here> }
-
module, type, property, and method references
import "pkl:math" pi = ma<complete here> name: Str<complete here> name2 = na<complete here> reversed = name.rev<complete here>
-
module URIs in amends, extends, and import clauses
amends "<complete here>"
-
string literals with "enum" types
verb: "GET"|"PUT"|"POST" = "p<complete here>"