aboutsummaryrefslogtreecommitdiff
path: root/crates/completion/src/render/function.rs
Commit message (Collapse)AuthorAgeFilesLines
* More useful fn detail in completionAleksey Kladov2021-01-221-3/+4
| | | | | | | | | | | | | 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
* Partially unify SymbolKind and CompletionItemKindLukas Wirth2021-01-201-1/+2
|
* Show deprecated completions for deprecated traitsKirill Bulatov2021-01-181-1/+3
|
* Change <|> to $0 - RebaseKevaundray Wedderburn2021-01-071-11/+11
|
* Align config's API with usageAleksey Kladov2021-01-061-2/+2
| | | | The config now is mostly immutable, optimize for that.
* Make the result of Const, FunctionRender and TypeAliasRender constructors ↵Nick Spain2021-01-021-6/+5
| | | | | | optional They use source() which now returns an Option so they need to too.
* Mark HasSource::source_old as deprecated but allow at all call sitesNick Spain2021-01-021-0/+1
|
* HasSource::source -> HasSource::source_oldNick Spain2021-01-021-1/+1
| | | | To start migrating HasSource::source to return an Option.
* Remove some redundant allocationsJeremy Kolb2020-12-121-1/+1
|
* Disable the completion for no corresponding client resolve capabilitiesKirill Bulatov2020-12-071-1/+1
|
* Simplify import edit calculationKirill Bulatov2020-12-071-4/+4
|
* Remove redundant codeKirill Bulatov2020-12-071-4/+1
|
* Refactor the codeKirill Bulatov2020-12-071-1/+4
|
* Add eager resolve capabilityKirill Bulatov2020-12-071-1/+1
|
* Place cursor correctly when completing assoc fns with selfAleksey Kladov2020-12-011-11/+42
|
* Type-safer API for dealing with parameter lists with optional selfAleksey Kladov2020-12-011-6/+10
|
* Group import data in a structKirill Bulatov2020-11-271-10/+6
|
* Extract the import code into the shared moduleKirill Bulatov2020-11-271-1/+1
|
* Profile completions betterKirill Bulatov2020-11-271-0/+1
|
* Avoid turning completion objects into buildersKirill Bulatov2020-11-161-3/+9
|
* Get rid of do-er antipatternIgor Aleksanov2020-11-031-3/+11
|
* Add doc-comments to the new filesIgor Aleksanov2020-11-031-0/+2
|
* Move rendering tests to the render moduleIgor Aleksanov2020-11-031-0/+210
|
* Add ConstRenderIgor Aleksanov2020-11-031-8/+4
|
* Introduce render moduleIgor Aleksanov2020-11-031-0/+87