Commit 76adc98
Universal dot completion (#1054)
* wip complete pipeable functions from dot completion on record when record is type t of module
* correctly insert completion item text removing the dot when selecting a pipe function
* add experimental mainTypeForModule annotation
* complete modules in payload of mainTypeForModule
* rename attribute
* hover for new decorator
* allow extra module completions also for pipe
* make sure completions work across files
* filter pipe completions to only applicable functions
* pipe complete only for functions that take the expected type as the first argument
* start refactoring dot completion everywhere
* refactor dot completion
* add a few more synthetic
* disable verbose log
* cleanup
* pipe dot completion for builtins
* Add example case (#1058)
* Additional completion tests (#1062)
* Add Rxjs completion test
* Add Rxjs binding example
* Extend Rxjs test with fully qualified access
* Add@editor.completeFrom and incomplete test output
* Add passing test for property completion
* Test still works when types are not named t.
* Add test for @editor.completeFrom
* make dot completion everywhere actually work
* do not care about ExtractedType now that we have incremental type checking
* refactor to share pipe completion code logic
* cleanup
* cleanup
* fix debug command
* up rescript in test project
* change strategy for removing dot on completion
* contonous dot completion
* handle dot completions on piped idents
* handle scope
* inline pipe completion logic again
* refactor
* more compl spec
* refactor
* changelog
---------
Co-authored-by: Florian Verdonck <florian.verdonck@outlook.com>1 parent 3d9195e commit 76adc98
File tree
52 files changed
+2908
-834
lines changed- analysis
- src
- tests-generic-jsx-transform/src/expected
- tests
- src
- expected
- client/src/commands
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
52 files changed
+2908
-834
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
0 commit comments