Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,21 @@
"default": null,
"description": "A path to the gleam executable. By default, the extension looks for gleam in the PATH, but if set, will use the path specified instead.",
"scope": "machine"
},
"gleam.inlayHints.parameterTypes": {
"type": "boolean",
"markdownDescription": "Whether to show inlay hints for return types on function signatures:\n ```gleam\nfn f(\n x//: Int\n) {\n x + 1\n}\n```\n",
"default": false
},
"gleam.inlayHints.returnTypes": {
"type": "boolean",
"markdownDescription": "Whether to show inlay hints for return types on function signatures:\n ```gleam\nfn f() // -> Int\n {\n 42\n}\n```\n",
"default": false
},
"gleam.inlayHints.pipelines": {
"type": "boolean",
"default": false,
"markdownDescription": "Whether to show inlay type hints for multiline pipe expressions:\n ```gleam\nf() //Int\n|> g() //List(String)\n|> k() //Bool \n```\n"
}
}
}
Expand Down