aboutsummaryrefslogtreecommitdiff
path: root/crates/completion/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* rename completion -> ide_completionAleksey Kladov2021-02-171-275/+0
| | | | We don't have completion-related PRs in flight, so lets do it
* Normalize testsAleksey Kladov2021-01-221-45/+37
|
* More useful fn detail in completionAleksey Kladov2021-01-221-6/+3
| | | | | | | | | | | | | 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
* Properly resolve completion edits for empty inputKirill Bulatov2021-01-171-4/+4
|
* Add flyimport completion for trait assoc itemsKirill Bulatov2021-01-161-1/+2
|
* Share import_assets and related entitiesKirill Bulatov2021-01-161-1/+4
|
* Change <|> to $0 - RebaseKevaundray Wedderburn2021-01-071-7/+7
|
* Align config's API with usageAleksey Kladov2021-01-061-4/+3
| | | | The config now is mostly immutable, optimize for that.
* YAGNI active_resolve_capabilitiesAleksey Kladov2021-01-061-1/+1
| | | | | | | | | This leaks a lot of LSP details into ide layer, which we want to avoid: https://github.com/rust-analyzer/rust-analyzer/tree/c9cec381bcfd97e5f3536e31a9c546ab5c0665e6/docs/dev#lsp-independence Additionally, all what this infra does is providing a toggle for auto-import completion, but we already have one!
* Avoid a couple of allocationsLaurențiu Nicola2020-12-291-1/+1
|
* Minor, more orthogonal codeAleksey Kladov2020-12-101-3/+1
| | | | It's better to accept things as arguments rather than store them.
* Normalize spelling to American EnglishAleksey Kladov2020-12-101-1/+1
|
* Better config nameKirill Bulatov2020-12-081-6/+3
|
* Disable the completion for no corresponding client resolve capabilitiesKirill Bulatov2020-12-071-1/+1
|
* SimplifyKirill Bulatov2020-12-071-2/+4
|
* Use stateless completion resolveKirill Bulatov2020-12-071-2/+30
|
* Remove the stateKirill Bulatov2020-12-071-4/+1
|
* Make completion resolve asyncKirill Bulatov2020-12-071-1/+4
|
* Simplify import edit calculationKirill Bulatov2020-12-071-1/+1
|
* Properly fill client completion resolve capabilities dataKirill Bulatov2020-12-071-1/+1
|
* Working resolve completion imports prototypeKirill Bulatov2020-12-071-1/+1
|
* Merge #6601bors[bot]2020-11-291-0/+2
|\ | | | | | | | | | | | | | | 6601: add let and letm postfix to turn expressions into variables r=matklad a=bnjjj Partially resolve #6426 Co-authored-by: Benjamin Coenen <[email protected]>
| * add let and letm postfix to turn expressions into variablesBenjamin Coenen2020-11-281-0/+2
| | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
* | Document experimental completionsKirill Bulatov2020-11-241-0/+7
|/
* Introduce render moduleIgor Aleksanov2020-11-031-0/+1
|
* Remove presentation moduleIgor Aleksanov2020-10-251-1/+0
|
* Move Completions structure definition into completions moduleIgor Aleksanov2020-10-251-4/+1
|
* Reorganize completions structureIgor Aleksanov2020-10-251-36/+24
|
* Re-export base_db from ide_dbIgor Aleksanov2020-10-241-1/+1
|
* add completions for clippy lint in attributesBenjamin Coenen2020-10-201-1/+1
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* Extract call_info and completion into separate cratesIgor Aleksanov2020-10-181-0/+264