aboutsummaryrefslogtreecommitdiff
path: root/crates/completion/src/render/macro_.rs
Commit message (Collapse)AuthorAgeFilesLines
* Partially unify SymbolKind and CompletionItemKindLukas Wirth2021-01-201-2/+3
|
* Change <|> to $0 - RebaseKevaundray Wedderburn2021-01-071-4/+4
|
* Handle case where detail doesn't exist without giving up on completionNick Spain2021-01-021-1/+1
| | | Co-authored-by: Aleksey Kladov <[email protected]>
* HasSource::source_old -> HasSource::source for places where proc-macros were ↵Nick Spain2021-01-021-12/+4
| | | | | | | | | | | | special cased In #6901 some special case handling for proc-macros was introduced to prevent panicing as they have no AST. Now the new HasSource::source method is used that returns an option. Generally this was a pretty trivial change, the only thing of much interest is that `hir::MacroDef` now implements `TryToNav` not `ToNav` as this allows us to handle `HasSource::source` now returning an option.
* 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.
* Temp fixes panic caused by no ast for proc-macroEdwin Cheng2020-12-181-0/+1
|
* Move to upstream `macro_rules!` modelJonas Schievink2020-12-151-3/+3
|
* Disable the completion for no corresponding client resolve capabilitiesKirill Bulatov2020-12-071-4/+1
|
* Simplify import edit calculationKirill Bulatov2020-12-071-4/+7
|
* 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
|
* Group import data in a structKirill Bulatov2020-11-271-11/+6
|
* Extract the import code into the shared moduleKirill Bulatov2020-11-271-1/+2
|
* Profile completions betterKirill Bulatov2020-11-271-0/+1
|
* Avoid turning completion objects into buildersKirill Bulatov2020-11-161-3/+9
|
* Reuse existing element renderingKirill Bulatov2020-11-161-40/+32
|
* Add braces to functions and macrosKirill Bulatov2020-11-161-32/+40
|
* Get rid of do-er antipatternIgor Aleksanov2020-11-031-7/+11
|
* Add doc-comments to the new filesIgor Aleksanov2020-11-031-1/+7
|
* Move rendering tests to the render moduleIgor Aleksanov2020-11-031-0/+90
|
* Add ConstRenderIgor Aleksanov2020-11-031-2/+2
|
* Introduce render moduleIgor Aleksanov2020-11-031-0/+116