Releases: ocamllabs/vscode-ocaml-platform
1.10.1
What's Changed
- chore(deps-dev): bump esbuild from 0.14.23 to 0.14.25 by @dependabot in #896
- ci: update checkout and setup-node actions by @tatchi in #897
- chore(deps-dev): bump esbuild from 0.14.25 to 0.14.26 by @dependabot in #900
- Fix external syntax highlighting for embedded ocaml source in comments by @mnxn in #906
- chore(deps-dev): bump esbuild from 0.14.26 to 0.14.27 by @dependabot in #903
- chore(deps-dev): bump mocha from 9.2.1 to 9.2.2 by @dependabot in #899
- chore(deps-dev): bump vsce from 2.6.7 to 2.7.0 by @dependabot in #901
- explain concept of Sandbox in README by @ulugbekna in #881
- Add a setting to Enable/Disable Utop usage by @OscarLahaie in #911
- upgrade ocamlformat to 0.21.0 by @ulugbekna in #920
- upgrade ppxlib to 0.26.0 by @ulugbekna in #922
- upgrade to dune 3 by @ulugbekna in #923
- upgrade ocaml by @ulugbekna in #924
- update
ocaml-version
in.ocamlformat
to 4.14.0 by @ulugbekna in #921 - upgrade node by @ulugbekna in #925
- add ocaml-lsp versions: 1.10.4 - 1.11.0 by @ulugbekna in #931
Full Changelog: 1.10.0...1.10.1
1.10.0
1.9.5
1.9.4
1.9.3
1.9.2
1.9.1
1.9.0
-
Dune syntax highlighting fix (#742)
The syntax for dune files has been re-written from scratch for a more correct
implementation. Every dune stanza documented by Dune is now supported, and
only the correct fields in each stanza are recognized. -
Fix the detection of opam's root directory when no switch is detected (#831)
-
Add support for opening compilation artifacts in human-readable form in the
editor (#798)Currently supported artifacts include
.cmi
,.cmt(i)
,.cmo
,.cma
,
.cmx(a/s)
, and.bc
files.To learn more about these files, see: https://ocaml.org/manual/comp.html
-
Warn if the extension sees not the latest OCaml-LSP version compatible with
the OCaml distribution installed in the current sandbox. -
Highlighted the UNREACHABLE element in cram .t files (#754)
-
Activate extension on cram files, or when the workspace contains
dune-workspace or dune files. (#750) -
Add commands
Jump to Next Typed Hole
(shortcut:Alt + L
) and
Jump to Previous Typed Hole
(shortcut:Alt + Shift + L
)What typed holes are
Merlin has a concept of "typed holes" that are syntactically represented as
_
. Files that incorporate typed holes are not considered valid OCaml, but
Merlin and OCaml-LSP support them. One example when such typed holes can occur
is when one "destructs" a value, e.g., destructing(Some 1)
will generate
codematch Some 1 with Some _ -> _ | None -> _
. While the first underscore
is a valid "match-all"/wildcard pattern, the rest of underscores are typed
holes that one needs to replace with valid OCaml code. These new commands help
to navigate easily from one hole to another (#643) -
Rename the extension's section in VS Code Settings from
OCaml configuration
toOCaml Platform
(#674) -
Add
ocaml.server.extraEnv
configuration option to pass extra environment
variables to the language server, i.e., OCaml-LSP (#674) -
Parsetree exploration and development tools. It is now possible to explore the
structure of the parsetree in a custom editor. Additionally, it is possible to
view preprocessed source of any OCaml source file (when applicable). Full
functionality is available only for dune projects. (#666) -
Add commands
Show OCaml Language Server Output
,
Show OCaml Platform Extension Output
, andShow OCaml Commands Output
.
(#745) -
Fix highlighting of escaped odoc source code braces (#690)
-
opam exec
is now called with--set-switch
flag; this is useful when we
launch a terminal within a certain sandbox set in the extension (#744, fixes
#655) -
The currently active OPAM switch in the workspace folder (project root) is
shown first in the list of sandboxes when selecting a sandbox. (#751) -
Show a different icon for the currently active OPAM switch in the "OPAM
Switches" tree view (#751)
v1.8.4
- Fix inclusion of files in extension package