Skip to content

Latest commit

 

History

History
129 lines (87 loc) · 4.17 KB

File metadata and controls

129 lines (87 loc) · 4.17 KB

master

  • Fix issue in JSX autocomplete when the component is declared external.
  • Fix jump-to-definition for uncurried calls.
  • Fix issue where values for autocomplete were pulled from implementations instead of interfaces.
  • Add autocompletion for object access of the form foo["x"] and foo["x"]["y"]["z"].
  • Fix issue with autocomplete then punned props are used in JSX. E.g. <M foo ...>.
  • Fix issue with JSX autocompletion not working after foo=#variant.
  • Fix issue in JSX autocompletion where the key label would always appear.

1.1.3

Features:

  • Find references to files as modules.
  • Autocomplete: skip inline comments to decide if a labeled argument was already supplied.
  • Rename: support file rename when renaming a module name.
  • Rename: use renameProvider to give a warning when it's not a symbol that can be renamed.
  • Jump to definition: support jumping to type definition.
  • Jump to definition: jump to the res file when both res and resi are present.
  • Restore creation of interface files (fully supported from compiler 9.1.3 onwards).

1.1.2

Features:

  • Rename has landed! Works across-files!
  • More autocomplete improvements.
  • Wider Linux support.

1.1.1

This update contains lots of autocomplete, hover and jump-to-definition improvements. We'll list only a few below.

Fixes:

  • Jump-to-definition on some Windows paths.
  • -> autocomplete overruled ..
  • Hover on components in interface files.

Features:

  • Show References! Works cross-files too.
  • Hover now supports markdown docs.
  • Hover on labels in component functions with compiler version 9.1, and labels with type annotation.
  • Don't show file path on hover and autocomplete (cleaner).
  • Autocomplete for props in JSX components.
  • -> autocomplete for built-in list, array, string, option types. And for string and array literals.
  • Slimmer download.

Breakages:

  • Very old linux versions are no longer supported.
  • Hover: no more odoc format support (but it'll still display as text).

1.0.8

Fixes:

  • Diagnostics display for long lines.

Features:

  • Full support for the newest rescript npm package!
  • Highlight type parameters.

1.0.7

Fixes:

  • Highlighting for some decorators and keywords.
  • Various hover & autocomplete opportunities.

Features:

  • Autocomplete for -> pipe!
  • Autocomplete for decorators such as @module and @val and @deprecated.
  • Autocomplete for labels func(~...).
  • Support for the upcoming rescript npm package.

1.0.6

Fixes:

  • Diagnostics crashing when a file's range isn't found (advice: use fewer ppxes that cause these bugs!). See #77.
  • Weird behaviors when project path contains white space.
  • Proper audit of the windows bugs. Windows is now officially first-class!

Syntax colors:

  • Highlight operators for default VSCode dark+ theme. This means slightly less diverse highlight for the other themes that previously already highlighted operators.
  • Worked with One Dark Pro and Mariana Pro. We now officially recommend these 2 themes, in addition to the existing recommendations in README.
  • Highlight deprecated elements using the deprecation scopes.
  • JSX bracket highlight fix (still no color; before, some parts were erroneously highlighted).

1.0.5

Features:

  • Custom folding. See README.
  • Support for doc strings when hovering on modules.
  • Jump to type definition for types defined in inner modules.

Fixes:

  • Properly highlight nested comments.
  • Windows diagnostics!
  • Removed a potential infinite loop issue in autocomplete.
  • Don't autocomplete open MyModule inside line comments.
  • Don't print parentheses as in A() for 0-ary variants.

1.0.4

  • Some diagnostics watcher staleness fix.
  • Various type hover fixes.
  • Monorepo/yarn workspace support.

1.0.2

  • All the usual features (type hint, autocomplete) now work on bsconfig.json too!
  • Snippets, to ease a few syntaxes.
  • Improved highlighting for polymorphic variants. Don't abuse them please.

1.0.1

  • Fix temp file creation logic.

1.0.0

Official first release!