Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | If possible, show type lenses for the let bindings | Kirill Bulatov | 2019-07-20 | 1 | -0/+22 | |
|/ | ||||||
* | 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 | |
| | ||||||
* | Merge #1485 | bors[bot] | 2019-07-04 | 1 | -1/+1 | |
|\ | | | | | | | | | | | | | | | 1485: rand 0.7.0 r=matklad a=kjeremy Co-authored-by: Jeremy Kolb <[email protected]> | |||||
| * | rand 0.7.0 | Jeremy Kolb | 2019-07-04 | 1 | -1/+1 | |
| | | ||||||
* | | 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 | 3 | -64/+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. | |||||
* | Merge #1408 | bors[bot] | 2019-06-16 | 2 | -2/+2 | |
|\ | | | | | | | | | | | | | | | | | | | 1408: Associated type basics & Deref support r=matklad a=flodiebold This adds the necessary Chalk integration to handle associated types and uses it to implement support for `Deref` in the `*` operator and autoderef; so e.g. dot completions through an `Arc` work now. It doesn't yet implement resolution of associated types in paths, though. Also, there's a big FIXME about handling variables in the solution we get from Chalk correctly. Co-authored-by: Florian Diebold <[email protected]> |