- Fix issue in jump-to-definition on Windows. (See rescript-lang/rescript-vscode#98) where the wrong URI was generated.
- Don't show file path on hover.
- Add autocomplete for props in JSX components.
- Autocomplete: fix issue where
->
autocomplete was overruling.
. See #99. - Add pipe autocomplete for builtin list, array, string, option types. And for string and array literals.
- Fix hover on labels in component functions with compiler version 9.1, and labels with type annotation.
This commit is vendored in rescript-vscode 1.0.6.
- Add support for autocomplete for pipe-first
foo->
: the type offoo
is used to determine the module to take completions from. - Add support for autocomplete for decorators such as
@module
and@val
. - Add support for autocomplete of labelled arguments
foo(~label... )
. - Add support for @deprecated attributes in autocomplete.
- Support for upcoming
rescript
npm package for the compiler. Looks forrescript
in addition tobs-platform
innode_modules
.
- Fix issue for uncurried functions where the internal definition of
Js.Fn.arity
is shown on hover. (See #62). - Fix type hint when hovering over labeled arguments of components (See #63).
- Fix issue where values declared with type annotation would not show up in autocomplete, and would show no doc comment on hover. (See rescript-lang/rescript-vscode#72).
- Fix hover on definitions inside a react component module, or whenever multiple definitins for the same value exist in the module (See #67).
- Fix autocomplete issue where multiple open's were considered in the wrong priority order (See #72).
- Autocomplete: add support for
open!
in addition toopen
.
This commit is vendored in rescript-vscode 1.0.5.
- Add support for doc strings when hovering on modules.
- Add support for printing uncurried function types in hover.
- Fix autocomplete issue where
open Foo
would be picked up inside line comments (see #15). - Don't print parens as in
A()
for 0-ary variants. - Fix infinite loop in autocomplete that can cause
rescript-editor-support.exe
processes to use up 100% cpu. - Fix jump to type definition for types defined in an inner module.
This commit is vendored in rescript-vscode 1.0.3.
- Fix type shown when hovering on record fields (see rescript-lang/rescript-vscode#52), and doc comments for records.
- Fix issue where type variables are printed with global renaming when hovering or autocompleting a module (see #38).
- Fix issue where a log file was always created (see rescript-lang/rescript-vscode#47).
- Add support for hover on the id of toplevel module definitions (
module Id = ...
).
This commit is vendored in rescript-vscode 1.0.1.
- Support printing inline records.
- Add typedef hover support.
- Always output valid json, even in case of internal error.
- Remove semicolon in module top level preview.
- Support syntax highlight in hover fenced blocks.
- Fix printing of variant arguments.
- Use outcome printer from the syntax to print type declarations.
- Fix issue in command-line parsing on Windows with paths of the form
c:/...:line:column
.
This commit is vendored in rescript-vscode 1.0.0.