aboutsummaryrefslogtreecommitdiff
path: root/crates/completion/src/item.rs
Commit message (Collapse)AuthorAgeFilesLines
* Make always-assert crate reusableAleksey Kladov2021-01-261-2/+2
|
* More useful fn detail in completionAleksey Kladov2021-01-221-2/+1
| | | | | | | | | | | | | Detail should be rendered as shtort one line, just dumping fn header there is not useful, despite the fact that TS does this. The fact that this is a function should be indicated by the icon, the same goes for pub/const/async etc qualitfiers name is already present in the lable (and arg list should be a part of that, as in idea) But the return type is the small genuinerlly useful bit of info we can show here
* Update completions test outputLukas Wirth2021-01-201-1/+1
|
* Partially unify SymbolKind and CompletionItemKindLukas Wirth2021-01-201-35/+35
|
* Add LifetimeParam and ConstParam to CompletionItemKindLukas Wirth2021-01-191-10/+14
|
* Merge #7297 #7338bors[bot]2021-01-181-10/+13
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7297: Propose trait associated items and autoimport traits on completion r=matklad a=SomeoneToIgnore ![trait_imports](https://user-images.githubusercontent.com/2690773/104819998-6faeb480-583a-11eb-8b45-b7351b51b90e.gif) Closes #7248 7338: Parse `impl const Trait` r=Veykril a=Veykril Closes #7313 bors r+ Co-authored-by: Kirill Bulatov <[email protected]> Co-authored-by: Lukas Wirth <[email protected]>
| * Add flyimport completion for trait assoc itemsKirill Bulatov2021-01-161-10/+13
| |
* | Use assert_never properlyAleksey Kladov2021-01-181-1/+3
|/
* Introduce more appropriate assertion mechanismAleksey Kladov2021-01-141-0/+4
| | | | | | | rust-analyzer is a long-running program, so we *should* handle assertion failures. See also https://www.sqlite.org/assert.html.
* Change <|> to $0 - RebaseKevaundray Wedderburn2021-01-071-1/+1
|
* Align config's API with usageAleksey Kladov2021-01-061-3/+1
| | | | The config now is mostly immutable, optimize for that.
* Minor, more orthogonal codeAleksey Kladov2020-12-101-3/+2
| | | | It's better to accept things as arguments rather than store them.
* Normalize spelling to American EnglishAleksey Kladov2020-12-101-3/+3
|
* Disable the completion for no corresponding client resolve capabilitiesKirill Bulatov2020-12-071-32/+3
|
* Less panic, more testsKirill Bulatov2020-12-071-7/+21
|
* Fix the profiling labelKirill Bulatov2020-12-071-1/+1
|
* Use stateless completion resolveKirill Bulatov2020-12-071-1/+0
|
* Remove the stateKirill Bulatov2020-12-071-27/+3
|
* Make completion resolve asyncKirill Bulatov2020-12-071-2/+27
|
* Simplify import edit calculationKirill Bulatov2020-12-071-26/+37
|
* Refactor the codeKirill Bulatov2020-12-071-2/+1
|
* Add eager resolve capabilityKirill Bulatov2020-12-071-5/+31
|
* Better support client completion resolve capsKirill Bulatov2020-12-071-0/+1
|
* Working resolve completion imports prototypeKirill Bulatov2020-12-071-5/+9
|
* Draft the new lsp handlerKirill Bulatov2020-12-071-23/+11
|
* Move the helpers into ide_dbKirill Bulatov2020-11-281-1/+1
|
* Group import data in a structKirill Bulatov2020-11-271-11/+20
|
* Extract the import code into the shared moduleKirill Bulatov2020-11-271-2/+5
|
* Profile completions betterKirill Bulatov2020-11-271-0/+2
|
* Avoid turning completion objects into buildersKirill Bulatov2020-11-161-29/+47
|
* Qualify autoimport completion suggestionsKirill Bulatov2020-11-161-4/+20
|
* Reuse existing element renderingKirill Bulatov2020-11-161-0/+4
|
* Add imports in auto completionKirill Bulatov2020-11-161-0/+1
|
* Move Completions structure definition into completions moduleIgor Aleksanov2020-10-251-29/+0
|
* Reorganize completions structureIgor Aleksanov2020-10-251-0/+403