Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
|/ | |||||
* | Reexport relative_path from ra_db | Aleksey Kladov | 2019-11-03 | 7 | -12/+8 |
| | |||||
* | 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 |
| | |||||
* | Record assoc item resolution | Florian Diebold | 2019-11-01 | 1 | -0/+55 |
| | |||||
* | Fixes #2143 | kjeremy | 2019-10-31 | 1 | -0/+19 |
| | |||||
* | runnables => match_ast! | kjeremy | 2019-10-30 | 1 | -7/+7 |
| | |||||
* | Use match_ast! in FnCallNode::with_node | kjeremy | 2019-10-30 | 1 | -9/+8 |
| | |||||
* | Some clippy fixes | kjeremy | 2019-10-30 | 6 | -9/+8 |
| | |||||
* | fix compilation | Aleksey Kladov | 2019-10-30 | 1 | -0/+1 |
| | |||||
* | Move ids to hir_def crate | Aleksey Kladov | 2019-10-30 | 4 | -8/+5 |
| | |||||
* | Merge #2125 | bors[bot] | 2019-10-30 | 1 | -17/+53 |
|\ | | | | | | | | | | | | | | | 2125: don't add macro braces in use items r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | don't add macro braces in use items | Aleksey Kladov | 2019-10-30 | 1 | -17/+53 |
| | | |||||
* | | Add missing test for label | kjeremy | 2019-10-29 | 1 | -0/+1 |
| | | |||||
* | | Primitive signature help for mbe | kjeremy | 2019-10-29 | 2 | -0/+58 |
| | | |||||
* | | Merge #2103 | bors[bot] | 2019-10-29 | 2 | -11/+184 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | 2103: Expand signature help r=matklad a=kjeremy Signature help using call syntax with tuple structs and enum variants Fixes #2102. Co-authored-by: Jeremy Kolb <[email protected]> Co-authored-by: kjeremy <[email protected]> | ||||
| * | SigKind -> CallableKind | kjeremy | 2019-10-29 | 1 | -10/+10 |
| | | |||||
| * | Filter out non callable versions of Struct/EnumVariant | kjeremy | 2019-10-28 | 2 | -38/+84 |
| | | |||||
| * | formatting | Jeremy Kolb | 2019-10-28 | 1 | -1/+1 |
| | | |||||
| * | Fix syntax | Jeremy Kolb | 2019-10-28 | 1 | -1/+1 |
| | | |||||
| * | Preliminary enum variant support | Jeremy Kolb | 2019-10-28 | 2 | -2/+67 |
| | | |||||
| * | Add disciminant | Jeremy Kolb | 2019-10-28 | 2 | -7/+17 |
| | | |||||
| * | WIP: Expand signature help | Jeremy Kolb | 2019-10-28 | 2 | -8/+60 |
| | | | | | | | | This is hacky but works for tuple structs. Proof of concept. | ||||
* | | cleanup | Aleksey Kladov | 2019-10-29 | 1 | -1/+4 |
|/ | |||||
* | Be more precise with function signatures | Jeremy Kolb | 2019-10-27 | 1 | -8/+32 |
| | | | | Fixes #2093 | ||||
* | extend selection in trait bound extends to plus | Alexander Elís Ebenesersson | 2019-10-27 | 1 | -10/+72 |
| | | | | | | When multiple traits bounds are present, expanded selection from a single trait bound will include the nearest plus sign (and whitespace after) before including the whole trait bound. | ||||
* | avoid TextEditorBuilder for simple edits | Aleksey Kladov | 2019-10-26 | 5 | -37/+21 |
| | |||||
* | insert space after `->` | Aleksey Kladov | 2019-10-25 | 1 | -111/+117 |
| | |||||
* | refactor typing_handlers | Aleksey Kladov | 2019-10-25 | 2 | -35/+41 |
| | |||||
* | introduce SingleFileChange | Aleksey Kladov | 2019-10-25 | 2 | -35/+46 |
| | |||||
* | move source change to a dedicated file | Aleksey Kladov | 2019-10-25 | 2 | -95/+104 |
| | |||||
* | make typing infra slightly more extensible | Aleksey Kladov | 2019-10-25 | 2 | -48/+72 |
| | |||||
* | bump insta | kjeremy | 2019-10-24 | 1 | -1/+1 |
| | |||||
* | for highlighting, search only the current file | Aleksey Kladov | 2019-10-24 | 4 | -26/+104 |
| | |||||
* | add search scope stuct | Aleksey Kladov | 2019-10-24 | 1 | -13/+30 |
| | |||||
* | add some profiling calls | Aleksey Kladov | 2019-10-24 | 3 | -0/+10 |
| | |||||
* | some fixes, add docs | Ekaterina Babshukova | 2019-10-22 | 5 | -72/+73 |
| | |||||
* | support items that visible to the parent module | Ekaterina Babshukova | 2019-10-22 | 3 | -5/+68 |
| | |||||
* | classify module from declaration | Ekaterina Babshukova | 2019-10-22 | 3 | -8/+44 |
| | |||||
* | fix highlighting | Ekaterina Babshukova | 2019-10-22 | 2 | -2/+2 |
| | |||||
* | remove SearchScope | Ekaterina Babshukova | 2019-10-22 | 2 | -10/+6 |
| | |||||
* | use Lazy, some fixes | Ekaterina Babshukova | 2019-10-22 | 9 | -43/+50 |
| |