Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | remove SyntaxPtrDatabase | Aleksey Kladov | 2018-11-01 | 4 | -19/+12 | |
|/ | ||||||
* | Fix test | Aleksey Kladov | 2018-10-31 | 1 | -0/+1 | |
| | ||||||
* | Speedup fmt | Aleksey Kladov | 2018-10-31 | 2 | -15/+23 | |
| | ||||||
* | RemoveDeadCode | Aleksey Kladov | 2018-10-31 | 1 | -17/+0 | |
| | ||||||
* | Reformat all | Aleksey Kladov | 2018-10-31 | 35 | -366/+422 | |
| | ||||||
* | Various changes | Muhammad Mominul Huque | 2018-10-31 | 3 | -28/+40 | |
| | | | | | | | Pin to a specific toolchain version Format checking functionality Add a test to check the code formatting. Remove macro_use attribute | |||||
* | initial implementation | Muhammad Mominul Huque | 2018-10-31 | 3 | -11/+18 | |
| | ||||||
* | Simplify find_all_refs by always resolving a ast::BindPat | Jeremy A. Kolb | 2018-10-31 | 1 | -32/+16 | |
| | ||||||
* | Add DeclarationDescriptor and ReferenceDescriptor | Jeremy A. Kolb | 2018-10-31 | 3 | -4/+77 | |
| | | | | | Fixes #142 Fixes #146 | |||||
* | Merge #167 | bors[bot] | 2018-10-31 | 6 | -5/+235 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | 167: Attempt to extract useful comments from function signatures r=matklad a=kjeremy I'm trying to extract useful function comments for signature info. This will also be useful for hover. This is a WIP (and actually works pretty well!) but I don't think it's the right approach long term so some guidance would be appreciated so that we could also get comments for say types and variable instances etc. Currently `test_fn_signature_with_simple_doc` fails due to a bug in `extend` but we probably shouldn't use this approach anyway. Maybe comments should be attached to nodes somehow? I'm also thinking that maybe the markdown bits should live in the language server. Thoughts? Co-authored-by: Jeremy A. Kolb <[email protected]> | |||||
| * | Make extend private again | Jeremy A. Kolb | 2018-10-31 | 2 | -2/+2 | |
| | | ||||||
| * | Useful comments from function signatures | Jeremy A. Kolb | 2018-10-31 | 5 | -7/+217 | |
| | | ||||||
| * | `ast::DocCommentsOwner` which represents a documentation comment owner | Jeremy A. Kolb | 2018-10-31 | 3 | -0/+20 | |
| | | ||||||
* | | Add MockAnalysis to make testing easier | Aleksey Kladov | 2018-10-31 | 7 | -76/+167 | |
| | | ||||||
* | | Merge #178 | bors[bot] | 2018-10-31 | 1 | -0/+2 | |
|\ \ | |/ |/| | | | | | | | | | | | 178: Prevent panic by initializing LibrariesQuery r=matklad a=kjeremy Co-authored-by: Jeremy A. Kolb <[email protected]> | |||||
| * | Prevent panic by initializing LibrariesQuery | Jeremy A. Kolb | 2018-10-31 | 1 | -0/+2 | |
|/ | ||||||
* | extract fixture parsing | Aleksey Kladov | 2018-10-31 | 4 | -22/+51 | |
| | ||||||
* | Merge #177 | bors[bot] | 2018-10-31 | 3 | -3/+3 | |
|\ | | | | | | | | | | | | | | | 177: Librariese -> Libraries r=matklad a=kjeremy Co-authored-by: Jeremy A. Kolb <[email protected]> | |||||
| * | Fix typo | Jeremy A. Kolb | 2018-10-31 | 3 | -3/+3 | |
| | | ||||||
* | | Merge #176 | bors[bot] | 2018-10-31 | 20 | -1066/+1066 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 176: Move completio to ra_analysis r=matklad a=matklad While we should handle completion for isolated file, it's better achieved by using empty Analysis, rather than working only with &File: we need memoization for type inference even inside a single file. Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | remove old completion | Aleksey Kladov | 2018-10-31 | 5 | -1100/+1 | |
| | | | ||||||
| * | | Move completion to ra_analysis | Aleksey Kladov | 2018-10-31 | 6 | -63/+711 | |
| | | | | | | | | | | | | | | | | | | While we should handle completion for isolated file, it's better achieved by using empty Analysis, rather than working only with &File: we need memoization for type inference even inside a single file. | |||||
| * | | move resolve local name | Aleksey Kladov | 2018-10-31 | 7 | -94/+31 | |
| | | | ||||||
| * | | Move FnDescriptors to analyzer | Aleksey Kladov | 2018-10-31 | 15 | -198/+712 | |
| |/ | ||||||
* / | Fix typos | Jeremy A. Kolb | 2018-10-31 | 1 | -2/+2 | |
|/ | ||||||
* | Introduce owned ast nodes | Aleksey Kladov | 2018-10-31 | 2 | -2/+1303 | |
| | | | | ast::FooNode is an owned 'static counterpart to ast::Foo<'a> | |||||
* | Merge #171 | bors[bot] | 2018-10-30 | 8 | -22/+223 | |
|\ | | | | | | | | | | | | | | | 171: Query-based module scopes r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Add ModuleScope as a query | Aleksey Kladov | 2018-10-30 | 8 | -22/+223 | |
| | | | | | | | | | | | | | | This is a first step towards queryifing completion and resolve. Some code currently duplicates ra_editor: the plan is to move all completion from ra_editor, but it'll take more than one commit. | |||||
* | | :arrow_up: salsa | Aleksey Kladov | 2018-10-30 | 4 | -35/+40 | |
|/ | ||||||
* | Merge #168 | bors[bot] | 2018-10-30 | 1 | -1/+1 | |
|\ | | | | | | | | | | | | | | | 168: Fix param number r=matklad a=kjeremy Fixes the parameter number if we are not in a method Co-authored-by: Jeremy A. Kolb <[email protected]> | |||||
| * | Fix param number | Jeremy A. Kolb | 2018-10-30 | 1 | -1/+1 | |
| | | ||||||
* | | Merge #169 | bors[bot] | 2018-10-30 | 8 | -15/+79 | |
|\ \ | |/ |/| | | | | | | | | | | | 169: Syntax ptr r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | switch to TextRange::subrange | Aleksey Kladov | 2018-10-30 | 4 | -10/+4 | |
| | | ||||||
| * | introduce syntax-ptr | Aleksey Kladov | 2018-10-30 | 4 | -5/+75 | |
|/ | ||||||
* | gc syntax trees | Aleksey Kladov | 2018-10-29 | 2 | -36/+37 | |
| | ||||||
* | Index files in parallel | Aleksey Kladov | 2018-10-29 | 1 | -9/+13 | |
| | ||||||
* | Merge #164 | bors[bot] | 2018-10-28 | 1 | -2/+2 | |
|\ | | | | | | | | | | | | | | | 164: Move backtick after "use" r=matklad a=lvillani Co-authored-by: Lorenzo Villani <[email protected]> | |||||
| * | Move backtick after "use" | Lorenzo Villani | 2018-10-28 | 1 | -2/+2 | |
|/ | ||||||
* | Merge #162 | bors[bot] | 2018-10-25 | 15 | -350/+384 | |
|\ | | | | | | | | | | | | | | | | | | | 162: Db everywhere r=matklad a=matklad This PR continues our switch to salsa. Now *all* state is handled by a single salsa database. Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | restore symbols filtering | Aleksey Kladov | 2018-10-25 | 1 | -5/+8 | |
| | | ||||||
| * | Move input to top-level | Aleksey Kladov | 2018-10-25 | 9 | -62/+67 | |
| | | ||||||
| * | Remove unneded Hash | Aleksey Kladov | 2018-10-25 | 1 | -14/+1 | |
| | | ||||||
| * | dead code | Aleksey Kladov | 2018-10-25 | 1 | -116/+0 | |
| | | ||||||
| * | dead code | Aleksey Kladov | 2018-10-25 | 1 | -22/+0 | |
| | | ||||||
| * | Encapsulate CrateGraph a bit | Aleksey Kladov | 2018-10-25 | 4 | -18/+24 | |
| | | ||||||
| * | re-enable cancelation | Aleksey Kladov | 2018-10-25 | 2 | -9/+7 | |
| | | ||||||
| * | use correct file when resolving callables | Aleksey Kladov | 2018-10-25 | 2 | -4/+14 | |
| | | ||||||
| * | disable cancelation | Aleksey Kladov | 2018-10-25 | 1 | -6/+8 | |
| | | ||||||
| * | Improve logging | Aleksey Kladov | 2018-10-25 | 6 | -18/+41 | |
| | | ||||||
| * | Store all the data in the Salsa Database | Aleksey Kladov | 2018-10-25 | 11 | -199/+337 | |
|/ |