Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | move crate_def_map tests to hir_def | Aleksey Kladov | 2019-11-03 | 6 | -2249/+0 |
| | |||||
* | Move CrateDefMap to hir_def | Aleksey Kladov | 2019-11-03 | 6 | -941/+18 |
| | |||||
* | move mod_resolution to hir_def | Aleksey Kladov | 2019-10-31 | 2 | -83/+6 |
| | |||||
* | push name down to hir_expand | Aleksey Kladov | 2019-10-30 | 1 | -1/+2 |
| | |||||
* | remove forward pointer for attrs | Aleksey Kladov | 2019-10-30 | 1 | -2/+1 |
| | |||||
* | remove forward pointer for name | Aleksey Kladov | 2019-10-30 | 1 | -3/+2 |
| | |||||
* | move raw_items to hir_def | Aleksey Kladov | 2019-10-30 | 3 | -405/+3 |
| | |||||
* | Move ids to hir_def crate | Aleksey Kladov | 2019-10-30 | 1 | -1/+1 |
| | |||||
* | introduce ra_hir_def | Aleksey Kladov | 2019-10-30 | 1 | -12/+11 |
| | |||||
* | remove not that useful indirection | Aleksey Kladov | 2019-10-29 | 1 | -2/+2 |
| | |||||
* | move expansion-related code to a separate crate | Aleksey Kladov | 2019-10-29 | 1 | -1/+2 |
| | |||||
* | start ra_hir_def crate | Aleksey Kladov | 2019-10-29 | 1 | -8/+5 |
| | |||||
* | remove relative_path_buf workaround | Aleksey Kladov | 2019-10-27 | 1 | -10/+3 |
| | | | | The upstream problem was fixed with the change to 1.0 | ||||
* | Prepare SourceDatabase API for lazy file loading | Aleksey Kladov | 2019-10-14 | 1 | -1/+1 |
| | |||||
* | remove last traces of source roots from hir | Aleksey Kladov | 2019-10-11 | 2 | -42/+20 |
| | |||||
* | don't special case macro_use | Aleksey Kladov | 2019-10-10 | 2 | -23/+12 |
| | |||||
* | don't special case path attr | Aleksey Kladov | 2019-10-10 | 2 | -27/+15 |
| | |||||
* | simplify a bit | Aleksey Kladov | 2019-10-10 | 2 | -10/+13 |
| | |||||
* | simplify some tests | Aleksey Kladov | 2019-10-10 | 1 | -90/+24 |
| | |||||
* | Refactor and fix some more edge cases around name resolution | Aleksey Kladov | 2019-10-10 | 4 | -192/+209 |
| | |||||
* | macro DSL for cfg in tests | Aleksey Kladov | 2019-10-08 | 1 | -8/+5 |
| | |||||
* | use slightly more idiomatic api for cfg | Aleksey Kladov | 2019-10-08 | 1 | -6/+8 |
| | |||||
* | Optimize | uHOOCCOOHu | 2019-10-02 | 2 | -7/+13 |
| | |||||
* | Refactor CfgOptions inside | uHOOCCOOHu | 2019-10-02 | 1 | -3/+3 |
| | |||||
* | Support cfg attribute on impl blocks | uHOOCCOOHu | 2019-10-02 | 2 | -7/+2 |
| | |||||
* | Enable CfgOptions `test` for workspace crates | uHOOCCOOHu | 2019-10-02 | 1 | -0/+70 |
| | |||||
* | Introduce ra_cfg to parse and evaluate CfgExpr | uHOOCCOOHu | 2019-10-02 | 2 | -26/+47 |
| | |||||
* | Pass attributes as token tree to DefCollector | uHOOCCOOHu | 2019-10-02 | 2 | -20/+51 |
| | |||||
* | Merge branch 'master' into feature/issue/1856 | Alexander Andreev | 2019-09-30 | 1 | -3/+2 |
|\ | | | | | | | | | # Conflicts: # crates/ra_assists/src/ast_editor.rs | ||||
| * | Fix API of Attr | uHOOCCOOHu | 2019-09-30 | 1 | -3/+2 |
| | | |||||
* | | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 3 | -0/+6 |
|/ | | | | #1856 | ||||
* | Fix | uHOOCCOOHu | 2019-09-27 | 1 | -1/+1 |
| | |||||
* | Support `$crate` in item and expr place. | uHOOCCOOHu | 2019-09-26 | 2 | -15/+131 |
| | |||||
* | Store crate info in `MacroDefId` | uHOOCCOOHu | 2019-09-26 | 1 | -1/+4 |
| | |||||
* | Remove redundant clone() | Shotaro Yamada | 2019-09-25 | 2 | -5/+2 |
| | |||||
* | fix module attr path | gfreezy | 2019-09-20 | 3 | -2/+40 |
| | |||||
* | introduce FromSource trait | Ekaterina Babshukova | 2019-09-19 | 1 | -2/+10 |
| | |||||
* | remove confusing code | Aleksey Kladov | 2019-09-17 | 1 | -31/+1 |
| | | | | | | I must confess I don't really understand what this code is trying to do, but it definitely misreports changes during fixedpoint iteration, and no tests fail if I remove it, so... | ||||
* | make PerNs non-generic | Aleksey Kladov | 2019-09-13 | 2 | -18/+18 |
| | |||||
* | Specify desirable namespace when calling resolve | Aleksey Kladov | 2019-09-13 | 1 | -9/+0 |
| | | | | That way, we are able to get rid of a number of unreachable statements | ||||
* | rename AdtDef -> Adt | Aleksey Kladov | 2019-09-12 | 1 | -3/+3 |
| | |||||
* | make various enums "inherit" from AdtDef | Aleksey Kladov | 2019-09-12 | 1 | -3/+3 |
| | |||||
* | add macros with local_inner_macros argument | JasperDeSutter | 2019-09-12 | 2 | -1/+40 |
| | |||||
* | Merge #1796 | bors[bot] | 2019-09-11 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1796: Support completion for macros r=matklad a=uHOOCCOOHu This is based on #1795 , and fixes #1727 Also prettify hover text of macros. Some screenshorts below: Completion in item place. <img width="416" alt="Screenshot_20190910_134056" src="https://user-images.githubusercontent.com/14816024/64587159-fa72da00-d3d0-11e9-86bb-c98f169ec08d.png"> After pressing `tab`. <img width="313" alt="Screenshot_20190910_134111" src="https://user-images.githubusercontent.com/14816024/64587160-fa72da00-d3d0-11e9-9464-21e3f6957bd7.png"> Complete macros from `std`. <img width="588" alt="Screenshot_20190910_134147" src="https://user-images.githubusercontent.com/14816024/64587161-fb0b7080-d3d0-11e9-866e-5161f0d1b546.png"> Hover text. <img width="521" alt="Screenshot_20190910_134242" src="https://user-images.githubusercontent.com/14816024/64587162-fb0b7080-d3d0-11e9-8f09-ad17e3f6702a.png"> Co-authored-by: uHOOCCOOHu <[email protected]> | ||||
| * | Fix typo | uHOOCCOOHu | 2019-09-11 | 1 | -1/+1 |
| | | |||||
* | | cleanup expansion to item list | Aleksey Kladov | 2019-09-10 | 1 | -1/+3 |
|/ | |||||
* | Strip | uHOOCCOOHu | 2019-09-09 | 1 | -9/+3 |
| | |||||
* | Make macro scope a real name scope | uHOOCCOOHu | 2019-09-09 | 4 | -137/+265 |
| | | | | Fix some details about module scoping | ||||
* | Fix test | uHOOCCOOHu | 2019-09-08 | 1 | -3/+0 |
| | |||||
* | Rename `textual_macro` -> `legacy_macro` | uHOOCCOOHu | 2019-09-08 | 2 | -21/+18 |
| | | | | Add comments |