Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | 2 | -11/+17 | |
| | ||||||
* | 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 | |
| | | ||||||
* | | Prevent panic by initializing LibrariesQuery | Jeremy A. Kolb | 2018-10-31 | 1 | -0/+2 | |
|/ | ||||||
* | extract fixture parsing | Aleksey Kladov | 2018-10-31 | 3 | -22/+50 | |
| | ||||||
* | 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 | 3 | -5/+10 | |
|/ | ||||||
* | 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 | |
| | | ||||||
* | | switch to TextRange::subrange | Aleksey Kladov | 2018-10-30 | 4 | -10/+4 | |
| | | ||||||
* | | introduce syntax-ptr | Aleksey Kladov | 2018-10-30 | 3 | -0/+69 | |
|/ | ||||||
* | gc syntax trees | Aleksey Kladov | 2018-10-29 | 1 | -2/+3 | |
| | ||||||
* | Index files in parallel | Aleksey Kladov | 2018-10-29 | 1 | -9/+13 | |
| | ||||||
* | restore symbols filtering | Aleksey Kladov | 2018-10-25 | 1 | -5/+8 | |
| | ||||||
* | Move input to top-level | Aleksey Kladov | 2018-10-25 | 8 | -59/+64 | |
| | ||||||
* | 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 | 5 | -15/+36 | |
| | ||||||
* | Store all the data in the Salsa Database | Aleksey Kladov | 2018-10-25 | 11 | -199/+337 | |
| | ||||||
* | Fix the test | Aleksey Kladov | 2018-10-25 | 1 | -17/+41 | |
| | ||||||
* | More informative lable for check runnable | Aleksey Kladov | 2018-10-25 | 1 | -3/+10 | |
| | ||||||
* | specify package when running cargo check | Aleksey Kladov | 2018-10-25 | 1 | -46/+65 | |
| | ||||||
* | Always add cargo check as a runnable | Aleksey Kladov | 2018-10-25 | 1 | -0/+8 | |
| | ||||||
* | Complete crate:: paths | Aleksey Kladov | 2018-10-24 | 10 | -21/+152 | |
| | ||||||
* | simplify roots | Aleksey Kladov | 2018-10-24 | 4 | -38/+18 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2018-10-24 | 2 | -6/+4 | |
| | ||||||
* | make indexing parallel again | Aleksey Kladov | 2018-10-24 | 2 | -4/+5 | |
| | ||||||
* | revive the test | Aleksey Kladov | 2018-10-24 | 1 | -6/+6 | |
| | ||||||
* | Merge #157 | bors[bot] | 2018-10-23 | 10 | -443/+493 | |
|\ | | | | | | | | | | | | | | | | | | | | | 157: Introduce ModuleId r=matklad a=matklad Previously, module was synonym with a file, and so a module could have had several parents. This commit introduces a separate module concept, such that each module has only one parent, but a single file can correspond to different modules. Co-authored-by: Aleksey Kladov <[email protected]> |