Skip to content
This repository has been archived by the owner on Apr 24, 2021. It is now read-only.

Latest commit

 

History

History
59 lines (48 loc) · 4.71 KB

Changes.md

File metadata and controls

59 lines (48 loc) · 4.71 KB

master

  • 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.

Release 1.0.6 of rescript-vscode

This commit is vendored in rescript-vscode 1.0.6.

New features

  • Add support for autocomplete for pipe-first foo->: the type of foo 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 for rescript in addition to bs-platform in node_modules.

Fixes

  • 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 to open.

Release 1.0.5 of rescript-vscode

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.

Release 1.0.3 of rescript-vscode

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 = ...).

Release 1.0.1 of rescript-vscode

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.

Release 1.0.0 of rescript-vscode

This commit is vendored in rescript-vscode 1.0.0.