Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 5 | -12/+73 |
| | |||||
* | 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. | ||||
* | fix assists | Aleksey Kladov | 2019-09-02 | 1 | -42/+49 |
| | |||||
* | fix hir for new block syntax | Aleksey Kladov | 2019-09-02 | 1 | -1/+1 |
| | |||||
* | :arrow_up: insta | Aleksey Kladov | 2019-08-29 | 16 | -104/+104 |
| | |||||
* | Strip indents and empty lines in check_apply_diagnostic_fix_from_position | Phil Ellison | 2019-08-25 | 1 | -36/+55 |
| | |||||
* | Specify cursor position in ok-wrapping tests, and switch to using ↵ | Phil Ellison | 2019-08-25 | 2 | -35/+31 |
| | | | | analysis_and_position function | ||||
* | Simplify checking return type, add new test | Phil Ellison | 2019-08-25 | 1 | -2/+28 |
| | |||||
* | cargo format | Phil Ellison | 2019-08-25 | 1 | -10/+11 |
| | |||||
* | Change test to not rely on trait inference | Phil Ellison | 2019-08-25 | 1 | -12/+7 |
| | |||||
* | Check type rather than just name in ok-wrapping diagnostic. Add test for ↵ | Phil Ellison | 2019-08-25 | 1 | -0/+37 |
| | | | | handling generic functions (which currently fails) |