1.12.0
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
- 4c0e1e7: add broken parser case (Gabriel Nordeborn) #670
- 93ec653: remove unused (Gabriel Nordeborn) #670
- 03bda7d: refactor and unify how pat tuple items are traversed (Gabriel Nordeborn) #670
- f22cc81: simplify setting completion pattern (Gabriel Nordeborn) #670
- a33c4f0: handle completing root switch case when theres more than one case (Gabriel Nordeborn) #670
- a8f65f9: refactor (Gabriel Nordeborn) #670
- bcc0272: handle ppat_or (Gabriel Nordeborn) #670
- 81c4f54: handle or patterns (including broken patterns) in variant/polyvariant payloads (Gabriel Nordeborn) #670
- 60d80ca: changelog (Gabriel Nordeborn) #670
- 01e3a90: add way to use fallbacks when completing patterns, restoring old behavior that was broken by pattern completion (Gabriel Nordeborn) #670
- 97726aa: refactor nested pattern completion handling in backend (Gabriel Nordeborn) #670
- dbd0f69: remove unecessary log (Gabriel Nordeborn) #670
- 467bc00: document another broken parser case (Gabriel Nordeborn)
- dfb0422: complete unsaved tuples (Gabriel Nordeborn) #679
- a3c6caa: changelog (Gabriel Nordeborn) #679
- 43ab249: remove ast output in broken parser case files (Gabriel Nordeborn)
- 09521e4: Upgrade client to fix search and replace when formatOnSave is true (Florian Hammerschmidt) #685
- 01501e4: add failing tests for nested signature help (Gabriel Nordeborn) #687
- e71b785: ensure piped calls are not messed up by being overwritten by the regular apply directly after the piped apply (Gabriel Nordeborn) #687
- 9863965: changelog (Gabriel Nordeborn) #687
- 4df9ccc: initial setup of expression completion (Gabriel Nordeborn) #682
- f908477: remove unused (Gabriel Nordeborn) #682
- 4c8dce3: more work on completing records in exprs (Gabriel Nordeborn) #682
- 7301624: fix nested record (Gabriel Nordeborn) #682
- 5f2d21c: fix more completion cases (Gabriel Nordeborn) #682
- 07d60b2: more advanced completion for arrays (Gabriel Nordeborn) #682
- bb58058: refactor and unify nested path resolution for both exprs and paths (Gabriel Nordeborn) #682
- aa9aec1: refactor and unify typed expression completions under context path (Gabriel Nordeborn) #682
- fbcd530: ensure typed completions end up on top by sorting them to come before regular completions (Gabriel Nordeborn) #682
- 4fd3ed4: complete string (for consistency) and fix sort texts (Gabriel Nordeborn) #682
- 2c6b7c4: refactor simplify (Gabriel Nordeborn) #682
- 483be76: sort text (Gabriel Nordeborn) #682
- e595eae: changelog (Gabriel Nordeborn) #682
- 81a28cd: complete for functions creating React.element when in a JSX context (Gabriel Nordeborn) #681
- 8e461d1: simplify by skipping check on whether array contains React.element (Gabriel Nordeborn) #681
- 841b688: simplify (Gabriel Nordeborn) #681
- 5c9ac46: small docs for React.element methods (Gabriel Nordeborn) #681
- 4c58e5d: set/unset jsx context marker (Gabriel Nordeborn) #681
- 7fbddfd: changelog (Gabriel Nordeborn) #681
- 9524dfa: always restore jsx context (Gabriel Nordeborn) #681
- 67f620e: sort React.element functions on top (Gabriel Nordeborn) #681
- 54ebacd: add failing test for optional record fields (Gabriel Nordeborn) #691
- e5defc7: extract whether record field is optional from cmt (Gabriel Nordeborn) #691
- c4ed6a5: unwrap options of optional record fields when following typed path (Gabriel Nordeborn) #691
- 24420ed: changelog (Gabriel Nordeborn) #691
- 3ac8067: expand options in typed expr/pattern completion (Gabriel Nordeborn) #690
- cd59d83: changelog (Gabriel Nordeborn) #690
- 9c6d2dd: Fix semantic highlighting (Florian Hammerschmidt) #689
- 9102463: Upgrade client to fix some regressions (Florian Hammerschmidt) #693
- 900a7e3: add failing tests for inline records in completing patterns (Gabriel Nordeborn) #694
- 502c1df: docstrings for record fields (Gabriel Nordeborn) #694
- 704c5dc: wire up constructor docstrings (even though the parser doesnt handle docstrings on constructors yet) (Gabriel Nordeborn) #694
- 5f7ba41: reorder constructor hover details so that the constructor + eventual docstring ends up on top before the full variant definition (Gabriel Nordeborn) #694
- e5fe2f0: refactor and fixes (Gabriel Nordeborn) #694
- 3e32129: changelog (Gabriel Nordeborn) #694
- 625c4d2: let ppat_any trigger completion in patterns. better ergonomics (Gabriel Nordeborn) #692
- a3e1da9: changelog (Gabriel Nordeborn) #692
- 37cd3db: comment (Gabriel Nordeborn) #692
- 7f9ecb9: support completing in/through inline records in variant payloads (Gabriel Nordeborn) #695
- e80f245: changelog (Gabriel Nordeborn) #695
- b52e268: break up CompletionBackend and CompletionFrontend into modules (Gabriel Nordeborn) #697
- c553676: implement exhaustive switch completion (Gabriel Nordeborn) #699
- 02a2c53: changelog (Gabriel Nordeborn) #699
- b403ca6: add broken test for pipe completion on aliased types (Gabriel Nordeborn) #700
- b4807d8: one step forward (and one backward) in resolving aliases in pipe completion (Gabriel Nordeborn) #700
- 12ec628: refactor pipe completion to handle builtins properly in new approach when resolving aliased types (Gabriel Nordeborn) #700
- e7bd5ed: changleog (Gabriel Nordeborn) #700
- 6162f86: complete function snippets (Gabriel Nordeborn) #701
- f477af4: completing for functions in patterns does not make sense (Gabriel Nordeborn) #701
- 4ca71e8: nicer printing for a few known fn cases (Gabriel Nordeborn) #701
- e78091a: Add broken test for record destructuring (Christoph Knittel) #705
- 9fc87db: use value binding to check for destructures rather than just structure items (Gabriel Nordeborn) #705
- 59d5258: example of loc being broken (Gabriel Nordeborn) #706
- 13f1878: fix issue with function arg missing type information by using the loc from the name instead of the declared when adding values to local tables (Gabriel Nordeborn) #706
- 0bebcb5: changelog (Gabriel Nordeborn) #706
- b97ddbe: typed expression compltion for lowercase JSX tags (Gabriel Nordeborn) #702
- e24f3bb: changelog (Gabriel Nordeborn) #702
- 25caa49: fixes + autowrap insertion text with braces when in jsx (Gabriel Nordeborn) #702
- 51c85ca: Fix incorrect syntax in hover help for module (Christoph Knittel) #709
- 97ef1fa: changelog (Christoph Knittel) #709
- 0fcb318: add tests to focus on for first iteration (Gabriel Nordeborn) #711
- 4b2964e: initial basic version of leveraging type annotations when completing (Gabriel Nordeborn) #711
- b4facb4: add more tests (Gabriel Nordeborn) #711
- 109f74a: pick up all props needed to print types both from type_expr and declarations (Gabriel Nordeborn) #711
- 19e0787: get rid off two redundant variant members for completionType (Gabriel Nordeborn) #711
- 45a5387: more unwinding of unecessary variant members for completion type (Gabriel Nordeborn) #711
- 47f9650: clarify record name field a bit (Gabriel Nordeborn) #711
- 78d58c8: move Toption to use completion type as well (Gabriel Nordeborn) #711
- 300a700: move Tarray to use completion type as well, plus clean up completion item kind output (Gabriel Nordeborn) #711
- 7ee892e: cleanup (Gabriel Nordeborn) #711
- d6a67fb: handle options with annotations (Gabriel Nordeborn) #711
- a8cc7ff: handle arrays (Gabriel Nordeborn) #711
- e4c8693: changelog (Gabriel Nordeborn) #711
- 4919335: poly -> real variant (Gabriel Nordeborn) #711
- 8ff4bd7: special handling of optional fields when destructuring (Gabriel Nordeborn) #715
- f9ec1f5: changelog (Gabriel Nordeborn) #715
- 303ffbf: get rid off option (Gabriel Nordeborn) #715
- 0c43cf3: Stdlib -> Core (Gabriel Nordeborn)
- f75dfaf: add failing test for JSX wrapping (Gabriel Nordeborn) #718
- d51db47: only wrap root values for JSX props in braces (Gabriel Nordeborn) #718
- f169731: Update tests to use latest compiler 10.1.2. (Cristiano Calcagno) #721
- 9c13e7a: enable completions for handwritten JSX components (Gabriel Nordeborn) #720
- 8a857e6: add failing test (Gabriel Nordeborn) #719
- 42bddab: completion for lowercase JSX as HTML elements (Gabriel Nordeborn) #719
- e6477af: changelog (Gabriel Nordeborn) #719
- 3211ec0: tweak text and add more h tags (Gabriel Nordeborn) #719
- 6477993: missed one obsolete (Gabriel Nordeborn) #719
- d3231cd: fall back to regular local completions when typed expression completion misses (Gabriel Nordeborn) #722
- 0319a69: only add regular completions when there is a prefix to filter the results on (Gabriel Nordeborn) #722
- 99a19ae: 1.12.0 (Gabriel Nordeborn)