Features
-
Whole-call completions (merged): Functions with ≥2 labelled or optional arguments now offer a secondary
(call)completion that inserts a snippet with independent_placeholders per argument. Snippet-capable clients receive one edit; others get plain text. #2199 -
Constructor application completions (merged): Constructors with payloads offer parenthesized application variants with
_slots (e.g.Pair _ _forint * bool). Name-only entries remain and sort first. Available in expression and pattern positions. #2212 -
Go to Implementation for interface types (merged):
textDocument/implementationresolves type-declaration names in.mlifiles to their.mlcounterparts, including nested modules, functor results, includes, and aliases. Fixes #1163. #2074 -
Interactive destruct bodies (merged):
destructanddestruct-linegenerate branch bodies as snippet placeholders, allowing tab-navigation between them. Requiresworkspace.workspaceEdit.snippetEditSupport; plain edits are the fallback. #2204 -
Semantic highlighting: parameters and built-in types (merged): Function parameters now emit the standard
parametertoken type with customlabeled/optionalmodifiers. Predeclared types (int,string, etc.) receive thedefaultLibrarymodifier; shadowed names are not marked. #1857, #1858 -
Odoc document links (open): Implements
textDocument/documentLinkanddocumentLink/resolveso{!ref}and{{:url} text}in doc comments become clickable links in editors. Cross-module and stdlib references resolve once the project is built. #2139
Fixes
-
Overlapping
with typetokens (merged): Constrained names inwith typeequations and destructive substitutions were emitted twice (long identifier + type-declaration name). The duplicate token is no longer produced. #2206 -
Inline edit crash avoidance (merged): The Inline code action now checks applicability before constructing replacement edits, preventing a crash on deeply recovered expressions with no recognized uses. #2041