aboutsummaryrefslogtreecommitdiff
path: root/crates/completion
Commit message (Collapse)AuthorAgeFilesLines
...
| * Draft the module exclusion in modulesKirill Bulatov2020-12-281-1/+1
| |
* | Merge #7076bors[bot]2020-12-291-1/+10
|\ \ | | | | | | | | | | | | | | | | | | | | | 7076: Properly parse path separators in format-like postfix r=Veykril a=Veykril Co-authored-by: Lukas Wirth <[email protected]>
| * | Properly parse path separators in format-like postfixLukas Wirth2020-12-291-1/+10
| |/
* / format-postfix completion takes format instead of fmtLukas Wirth2020-12-292-2/+2
|/
* Merge #6960bors[bot]2020-12-232-1/+55
|\ | | | | | | | | | | | | | | | | 6960: Show enum variant on Self qualified paths r=matklad a=Veykril Fixes first part of #6549 Fixes #6550 Co-authored-by: Lukas Wirth <[email protected]>
| * Show enum variant completions for ref scrutineeLukas Wirth2020-12-201-1/+26
| |
| * Show enum variant on Self qualified pathsLukas Wirth2020-12-201-0/+29
| |
* | Reduce some more code duplicationLukas Wirth2020-12-225-94/+76
| |
* | Insert snippet positions after fields names in record patternsLukas Wirth2020-12-212-6/+6
| |
* | Create non-exhaustive patterns for non_exhaustive attributed itemsLukas Wirth2020-12-201-3/+5
| |
* | Reduce code duplication in pattern completionLukas Wirth2020-12-201-34/+29
| |
* | Emit snippets for struct pattern completion if enabledLukas Wirth2020-12-202-15/+36
| |
* | Add completions for patternsLukas Wirth2020-12-205-26/+311
|/
* Align code_model name with ungrammarAleksey Kladov2020-12-204-28/+19
|
* Fewer allocationsKirill Bulatov2020-12-191-5/+7
|
* Tidy upKirill Bulatov2020-12-192-32/+26
|
* Keep the original completion order in testsKirill Bulatov2020-12-1912-194/+193
|
* Add a slightly better fuzzy search heuristicsKirill Bulatov2020-12-191-10/+62
|
* Merge #6901bors[bot]2020-12-181-0/+1
|\ | | | | | | | | | | | | | | | | | | 6901: Temp fixes panic caused by no ast for proc-macro r=maklad a=edwin0cheng There are some panic when hover/goto definition for proc-macro. It is because in current design, we don't have `ast-node` for proc-macro and then it trigger [this](https://github.com/rust-analyzer/rust-analyzer/blob/479d1f7eec22c3564867223e2093f14774092528/crates/hir/src/has_source.rs#L116) line to panic. This PR is a temp fix for all of these similar to https://github.com/rust-analyzer/rust-analyzer/blob/bd4c352831662762ee7a66da77ec9adf623b0a0a/crates/completion/src/render/macro_.rs#L42 Co-authored-by: Edwin Cheng <[email protected]>
| * Temp fixes panic caused by no ast for proc-macroEdwin Cheng2020-12-181-0/+1
| |
* | Show first fuzzy completions fully containing the inputKirill Bulatov2020-12-171-5/+14
|/
* Move to upstream `macro_rules!` modelJonas Schievink2020-12-151-3/+3
|
* Remove some redundant allocationsJeremy Kolb2020-12-122-2/+2
|
* Use natural trait ordering in derive completionAleksey Kladov2020-12-111-17/+18
| | | | | | | | derive(Clone, Copy) reads better than derive(Copy, Clone). However, we preserve the reverse ordering in the lookup text for sorting purposes. That way, it's convenient to type just `Ord` to derive everything.
* Remove debug printAleksey Kladov2020-12-101-7/+5
|
* Minor, more orthogonal codeAleksey Kladov2020-12-104-16/+12
| | | | It's better to accept things as arguments rather than store them.
* Normalize spelling to American EnglishAleksey Kladov2020-12-104-12/+12
|
* Tweak the search query params for better lookup speedKirill Bulatov2020-12-081-31/+29
|
* Better config nameKirill Bulatov2020-12-083-10/+9
|
* Disable the completion for no corresponding client resolve capabilitiesKirill Bulatov2020-12-079-145/+79
|
* Document the featureKirill Bulatov2020-12-071-0/+43
|
* SimplifyKirill Bulatov2020-12-071-2/+4
|
* Less panic, more testsKirill Bulatov2020-12-072-9/+60
|
* Fix the profiling labelKirill Bulatov2020-12-071-1/+1
|
* Use stateless completion resolveKirill Bulatov2020-12-074-15/+40
|
* Remove the stateKirill Bulatov2020-12-072-31/+4
|
* Make completion resolve asyncKirill Bulatov2020-12-072-3/+31
|
* Simplify import edit calculationKirill Bulatov2020-12-077-50/+65
|
* Remove redundant codeKirill Bulatov2020-12-075-27/+15
|
* Refactor the codeKirill Bulatov2020-12-077-9/+29
|
* Add eager resolve capabilityKirill Bulatov2020-12-077-11/+41
|
* Better support client completion resolve capsKirill Bulatov2020-12-072-0/+2
|
* Properly fill client completion resolve capabilities dataKirill Bulatov2020-12-072-1/+11
|
* Working resolve completion imports prototypeKirill Bulatov2020-12-072-6/+10
|
* Draft the new lsp handlerKirill Bulatov2020-12-071-23/+11
|
* Update attributes completion listLukas Wirth2020-12-061-3/+39
|
* Trigger .let postfix snippet in the middle of the blockAleksey Kladov2020-12-011-4/+31
|
* Place cursor correctly when completing assoc fns with selfAleksey Kladov2020-12-013-31/+63
|
* Fix typoAleksey Kladov2020-12-011-2/+2
|
* Type-safer API for dealing with parameter lists with optional selfAleksey Kladov2020-12-012-7/+11
|