Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Auto-upgrade some insta snapshots | Aleksey Kladov | 2019-11-15 | 12 | -1128/+1199 |
| | |||||
* | Use Local more | Aleksey Kladov | 2019-11-15 | 1 | -8/+6 |
| | |||||
* | fix typo | Greg | 2019-11-12 | 1 | -1/+1 |
| | |||||
* | Implement postfix completions feature flag | Greg | 2019-11-12 | 1 | -0/+4 |
| | |||||
* | Add tests for resolving types in core and std preludes | Matthias Einwag | 2019-11-10 | 1 | -0/+62 |
| | |||||
* | Merge #2179 | bors[bot] | 2019-11-06 | 1 | -14/+13 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 2179: Use HirDatabase to compute `is_deprecated` r=matklad a=martskins This PR fixes #2167 by introducing `attributes_query` and adding `fn attrs(&self, def: crate::AttrDef) -> Option<Arc<[Attr]>>;` to the `DefDatabase` trait. I'm a little concerned about the two spots in `attributes_query` where code is repeated, but I couldn't figure out a way to avoid that, so.. I welcome suggestions :smile: Co-authored-by: Martin Asquino <[email protected]> | ||||
| * | HirDatabase stored attributes | Martin Asquino | 2019-11-04 | 1 | -14/+13 |
| | | |||||
* | | Cleanup complete_postfix | Aleksey Kladov | 2019-11-06 | 1 | -52/+57 |
|/ | |||||
* | Move CrateDefMap to hir_def | Aleksey Kladov | 2019-11-03 | 1 | -4/+4 |
| | |||||
* | Use `bool` instead of `Option<bool>` and print it's value only when `true` | Martin Asquino | 2019-11-02 | 8 | -78/+5 |
| | |||||
* | Set `deprecated` field on `CompletionItem`s | Martin Asquino | 2019-11-02 | 8 | -1/+185 |
| | |||||
* | Change SourceAnalyzer method resoltion API | Florian Diebold | 2019-11-01 | 2 | -32/+18 |
| | |||||
* | Complete items on traits as well | Florian Diebold | 2019-11-01 | 1 | -2/+46 |
| | |||||
* | Complete trait assoc items | Florian Diebold | 2019-11-01 | 2 | -12/+48 |
| | |||||
* | Add failing tests for trait assoc method completion | Florian Diebold | 2019-11-01 | 1 | -0/+60 |
| | |||||
* | Refactor to unify with method resolution | Florian Diebold | 2019-11-01 | 1 | -4/+6 |
| | |||||
* | Some clippy fixes | kjeremy | 2019-10-30 | 2 | -3/+3 |
| | |||||
* | Move ids to hir_def crate | Aleksey Kladov | 2019-10-30 | 1 | -1/+1 |
| | |||||
* | don't add macro braces in use items | Aleksey Kladov | 2019-10-30 | 1 | -17/+53 |
| | |||||
* | avoid TextEditorBuilder for simple edits | Aleksey Kladov | 2019-10-26 | 2 | -11/+7 |
| | |||||
* | Guess macro braces from docs | oxalica | 2019-10-20 | 2 | -7/+91 |
| | |||||
* | #1435 postfix completion for integer literals | Sergey Parilin | 2019-10-14 | 2 | -2/+77 |
| | |||||
* | tweak fn labels in completion | Aleksey Kladov | 2019-10-10 | 4 | -36/+33 |
| | |||||
* | if completion does auto-insertion, indicate this in the label | Aleksey Kladov | 2019-10-10 | 5 | -475/+562 |
| | |||||
* | add <> for type aliases as well | Aleksey Kladov | 2019-10-09 | 1 | -52/+80 |
| | |||||
* | smal cleanup | Aleksey Kladov | 2019-10-09 | 1 | -5/+5 |
| | |||||
* | add `<>` when completing generic types | Aleksey Kladov | 2019-10-08 | 3 | -78/+197 |
| | |||||
* | simplify | Aleksey Kladov | 2019-10-08 | 1 | -4/+5 |
| | |||||
* | refactor | Aleksey Kladov | 2019-10-08 | 1 | -8/+15 |
| | |||||
* | Address comments: fix docs, add completion test for `Self`. | ice1000 | 2019-10-08 | 1 | -0/+29 |
| | |||||
* | Support inferring `Self` type in enum definitions | ice1000 | 2019-10-08 | 1 | -1/+1 |
| | | | | Signed-off-by: ice1000 <[email protected]> | ||||
* | replace AST visitors with macro | Ekaterina Babshukova | 2019-10-05 | 2 | -16/+18 |
| | |||||
* | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 14 | -0/+27 |
| | | | | #1856 | ||||
* | move assists to subdir | Aleksey Kladov | 2019-09-25 | 1 | -2/+2 |
| | |||||
* | Remove redundant clone() | Shotaro Yamada | 2019-09-25 | 2 | -2/+2 |
| | |||||
* | introduce FromSource trait | Ekaterina Babshukova | 2019-09-19 | 1 | -2/+5 |
| | |||||
* | Remove TraitItem and ImplItem in favor of AssocItem | Florian Diebold | 2019-09-17 | 1 | -3/+3 |
| | |||||
* | Remove a dbg! | Florian Diebold | 2019-09-14 | 1 | -1/+1 |
| | |||||
* | rename add_resolution -> add_scope_def | Aleksey Kladov | 2019-09-13 | 1 | -18/+0 |
| | |||||
* | Specify desirable namespace when calling resolve | Aleksey Kladov | 2019-09-13 | 5 | -56/+76 |
| | | | | That way, we are able to get rid of a number of unreachable statements | ||||
* | rename AdtDef -> Adt | Aleksey Kladov | 2019-09-12 | 4 | -12/+10 |
| | |||||
* | make various enums "inherit" from AdtDef | Aleksey Kladov | 2019-09-12 | 3 | -13/+14 |
| | |||||
* | Complete vec macros with square brackets | Kirill Bulatov | 2019-09-12 | 2 | -3/+36 |
| | |||||
* | Add `!` to the macro completion label | Kirill Bulatov | 2019-09-12 | 4 | -20/+24 |
| | |||||
* | Complete macros parenthesis | Kirill Bulatov | 2019-09-12 | 4 | -9/+9 |
| | |||||
* | Split out `complete_macro_in_item_position` | uHOOCCOOHu | 2019-09-11 | 2 | -37/+50 |
| | |||||
* | Fix typo | uHOOCCOOHu | 2019-09-11 | 1 | -1/+1 |
| | |||||
* | Support completion for macros | uHOOCCOOHu | 2019-09-10 | 3 | -1/+288 |
| | |||||
* | simplify | Aleksey Kladov | 2019-09-06 | 1 | -38/+40 |
| | |||||
* | Make type walking infrastructure a bit nicer | Florian Diebold | 2019-09-03 | 1 | -1/+1 |
| | | | | | If/when we switch to using Chalk's Ty, we'll need to replace this by its `Fold` trait, but I didn't want to import the whole thing just yet. |