Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make `ModPath`'s representation private | Jonas Schievink | 2021-02-04 | 1 | -2/+2 |
| | |||||
* | More useful fn detail in completion | Aleksey Kladov | 2021-01-22 | 1 | -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 CompletionItemKind | Lukas Wirth | 2021-01-20 | 5 | -9/+14 |
| | |||||
* | Show deprecated completions for deprecated traits | Kirill Bulatov | 2021-01-18 | 3 | -3/+11 |
| | |||||
* | Change <|> to $0 - Rebase | Kevaundray Wedderburn | 2021-01-07 | 3 | -16/+16 |
| | |||||
* | Align config's API with usage | Aleksey Kladov | 2021-01-06 | 2 | -6/+4 |
| | | | | The config now is mostly immutable, optimize for that. | ||||
* | Handle case where detail doesn't exist without giving up on completion | Nick Spain | 2021-01-02 | 1 | -1/+1 |
| | | | Co-authored-by: Aleksey Kladov <[email protected]> | ||||
* | Make the result of Const, FunctionRender and TypeAliasRender constructors ↵ | Nick Spain | 2021-01-02 | 3 | -16/+13 |
| | | | | | | optional They use source() which now returns an Option so they need to too. | ||||
* | HasSource::source_old -> HasSource::source for places where proc-macros were ↵ | Nick Spain | 2021-01-02 | 1 | -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 sites | Nick Spain | 2021-01-02 | 4 | -0/+4 |
| | |||||
* | HasSource::source -> HasSource::source_old | Nick Spain | 2021-01-02 | 4 | -4/+4 |
| | | | | To start migrating HasSource::source to return an Option. | ||||
* | Reduce some more code duplication | Lukas Wirth | 2020-12-22 | 3 | -85/+41 |
| | |||||
* | Insert snippet positions after fields names in record patterns | Lukas Wirth | 2020-12-21 | 1 | -1/+1 |
| | |||||
* | Create non-exhaustive patterns for non_exhaustive attributed items | Lukas Wirth | 2020-12-20 | 1 | -3/+5 |
| | |||||
* | Reduce code duplication in pattern completion | Lukas Wirth | 2020-12-20 | 1 | -34/+29 |
| | |||||
* | Emit snippets for struct pattern completion if enabled | Lukas Wirth | 2020-12-20 | 1 | -10/+31 |
| | |||||
* | Add completions for patterns | Lukas Wirth | 2020-12-20 | 1 | -0/+128 |
| | |||||
* | Align code_model name with ungrammar | Aleksey Kladov | 2020-12-20 | 1 | -17/+9 |
| | |||||
* | Temp fixes panic caused by no ast for proc-macro | Edwin Cheng | 2020-12-18 | 1 | -0/+1 |
| | |||||
* | Move to upstream `macro_rules!` model | Jonas Schievink | 2020-12-15 | 1 | -3/+3 |
| | |||||
* | Remove some redundant allocations | Jeremy Kolb | 2020-12-12 | 1 | -1/+1 |
| | |||||
* | Disable the completion for no corresponding client resolve capabilities | Kirill Bulatov | 2020-12-07 | 3 | -6/+3 |
| | |||||
* | Simplify import edit calculation | Kirill Bulatov | 2020-12-07 | 3 | -12/+15 |
| | |||||
* | Remove redundant code | Kirill Bulatov | 2020-12-07 | 3 | -12/+3 |
| | |||||
* | Refactor the code | Kirill Bulatov | 2020-12-07 | 3 | -3/+12 |
| | |||||
* | Add eager resolve capability | Kirill Bulatov | 2020-12-07 | 3 | -3/+3 |
| | |||||
* | Place cursor correctly when completing assoc fns with self | Aleksey Kladov | 2020-12-01 | 2 | -11/+43 |
| | |||||
* | Fix typo | Aleksey Kladov | 2020-12-01 | 1 | -2/+2 |
| | |||||
* | Type-safer API for dealing with parameter lists with optional self | Aleksey Kladov | 2020-12-01 | 1 | -6/+10 |
| | |||||
* | Group import data in a struct | Kirill Bulatov | 2020-11-27 | 3 | -30/+17 |
| | |||||
* | Extract the import code into the shared module | Kirill Bulatov | 2020-11-27 | 3 | -3/+4 |
| | |||||
* | Profile completions better | Kirill Bulatov | 2020-11-27 | 3 | -0/+3 |
| | |||||
* | Avoid turning completion objects into builders | Kirill Bulatov | 2020-11-16 | 3 | -8/+26 |
| | |||||
* | Reuse existing element rendering | Kirill Bulatov | 2020-11-16 | 1 | -40/+32 |
| | |||||
* | Add braces to functions and macros | Kirill Bulatov | 2020-11-16 | 1 | -32/+40 |
| | |||||
* | Get rid of do-er antipattern | Igor Aleksanov | 2020-11-03 | 5 | -19/+54 |
| | |||||
* | Add doc-comments to the new files | Igor Aleksanov | 2020-11-03 | 5 | -1/+15 |
| | |||||
* | Move rendering tests to the render module | Igor Aleksanov | 2020-11-03 | 3 | -0/+374 |
| | |||||
* | Add TypeAliasRender | Igor Aleksanov | 2020-11-03 | 2 | -2/+47 |
| | |||||
* | Add ConstRender | Igor Aleksanov | 2020-11-03 | 3 | -10/+53 |
| | |||||
* | Introduce render module | Igor Aleksanov | 2020-11-03 | 4 | -0/+392 |