Skip to content

Releases: rescript-lang/rescript-vscode

1.12.0

03 Feb 09:18

Choose a tag to compare

Commits

  • 7f11744: add base test for what we're looking to complete (Gabriel Nordeborn) #665
  • 5625b60: add test cases and identify arguments for completion (Gabriel Nordeborn) #665
  • b17f61d: refactor in prep for reuse (Gabriel Nordeborn) #665
  • e380c48: add utils for extracting relevant completion information from type expr (Gabriel Nordeborn) #665
  • 25482f0: complete bools as arguments (Gabriel Nordeborn) #665
  • f628fc0: remove things from type extraction that will be added in separate PRs (Gabriel Nordeborn) #665
  • 001f8ff: complete regular variants (Gabriel Nordeborn) #665
  • 0252a5b: add failing tests for optionals (Gabriel Nordeborn) #665
  • 85c4304: basic completion for opts (Gabriel Nordeborn) #665
  • 1b65fea: expand options where it makes sense (Gabriel Nordeborn) #665
  • 78e468b: remove unused test case (Gabriel Nordeborn) #665
  • 64898b5: make sure payloads (with any as placeholder) are printed for each constructor argument (Gabriel Nordeborn) #665
  • 74b65dd: add failing test demonstrating issue with parser (Gabriel Nordeborn) #665
  • f759d83: include local values and modules in type based completions when there is a prefix to filter on (Gabriel Nordeborn) #665
  • 27de032: fix full variant completion item text (Gabriel Nordeborn) #665
  • de2149b: add more cases to tests (Gabriel Nordeborn) #665
  • e7fd99f: add = as trigger character for completion (Gabriel Nordeborn) #665
  • 04e198b: cleanup (Gabriel Nordeborn) #665
  • 490ed6c: cleanup (Gabriel Nordeborn) #665
  • 4378d76: comment + clarify prop name (Gabriel Nordeborn) #665
  • 70f85da: polish test output a bit (Gabriel Nordeborn) #665
  • fd5c019: only pick up regular Lident (Gabriel Nordeborn) #665
  • aaed47a: use env where completion started to populate values and module completions (Gabriel Nordeborn) #665
  • c342130: common filter (Gabriel Nordeborn) #665
  • 4438ac7: fix triggering value completion vs named arg ambiguity (Gabriel Nordeborn) #665
  • eb4ba05: handle piped fn calls properly (Gabriel Nordeborn) #665
  • c29e773: move broken parser cases to its own file (Gabriel Nordeborn) #665
  • c446925: only expand options on optional arguments, not all labelled arguments (Gabriel Nordeborn) #665
  • 2efec0b: add changelog (Gabriel Nordeborn) #665
  • e49c8c8: complete JSX prop values (Gabriel Nordeborn) #667
  • 130b2be: cleanup (Gabriel Nordeborn) #667
  • 793d195: changelog (Gabriel Nordeborn) #667
  • 1411a6a: basic snippet support in completions (Gabriel Nordeborn) #668
  • fe57708: add snippets to constructor args when completing (Gabriel Nordeborn) #668
  • 5fd8fde: simple completion for tuples (Gabriel Nordeborn) #668
  • c5520b2: undo unecessary formatting (Gabriel Nordeborn) #668
  • 4f8f6f6: propagate snippet support status from client capabilities (Gabriel Nordeborn) #668
  • c0388db: regen test after rebase (Gabriel Nordeborn) #668
  • b4ffaa3: changelog (Gabriel Nordeborn) #668
  • 51e1e77: complete polyvariants (Gabriel Nordeborn) #669
  • daf3e8b: remove redundant field from polyVariantConstructor type (Gabriel Nordeborn) #669
  • 05b8b30: fix mistake in printing polyvariant constructor payloads (Gabriel Nordeborn) #669
  • 001970f: changelog (Gabriel Nordeborn) #669
  • c1c2bb0: detect -open Belt, and adjust what modules we complete from accordingly (Gabriel Nordeborn) #673
  • 8464053: changelog (Gabriel Nordeborn) #673
  • 4def439: add failing tests (Gabriel Nordeborn) #675
  • c3db3bc: improve precision in signature help by accounting for commas (meaning intent to fill in the next argument) (Gabriel Nordeborn) #675
  • 9416cc9: changelog (Gabriel Nordeborn) #675
  • 4fab6f6: add broken completion case for result, which accidentally completes from Pervasives when it should complete from Belt.Result (Gabriel Nordeborn) #674
  • 6be63fa: Reroute Pervasives.result (Cristiano Calcagno) #674
  • 48f58bb: shrink test output (Cristiano Calcagno) #674
  • 6c0b654: Highlight catch. (Cristiano Calcagno) #677
  • 37a1388: remove redundant function name from signature help output (Gabriel Nordeborn) #678
  • de45450: changelog (Gabriel Nordeborn) #678
  • 59e555d: basic setup of some sort of structure, and complete tuple patterns (Gabriel Nordeborn) #670
  • c5b6d1d: nested tuple (Gabriel Nordeborn) #670
  • b3fccdb: start integrating completion for records (Gabriel Nordeborn) #670
  • aca764d: complete record bodies/fields in patterns (Gabriel Nordeborn) #670
  • a539143: handle completing for new record fields, and filtering already seen fields (Gabriel Nordeborn) #670
  • e378f57: add test for patterns under other patterns, and handle unsetting what pattern we're currently looking for (Gabriel Nordeborn) #670
  • b26a607: identify and handle completing destructuring patterns (Gabriel Nordeborn) #670
  • 011dd84: comments and cleanup (Gabriel Nordeborn) #670
  • d03de16: add nested destructure test (Gabriel Nordeborn) #670
  • dc428da: fix (Gabriel Nordeborn) #670
  • 00a1c75: descend through variant payloads (Gabriel Nordeborn) #670
  • c8ece7c: handle polyvariants (Gabriel Nordeborn) #670
  • bed266e: complete arrays in patterns (Gabriel Nordeborn) #670
  • 60f8849: handle multiple payloads in variants/polyvariants via regular tuple handling (Gabriel Nordeborn) #670
  • 1904ff8: move from ast iterator to traversal function for finding completables in patterns (Gabriel Nordeborn) #670
  • 0f9be34: ignore unused var (Gabriel Nordeborn) #670
  • c3ea53b: handle options (Gabriel Nordeborn) #670
  • 693166a: handle completing new items in constructor/variant payloads with multiple items (Gabriel Nordeborn) #670
  • 7d214ea: handle completing new items in tuples (Gabriel Nordeborn) [#670](https://github.com/rescript-lang/rescript-vscode...
Read more

1.10.0

28 Dec 21:03

Choose a tag to compare

Bug Fixes

Commits

  • remove unused opens in extra. #615 (Cristiano Calcagno)
  • b95feba: Treat package opens the same way local opens are. (#616) (Cristiano Calcagno) #616
  • 8e161ab: Use a static name for the latest-master artifact (Florian Hammerschmidt) #613
  • f8d7f87: Test compiler rc.3 (Cristiano Calcagno)
  • use rescript-react rc.3. (Cristiano Calcagno)
  • 92d5930: complete builtins from the new stdlib if availabile (#620) (Gabriel Nordeborn) #620
  • 34a654e: Add example showing how shadowing affects hovering on doc comments. (Cristiano Calcagno) #622
  • 2b9d463: Restore doc comment when there is a shadowed identifier. (Cristiano Calcagno) #622
  • da80ba2: Update comment. (Cristiano Calcagno) #622
  • 0b042c8: Adapt command to create interface files to latest JSX V4 (Cristiano Calcagno) #623
  • use compiler 10.1 rc.4 (Cristiano Calcagno)
  • 417b0ee: add failing test for signature help when using pipe (Gabriel Nordeborn) #624
  • 0ef49f0: extract logic for finding argument with cursor into its own function, in preparation for handling expressions with pipe (Gabriel Nordeborn) #624
  • 4184e3b: handle pipe in signature help (Gabriel Nordeborn) #624
  • 294016c: changelog for signature help piped expressions fix (Gabriel Nordeborn)
  • 86e4808: adjust autocomplete to recent changes in stdlib (Gabriel Nordeborn) #632
  • 3e2076e: custom LSP requests (#611) (Pedro Castro) #611
  • remove spacing between type definition (#619) #619 (Pedro Castro)
  • ignore: opam local switch #635 (Pedro Castro)
  • 6e199ef: Add example where create interface file does not work with V4 (Cristiano Calcagno) #637
  • 021839a: Fix issue where create interface file would not work with certain JSX V4 components (Cristiano Calcagno) #637
  • use compiler 10.1.0. #639 (Cristiano Calcagno)
  • 5506990: Support both ns.doc/res.doc and ns.optional and res.optional for different compiler versions. (Cristiano Calcagno) #642
  • inlay hints and codelens performance (#634) #634 (Pedro Castro)
  • a61cc75: Add failing completion test (#644) (Florian Hammerschmidt) #644
  • 14e8772: Fix issue where code analysis would not track types in inner modules across implementations and interfaces (Cristiano Calcagno) #650
  • 5bdb5c2: Fix issue with references to elements defined in an interface file (Cristiano Calcagno) #646
  • be24bf4: Proper fix that avoids introducing references to ghost locations. (Cristiano Calcagno) #646
  • 7251c12: Fix issue with references to elements defined in an interface file (Cristiano Calcagno) #651
  • e2fa40e: testing references with interface (Pedro Castro) #651
  • 247ce86: simplify testing references with interface (Pedro Castro) #651
  • 1cd63b4: Find references in both .res and .resi files. (Cristiano Calcagno) #651
  • dd056e2: Update CHANGELOG.md (Cristiano Calcagno) #651
  • 0f55813: Add an example of wrong reference with inner modules, .resi, and shadowing. (Cristiano Calcagno) #653
  • 6cced21: Use module path instead of simply the id to find references across res/resi. (Cristiano Calcagno) #653
  • 07fbffa: refactor (Cristiano Calcagno) #653
  • e9853d5: Refactor env module path construction. (Cristiano Calcagno) #653
  • 688a6ca: Emit nested document symbols. (#655) (Cristiano Calcagno) #655
  • c88f10d: update CHANGELOG.md (Pedro Castro) #660
  • 5072b10: Generate opam file and improve CONTRIBUTING.md (#659) (Pedro Castro) #659
  • 2f836d0: add vscode sandbox (Pedro Castro) #658
  • 1932703: complete pipe chains (Gabriel Nordeborn) #656
  • 3919533: push (broken) self contained example (Gabriel Nordeborn) #656
  • 1242d57: attempt to fix completing pipe application (Gabriel Nordeborn) #656
  • 5835ab7: fix completing uncompiled across files (Gabriel Nordeborn) #656
  • defb77c: properly qualify completion items (Gabriel Nordeborn) #656
  • ee2d814: more sane way of ensuring the file module name gets picked up (Gabriel Nordeborn) #656
  • c3ecbe5: Small refactor, and store modulePath verbatim. (Cristiano Calcagno) #656
  • d56ced2: Put all the logic to find the completionPath in one place. (Cristiano Calcagno) #656
  • 0cae74b: Add path to QueryEnv and remove it from Completion. (Cristiano Calcagno) #656
  • 76296ee: example of 'false positive', trigger pipe completion when we should not (Gabriel Nordeborn) #656
  • 2a6ce8c: Handle test with unit (Cristiano Calcagno) #656
  • 7e32730: changelog for pipe completion improvements (Gabriel Nordeborn)
  • ba532ac: temp remove broken logo image links so extension can be published again (Gabriel Nordeborn)
  • 05a1393: Pipe completion unknown/type parameter return types (#662) (Gabriel Nordeborn) #662
  • 89c90e1: Make pipe completion work reliably across submodules. (Cristiano Calcagno) #663
  • cd8612e: changelog (Gabriel Nordeborn)
  • 0597a6e: pipe complete int constants (Gabriel Nordeborn) #664
  • 205a1b2: complete float (Gabriel Nordeborn) #664
  • 29f97f7: changelog (Gabriel Nordeborn) #664
  • 94c0173: 1.10.0 (Gabriel Nordeborn)

1.8.2

24 Oct 07:20

Choose a tag to compare

Commits

1.8.1

04 Oct 12:21

Choose a tag to compare

Commits

  • 7109b39: Use raw string instead of JSON for bump-version parameter (Florian Hammerschmidt) #577
  • 0d0f411: prompt the user whenever parsing errors/warning from the compiler log fails, including instructions on how to report the issue (Gabriel Nordeborn) #576
  • 33458ef: Rename Jsx test to Jsx2 (Cristiano Calcagno) #578
  • 4ba443d: Update bsconfig for v4. (Cristiano Calcagno) #578
  • 155a198: Revert "Update bsconfig for v4." (Cristiano Calcagno) #578
  • 6f8e6e0: One component per module. (Cristiano Calcagno) #578
  • d57453e: Add support for prop completion for JSX V4 (Cristiano Calcagno) #579
  • a3c5538: Update CHANGELOG.md (Cristiano Calcagno) #579
  • 16a3a9b: Create interface file: add support for JSX V4. (Cristiano Calcagno) #580
  • 8ee93d1: Update CHANGELOG.md (Cristiano Calcagno) #580
  • 7aeb9e8: Expand one level of type definition on hover. (Cristiano Calcagno) #584
  • fbafb9d: Give an explicit example of hover on V4 component. (Cristiano Calcagno) #584
  • 9e89849: Fix printing of record types with optional labels (Cristiano Calcagno) #584
  • c8afd43: Update CHANGELOG.md (Cristiano Calcagno) #584
  • expand definition of type arguments. (Cristiano Calcagno)
  • b3df7b2: skeleton for extracting clickable links in hovers (Gabriel Nordeborn) #585
  • 7c8b745: remove unused (Gabriel Nordeborn) #585
  • 018033f: print link to type definition inline next to expanded type (Gabriel Nordeborn) #585
  • c547f93: gate link to definition behind flag, to gracefully degrade for clients that cannot handle markdown links (Gabriel Nordeborn) #585
  • 7906145: update tests (Gabriel Nordeborn) #585
  • 48d1ce6: changelog (Gabriel Nordeborn) #585
  • c4e8ffb: add more chars to url encode (Gabriel Nordeborn) #585
  • ae2c1d9: add pct to encode (Gabriel Nordeborn) #585
  • b1dbc3c: Sync latest syntax (Cristiano Calcagno) #586
  • 5e0e44e: add debug utilities (Gabriel Nordeborn) #587
  • 80eb9ef: refactor expanding types in hover so it can more easily be shared (Gabriel Nordeborn) #589
  • 2380ad0: add test where hover is not expanded as contents has not been saved (Gabriel Nordeborn) #589
  • d0fae6d: refactor hover via completions to also expand types like the hover via loc does (Gabriel Nordeborn) #589
  • 36dbc3e: Signature help (#547) (Gabriel Nordeborn) #547
  • e79872c: Add rescript.settings.platformPath and correctly determine its default value (#573) (Bart Schuurmans) #573
  • adef69e: Begin using rescript 10.1 to test the extension. (Cristiano Calcagno) #591
  • a146d5d: Remove warnings from tests. (Cristiano Calcagno) #591
  • modernize jsx config. (Cristiano Calcagno)
  • 6d7477d: Add example for dead code elimination for JSX v4. (Cristiano Calcagno) #593
  • af8720e: 1.7.0 (Gabriel Nordeborn)
  • 0900d22: 1.8.0 (Gabriel Nordeborn)
  • b0e8776: 1.8.1 (Gabriel Nordeborn)

1.6.0

05 Sep 16:50

Choose a tag to compare

Commits

  • 9fe9e91: Fix commit SHA in artifact name for PR builds (Christoph Knittel) #505
  • e2810fe: fix binary path node-rpc (Pedro Castro) #507
  • 8dd86d1: Fix missing nameSpaceToName call (Florian Hammerschmidt) #509
  • Support Inlay Hint (#453) #453 (Pedro Castro)
  • f508796: This sets our language server up to handle the codeLens requests coming from the language client. This just ensures that the server tells the client that sending codeLens requests is fine. Next we'll implement the actual functionality that resolves the code leneses. (Gabriel Nordeborn) #513
  • 005388a: Allow setting line width when printing types. Will use to nudge the printer towards printing function types for code lenses on one line (Gabriel Nordeborn) #513
  • 564f905: Add needed LSP protocol types for code lenses. (Gabriel Nordeborn) #513
  • d64ed9a: Implement emitting code lenses for functions. (Gabriel Nordeborn) #513
  • c79a8f9: Add tests for code lenses. (Gabriel Nordeborn) #513
  • 47cf51b: Hide code lens functionality behind a setting. (Gabriel Nordeborn) #513
  • 1246434: Readme + changelog for code lenses. (Gabriel Nordeborn) #513
  • e81288b: Clarify readme and changelog. (Gabriel Nordeborn) #513
  • 8d76d6f: Remove redundant default value. (Gabriel Nordeborn) #513
  • 980beeb: Add clarifying comments. (Gabriel Nordeborn) #513
  • d180824: Add markdown code block syntax highlight support (#97) (wangb) #97
  • 1145644: Add vsce pre-release step to CI (#399) (Florian Hammerschmidt) #399
  • e3cea1e: cleanup and formatting (Gabriel Nordeborn)
  • 39a2270: New readme (#508) (Pedro Castro) #508
  • e145f17: Add info about the new pre-release channel (#516) (Florian Hammerschmidt) #516
  • 0904b73: add Pstr_primitive (Pedro Castro) #517
  • dd34759: add .resi file (Pedro Castro) #517
  • 7d5e69f: update changelog (Pedro Castro) #518
  • fe6d524: update contributing to list helpful PRs for getting into editor tooling analysis development (Gabriel Nordeborn)
  • c6d944f: update features section of readme (Gabriel Nordeborn)
  • b157d31: Update CHANGELOG.md (Cristiano Calcagno)
  • be6858d: Make dce command less noisy w.r.t. unrelated test changes. (Cristiano Calcagno) #523
  • 3e251e5: tweak test (Cristiano Calcagno) #523
  • turn off debug test which is noisy. #524 (Cristiano Calcagno)
  • fbb6e1f: Add support for hovering on doc comments. (Cristiano Calcagno) #525
  • 3cf5e96: Add example showing how doc comments for inner modules are not shown yet in module hover. (Cristiano Calcagno) #525
  • 1572f81: tweak changelog (Cristiano Calcagno) #525
  • 862175e: Fix issue where doc comment with nested comments inside is not shown properly on hover. (#526) (Cristiano Calcagno) #526
  • 2d83551: Vendor latest parser/printer. (Cristiano Calcagno) #531
  • e3700a3: fix undefined inlayHints (Pedro Castro) #527
  • b6efb50: Remove ".enable" from rescript.settings.codeLens setting in package.json (Bart Schuurmans) #534
  • 472f691: Call bsc.exe directly, when no binaryPath is set in settings (Florian Hammerschmidt) #529
  • a89b1e1: Base bsc.exe lookup on rescript binary lookup (Florian Hammerschmidt) #529
  • fad3de2: Add changes according review (Florian Hammerschmidt) #529
  • fix server crashers when open file is removed #539 (Pedro Castro)
  • dc55067: Inlay Hints: better support for destructuring (#540) (Pedro Castro) #540
  • f40b2f2: log reanalyze invalid json messages in a more elaborate way, including an instruction on what to do with the error (Gabriel Nordeborn) #544
  • 3b4c0a8: include command to reproduce failing JSON (Gabriel Nordeborn) #544
  • c96a2d2: consolidate some of the logic around checking if a file is a res file or not (Gabriel Nordeborn) #543
  • 953698c: flip logic so we only check for file existance if it looks like a valid file (Gabriel Nordeborn) #543
  • f3fe0d4: change classification strategy to something harder to accidentally skip (Gabriel Nordeborn) #543
  • 1874101: change fn name (Gabriel Nordeborn) #543
  • 9d7573c: Fix isNamespaced check when namespace is string (Florian Hammerschmidt) #546
  • 00ad54c: Fix formatter not being available for macOS ARM with ReScript <= 9.1.4 (Florian Hammerschmidt) #554
  • use compiler v10. (Cristiano Calcagno)
  • 91eef72: prompt user to explicitly allow formatting using the built in formatter (Gabriel Nordeborn) #558
  • d29187d: logic is fun but hard (Gabriel Nordeborn) #558
  • 1c07abf: try to not break encapsulation (Gabriel Nordeborn) #558
  • use compiler version 10.0.1. #559 (Cristiano Calcagno)
  • 171fdf5: Add example of hover on record that would require type substitution. (Cristiano Calcagno) #560
  • 28eedaf: Add debug info. (Cristiano Calcagno) #560
  • fbd491d: When hovering over a field in record construction, show the instantiated type. (Cristiano Calcagno) #560
  • 3f43b39: Typo in test. (Cristiano Calcagno) #560
  • 600b244: No debug in hover test. (Cristiano Calcagno)
  • 829e6aa: Add example of missing autocompletion requiring type instantiation. (Cristiano Calcagno) #561
  • bbf68d0: Perform type instantiation in field autocompletion (Cristiano Calcagno) #561
  • 5d92829: Refactor type substitution inside extractRecordType. (Cristiano Calcagno) #561
  • 9e43be8: Add example of record instantiation and alias -- not working yet. (Cristiano Calcagno) #561
  • 8515796: Support type instantiation in the presence of aliasing. (Cristiano Calcagno) #561
  • 4786605: Type instantiation when extracting object or function types. (Cristiano Calcagno) #561
  • b5f6d48: Handle type instantiation for named argument completion. (Cristiano Calcagno) #561
  • 585fe2a: Rename+refactor getConstr to make it clear type instantiation is not required. (Cristiano Calcagno) #561
  • 8a4fd3c: Update changelog to talk about type instantiation for autocomplete in general. (Cristiano Calcagno) #561
  • fa08d41: Update CHANGELOG.md (Cristiano Calcagno)
    -...
Read more

1.4.2

20 Jul 16:39
@zth zth

Choose a tag to compare

Version 1.4.2

1.4.1

19 Jul 18:38
@zth zth

Choose a tag to compare

Version 1.4.1

1.4.0

13 Jul 19:01
@zth zth

Choose a tag to compare

1.4.0

1.3.0

10 May 17:45
@zth zth

Choose a tag to compare

1.3.0

1.2.1

26 Jan 18:58

Choose a tag to compare

Version 1.2.1