Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | 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 | 17 | -105/+105 |
| | |||||
* | 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) | ||||
* | Add test that ok-wrapping handles type aliases | Phil Ellison | 2019-08-25 | 1 | -0/+38 |
| | |||||
* | Mock std String and Result types in tests for ok-wrapping diagnostic | Phil Ellison | 2019-08-25 | 2 | -14/+65 |
| | |||||
* | Initial implementation of Ok-wrapping | Phil Ellison | 2019-08-25 | 1 | -0/+50 |
| | |||||
* | rename struct -> record, pos -> tuple | Aleksey Kladov | 2019-08-23 | 18 | -64/+70 |
| | |||||
* | Merge #1715 | bors[bot] | 2019-08-22 | 4 | -7/+90 |
|\ | | | | | | | | | | | | | | | 1715: Feature flags r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | implement feature flags | Aleksey Kladov | 2019-08-22 | 4 | -7/+90 |
| | | |||||
* | | Update snapshots/highlighting.html to use correct highlighting | cynecx | 2019-08-22 | 1 | -2/+2 |
| | | |||||
* | | Fix syntax-highlighting for fields (`NAMED_FIELD_DEF`) | cynecx | 2019-08-21 | 1 | -14/+10 |
|/ | |||||
* | qualify ast types with `ast::` | Aleksey Kladov | 2019-08-19 | 1 | -11/+8 |
| | | | | | By convention, ast nodes should always be used as `ast::FnDef`. This is to avoid confusion with similarly-named hir types. | ||||
* | remove ast::*Kind from ra_ide_api | Aleksey Kladov | 2019-08-19 | 5 | -21/+19 |
| | |||||
* | Merge #1691 | bors[bot] | 2019-08-16 | 1 | -2/+35 |
|\ | | | | | | | | | | | | | | | 1691: Show inherent and trait impls of structs and enums r=viorina a=viorina Co-authored-by: Ekaterina Babshukova <[email protected]> | ||||
| * | show inherent and trait impls of structs and enums | Ekaterina Babshukova | 2019-08-16 | 1 | -2/+35 |
| | | |||||
* | | implement durability | Aleksey Kladov | 2019-08-15 | 3 | -18/+46 |
|/ | |||||
* | Use Source in Diagnostic and implement | Evgenii P | 2019-08-12 | 1 | -1/+1 |
| | |||||
* | implement while let desugaring | Aleksey Kladov | 2019-08-07 | 1 | -7/+29 |
| |