Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | Revert "Replace with immutable map to avoid heavy cloning" | uHOOCCOOHu | 2019-09-08 | 1 | -3/+0 |
| | | | | | | This reverts commit 2c494eb803c88ef5d23607c3b156fce60c2b8076. See: https://github.com/rust-analyzer/rust-analyzer/pull/1784#issuecomment-529119924 | ||||
* | Replace with immutable map to avoid heavy cloning | uHOOCCOOHu | 2019-09-08 | 1 | -0/+3 |
| | |||||
* | Resolve textual scoped macros inside item | uHOOCCOOHu | 2019-09-08 | 2 | -8/+24 |
| | |||||
* | Support textual scoped macros | uHOOCCOOHu | 2019-09-08 | 3 | -34/+153 |
| | |||||
* | cleanup hir db imports | Aleksey Kladov | 2019-09-08 | 3 | -6/+7 |
| | |||||
* | don't cycle when processing macros from prelude in prelude | Aleksey Kladov | 2019-09-07 | 2 | -2/+33 |
| | |||||
* | Merge #1779 | bors[bot] | 2019-09-06 | 1 | -1/+3 |
|\ | | | | | | | | | | | | | | | 1779: minor r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | minor | Aleksey Kladov | 2019-09-06 | 1 | -1/+3 |
| | | |||||
* | | make source_root API more abstract | Aleksey Kladov | 2019-09-06 | 1 | -6/+8 |
|/ | |||||
* | Merge #1771 | bors[bot] | 2019-09-05 | 2 | -18/+90 |
|\ | | | | | | | | | | | | | | | | | | | | | 1771: Further tweak for macro_use on extern crate r=matklad a=uHOOCCOOHu Some more tweaks to #1743 to behave more like `rustc` 1. Hoist macros from `#[macro_use] extern crate`, so that they can be used before `extern crate`. 2. Implicit `#[macro_use]` for `prelude` if exists Co-authored-by: uHOOCCOOHu <[email protected]> | ||||
| * | Hoist macros from extern crate with macro_use | uHOOCCOOHu | 2019-09-05 | 2 | -14/+20 |
| | | |||||
| * | Consider prelude to be `macro_use` | uHOOCCOOHu | 2019-09-05 | 2 | -4/+70 |
| | | |||||
* | | rename test file to match impl file | Aleksey Kladov | 2019-09-05 | 2 | -1/+1 |
| | | |||||
* | | move mod resolution to a separate file | Aleksey Kladov | 2019-09-05 | 2 | -183/+189 |
|/ | |||||
* | Fix typo | uHOOCCOOHu | 2019-09-05 | 1 | -2/+2 |
| | |||||
* | Let `macro_use` bypass module scope | uHOOCCOOHu | 2019-09-05 | 2 | -35/+52 |
| | |||||
* | Fix import strategy of `macro_use` and its test | uHOOCCOOHu | 2019-09-02 | 2 | -9/+22 |
| | |||||
* | Add test | uHOOCCOOHu | 2019-08-31 | 1 | -5/+50 |
| | |||||
* | Support resolution of `#[macro_use] extern crate` | uHOOCCOOHu | 2019-08-31 | 2 | -2/+28 |
| | |||||
* | :arrow_up: insta | Aleksey Kladov | 2019-08-29 | 5 | -53/+53 |
| |