Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #1570 | bors[bot] | 2019-07-21 | 9 | -37/+43 |
|\ | | | | | | | | | | | | | | | 1570: switch to upstream rowan's API r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | streamline API | Aleksey Kladov | 2019-07-21 | 5 | -14/+21 |
| | | |||||
| * | switch to upstream rowan's API | Aleksey Kladov | 2019-07-20 | 5 | -23/+22 |
| | | |||||
* | | provide completion in struct patterns | Ekaterina Babshukova | 2019-07-21 | 4 | -11/+111 |
|/ | |||||
* | align SyntaxText API with upstream | Aleksey Kladov | 2019-07-20 | 4 | -6/+7 |
| | |||||
* | rename range -> text_range | Aleksey Kladov | 2019-07-20 | 22 | -92/+107 |
| | |||||
* | move debug_dump to fmt::Debug | Aleksey Kladov | 2019-07-20 | 2 | -4/+4 |
| | |||||
* | flip syntax text to use internal iteration | Aleksey Kladov | 2019-07-19 | 1 | -3/+3 |
| | |||||
* | drop memory size of subtree | Aleksey Kladov | 2019-07-19 | 1 | -11/+4 |
| | | | | | it wasn't too accurate and the new measurement method of dropping the database completely is better anyway | ||||
* | convenience api | Aleksey Kladov | 2019-07-19 | 3 | -5/+4 |
| | |||||
* | several highlighting cleanups | Aleksey Kladov | 2019-07-19 | 4 | -66/+68 |
| | | | | | | * make stuff more type-safe by using `BindPat` instead of just `Pat` * don't add `mut` into binding hash * reset shadow counter when we enter a function | ||||
* | migrate ra_ide_api to the new rowan | Aleksey Kladov | 2019-07-19 | 29 | -290/+342 |
| | |||||
* | use Parse in mbe | Aleksey Kladov | 2019-07-18 | 1 | -4/+4 |
| | |||||
* | make Parse generic | Aleksey Kladov | 2019-07-18 | 3 | -6/+8 |
| | |||||
* | Merge #1547 | bors[bot] | 2019-07-18 | 1 | -5/+4 |
|\ | | | | | | | | | | | | | | | 1547: cleanup imports r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | cleanup imports | Aleksey Kladov | 2019-07-18 | 1 | -5/+4 |
| | | |||||
* | | prettier colors | Aleksey Kladov | 2019-07-18 | 3 | -18/+21 |
|/ | |||||
* | Merge #1537 | bors[bot] | 2019-07-18 | 1 | -26/+103 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 1537: Less magic completions r=matklad a=marcogroppo Restrict `if`, `not` and `while` postfix magic completions to boolean expressions and expressions of an unknown type. (this may be controversial, marking as draft for this reason) See the discussion in #1526. Co-authored-by: Marco Groppo <[email protected]> | ||||
| * | Restrict some postfix completions to bool and unknown expr. | Marco Groppo | 2019-07-17 | 1 | -26/+103 |
| | | | | | | | | | | Restrict `if` and `while` postfix completions to boolean expressions and expressions of an unknown type. | ||||
* | | highlight mutable variables differently | Ekaterina Babshukova | 2019-07-18 | 3 | -54/+102 |
|/ | |||||
* | Some renamings for clarity | Florian Diebold | 2019-07-14 | 1 | -1/+1 |
| | |||||
* | complete fields in enum variants | Ekaterina Babshukova | 2019-07-12 | 1 | -15/+88 |
| | |||||
* | make Parse fields private | Aleksey Kladov | 2019-07-12 | 21 | -82/+82 |
| | | | | this is in preparation for the new rowan API | ||||
* | account for dependencies when showing memory usage | Aleksey Kladov | 2019-07-12 | 1 | -0/+7 |
| | |||||
* | Unify `normalize` and `implements` to simplify code | Florian Diebold | 2019-07-08 | 1 | -2/+1 |
| | |||||
* | inline snapshot in complete_postfix | funkill2 | 2019-07-07 | 2 | -75/+71 |
| | |||||
* | Merge #1495 | bors[bot] | 2019-07-05 | 1 | -8/+5 |
|\ | | | | | | | | | | | | | | | 1495: use correct file for diagnostics r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | use correct file for diagnostics | Aleksey Kladov | 2019-07-05 | 1 | -8/+5 |
| | | | | | | | | closes #1475 | ||||
* | | Clippy trivially_copy_pass_by_ref | Jeremy Kolb | 2019-07-05 | 2 | -3/+3 |
|/ | |||||
* | Fix clippy::redundant_clone | Shotaro Yamada | 2019-07-05 | 2 | -3/+3 |
| | |||||
* | Some clippy fixes for 1.36 | Jeremy Kolb | 2019-07-04 | 4 | -7/+6 |
| | |||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 44 | -235/+215 |
| | | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway | ||||
* | Add completion for type aliases | Shotaro Yamada | 2019-07-02 | 1 | -1/+41 |
| | |||||
* | remove snapshot files | funkill2 | 2019-07-01 | 13 | -273/+0 |
| | |||||
* | inline snapshots | funkill2 | 2019-07-01 | 1 | -157/+366 |
| | |||||
* | put source maps first for better stats | Aleksey Kladov | 2019-06-30 | 1 | -2/+2 |
| | |||||
* | collect more macros, they are heavy | Aleksey Kladov | 2019-06-30 | 1 | -0/+1 |
| | |||||
* | print memory usage for queries | Aleksey Kladov | 2019-06-30 | 2 | -1/+66 |
| | |||||
* | Move memory usage statistics to ra_prof | Aleksey Kladov | 2019-06-30 | 2 | -58/+2 |
| | |||||
* | Merge #1456 | bors[bot] | 2019-06-29 | 1 | -1/+31 |
|\ | | | | | | | | | | | | | | | 1456: Deduplicate method candidates r=matklad a=flodiebold With trait method completion + autoderef, we were getting a lot of duplicates, which was really annoying... Co-authored-by: Florian Diebold <[email protected]> | ||||
| * | Deduplicate method candidates | Florian Diebold | 2019-06-29 | 1 | -1/+31 |
| | | |||||
* | | Complete associated methods on enums (and unions) as well | Florian Diebold | 2019-06-29 | 3 | -6/+87 |
|/ | |||||
* | show macros in file structure | Ekaterina Babshukova | 2019-06-28 | 2 | -5/+25 |
| | |||||
* | make sure that CrateDefMap is independent from syntax | Aleksey Kladov | 2019-06-26 | 1 | -0/+1 |
| | |||||
* | Merge #1429 | bors[bot] | 2019-06-24 | 2 | -1/+10 |
|\ | | | | | | | | | | | | | | | 1429: Add box postfix completion r=matklad a=kanru Co-authored-by: Kan-Ru Chen <[email protected]> | ||||
| * | Add box postfix completion | Kan-Ru Chen | 2019-06-23 | 2 | -1/+10 |
| | | |||||
* | | Add SourceRoot::is_library, in preparation for salsa's durability | Aleksey Kladov | 2019-06-24 | 1 | -1/+2 |
|/ | |||||
* | don' collect macros | Aleksey Kladov | 2019-06-20 | 1 | -3/+6 |
| | |||||
* | rename XSignature -> XData | Aleksey Kladov | 2019-06-18 | 4 | -11/+11 |
| | |||||
* | add analysis-bench to benchmark incremental analysis | Aleksey Kladov | 2019-06-16 | 2 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Can be used like this: ``` $ cargo run --release -p ra_cli -- \ analysis-bench ../chalk/ \ --complete ../chalk/chalk-engine/src/logic.rs:94:0 loading: 225.970093ms from scratch: 8.492373325s no change: 445.265µs trivial change: 95.631242ms ``` Or like this: ``` $ cargo run --release -p ra_cli -- \ analysis-bench ../chalk/ \ --highlight ../chalk/chalk-engine/src/logic.rs loading: 209.873484ms from scratch: 9.504916942s no change: 7.731119ms trivial change: 124.984039ms ``` "from scratch" includes initial analysis of the relevant bits of the project "no change" just asks the same question for the second time. It measures overhead on assembling the answer outside of salsa. "trivial change" doesn't do an actual salsa change, it just advances the revision. This test how fast is salsa at validating things. |