Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #1969 | bors[bot] | 2019-10-08 | 3 | -2/+6 |
|\ | | | | | | | | | | | | | | | 1969: restore coloring of attributes r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | restore coloring of attributes | Aleksey Kladov | 2019-10-08 | 2 | -1/+4 |
| | | |||||
| * | use slightly more idiomatic api for cfg | Aleksey Kladov | 2019-10-08 | 1 | -1/+2 |
| | | |||||
* | | 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]> | ||||
* | Merge #1960 | bors[bot] | 2019-10-05 | 8 | -289/+312 |
|\ | | | | | | | | | | | | | | | 1960: Replace AST visitors with macro r=viorina a=viorina Fixes #1672. Co-authored-by: Ekaterina Babshukova <[email protected]> | ||||
| * | replace AST visitors with macro | Ekaterina Babshukova | 2019-10-05 | 8 | -289/+312 |
| | | |||||
* | | Refactor CfgOptions inside | uHOOCCOOHu | 2019-10-02 | 1 | -1/+0 |
| | | |||||
* | | Enable CfgOptions `test` for workspace crates | uHOOCCOOHu | 2019-10-02 | 4 | -4/+13 |
|/ | |||||
* | Merge branch 'master' into feature/issue/1856 | Alexander Andreev | 2019-09-30 | 3 | -7/+7 |
|\ | | | | | | | | | # Conflicts: # crates/ra_assists/src/ast_editor.rs | ||||
| * | Fix API of Attr | uHOOCCOOHu | 2019-09-30 | 2 | -2/+2 |
| | | |||||
| * | move field list to ast/edit.rs | Aleksey Kladov | 2019-09-30 | 1 | -5/+5 |
| | | |||||
* | | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 48 | -0/+95 |
|/ | | | | #1856 | ||||
* | Start simplifying editing API | Aleksey Kladov | 2019-09-26 | 2 | -2/+0 |
| | |||||
* | keep ast creation API simple | Aleksey Kladov | 2019-09-26 | 1 | -6/+3 |
| | |||||
* | disable periodic GC | Aleksey Kladov | 2019-09-26 | 2 | -8/+2 |
| | | | | | There's hypothesis that it doesn't do anything useful now that we have LRU... | ||||
* | Fix retrieval of the Fn traits | Florian Diebold | 2019-09-25 | 1 | -1/+1 |
| | | | | | I used the wrong query, so it only used the lang items from the respective crate... | ||||
* | clean up naming | Aleksey Kladov | 2019-09-25 | 1 | -1/+1 |
| | |||||
* | cleanup diagnostics | Aleksey Kladov | 2019-09-25 | 1 | -4/+6 |
| | |||||
* | shorten AstBuilder names | Aleksey Kladov | 2019-09-25 | 1 | -4/+4 |
| | |||||
* | cleaned up record field builder | Aleksey Kladov | 2019-09-25 | 1 | -1/+3 |
| | |||||
* | move ast builder to a separate file | Aleksey Kladov | 2019-09-25 | 1 | -1/+1 |
| | |||||
* | move assists to subdir | Aleksey Kladov | 2019-09-25 | 1 | -2/+2 |
| | |||||
* | Remove redundant clone() | Shotaro Yamada | 2019-09-25 | 4 | -5/+5 |
| | |||||
* | allow compiling ra_ide_api on wasm | Aleksey Kladov | 2019-09-20 | 6 | -12/+76 |
| | |||||
* | A few doc comments | kjeremy | 2019-09-19 | 1 | -1/+9 |
| | |||||
* | Merge #1853 | bors[bot] | 2019-09-19 | 7 | -27/+47 |
|\ | | | | | | | | | | | | | | | | | 1853: Introduce FromSource trait r=matklad a=viorina The idea is to provide an ability to get HIR from AST in a more general way than it's possible using `source_binder`. It also could help with #1622 fixing. Co-authored-by: Ekaterina Babshukova <[email protected]> | ||||
| * | introduce FromSource trait | Ekaterina Babshukova | 2019-09-19 | 7 | -27/+47 |
| | | |||||
* | | Pacify rustfmt. | Mazdak Farrokhzad | 2019-09-19 | 1 | -4/+1 |
| | | |||||
* | | `fold_kind`: `MATCH_ARM_LIST => FoldKind::Block` | Mazdak Farrokhzad | 2019-09-19 | 1 | -0/+18 |
|/ | |||||
* | Remove TraitItem and ImplItem in favor of AssocItem | Florian Diebold | 2019-09-17 | 1 | -3/+3 |
| | |||||
* | Refactor a bit to prepare for resolving trait assoc items | Florian Diebold | 2019-09-17 | 5 | -14/+17 |
| | |||||
* | 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 | 8 | -30/+24 |
| | |||||
* | make various enums "inherit" from AdtDef | Aleksey Kladov | 2019-09-12 | 6 | -23/+24 |
| | |||||
* | 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 | 3 | -37/+52 |
| | |||||
* | Fix typo | uHOOCCOOHu | 2019-09-11 | 1 | -1/+1 |
| | |||||
* | Show macro definition in hover text | uHOOCCOOHu | 2019-09-10 | 1 | -3/+21 |
| | |||||
* | Support completion for macros | uHOOCCOOHu | 2019-09-10 | 4 | -2/+295 |
| | |||||
* | introduce hir debugging infra | Aleksey Kladov | 2019-09-09 | 2 | -3/+43 |
| | | | | | | | | | | | | This is to make debugging rust-analyzer easier. The idea is that `dbg!(krate.debug(db))` will print the actual, fuzzy crate name, instead of precise ID. Debug printing infra is a separate thing, to make sure that the actual hir doesn't have access to global information. Do not use `.debug` for `log::` logging: debugging executes queries, and might introduce unneded dependencies to the crate graph | ||||
* | simplify | Aleksey Kladov | 2019-09-06 | 1 | -38/+40 |
| | |||||
* | make source_root API more abstract | Aleksey Kladov | 2019-09-06 | 2 | -3/+3 |
| | |||||
* | fix renaming of modules | Aleksey Kladov | 2019-09-05 | 2 | -72/+86 |
| | |||||
* | always use \n newlines | Aleksey Kladov | 2019-09-05 | 1 | -357/+357 |
| | |||||
* | 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. |