aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis
Commit message (Collapse)AuthorAgeFilesLines
...
* Use OO API in crate_forAleksey Kladov2018-11-202-12/+50
|
* Make LikdId privateAleksey Kladov2018-11-201-9/+5
|
* Use more OO API for parent moduleAleksey Kladov2018-11-202-29/+94
|
* Make some queries privateAleksey Kladov2018-11-204-12/+13
| | | | | Convention: we prefix private queries with `_` until salsa support real visibility.
* Add ModIdAleksey Kladov2018-11-201-8/+17
|
* use loc2id for FnIdsAleksey Kladov2018-11-186-22/+70
|
* Add Loc2IdMapAleksey Kladov2018-11-185-0/+83
|
* Fix typosAdolfo OchagavĂ­a2018-11-111-1/+1
|
* Complete paths in use treesAleksey Kladov2018-11-072-5/+57
|
* Do more work in classifyAleksey Kladov2018-11-071-38/+30
|
* Use cached module scopes for completionAleksey Kladov2018-11-075-51/+71
|
* split completion modAleksey Kladov2018-11-072-272/+339
|
* reorganize completionAleksey Kladov2018-11-072-88/+75
|
* rename module sourceAleksey Kladov2018-11-074-32/+32
|
* rename ROOT -> SOURCE_FILEAleksey Kladov2018-11-072-4/+4
|
* Rename File -> SourceFileNodeAleksey Kladov2018-11-078-31/+33
|
* Rustfmt to pass CIJeremy A. Kolb2018-11-071-1/+1
|
* Show documentation for hover requestsJeremy A. Kolb2018-11-072-0/+17
|
* Generalize Owned nodesAleksey Kladov2018-11-064-12/+12
|
* Use FilePosition everywhereAleksey Kladov2018-11-055-116/+76
|
* rename Position to FilePostionAleksey Kladov2018-11-052-9/+9
|
* Fully add inline modules to module treeAleksey Kladov2018-11-055-34/+85
|
* Submodule is enumAleksey Kladov2018-11-053-21/+67
|
* collect all submodulesAleksey Kladov2018-11-052-20/+30
|
* submodules works with module sourcesAleksey Kladov2018-11-052-13/+20
|
* use module_for_sourceAleksey Kladov2018-11-053-12/+8
|
* Introduce modules_from_source fnAleksey Kladov2018-11-051-6/+6
|
* Use Default everywhereAleksey Kladov2018-11-044-20/+20
|
* Don't order import alphabeticalAleksey Kladov2018-11-011-4/+4
| | | | | alphabetical ordering is no more consistent, and much less useful then the ordering which arises naturally when you add import.
* Dead codeAleksey Kladov2018-11-011-41/+0
|
* update salsaAleksey Kladov2018-11-013-33/+43
|
* Some docsAleksey Kladov2018-11-011-0/+12
|
* Add inline sourceAleksey Kladov2018-11-015-46/+93
|
* Introduce ModuleSourceAleksey Kladov2018-11-013-11/+40
|
* Use From to get an owned ASTAleksey Kladov2018-11-011-2/+1
|
* remove SyntaxPtrDatabaseAleksey Kladov2018-11-014-19/+12
|
* Fix testAleksey Kladov2018-10-311-0/+1
|
* Speedup fmtAleksey Kladov2018-10-311-6/+1
|
* RemoveDeadCodeAleksey Kladov2018-10-311-17/+0
|
* Reformat allAleksey Kladov2018-10-3116-230/+278
|
* Simplify find_all_refs by always resolving a ast::BindPatJeremy A. Kolb2018-10-311-32/+16
|
* Add DeclarationDescriptor and ReferenceDescriptorJeremy A. Kolb2018-10-313-4/+77
| | | | | Fixes #142 Fixes #146
* Merge #167bors[bot]2018-10-312-3/+204
|\ | | | | | | | | | | | | | | | | | | | | | | 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]>
| * Useful comments from function signaturesJeremy A. Kolb2018-10-312-3/+204
| |
* | Add MockAnalysis to make testing easierAleksey Kladov2018-10-316-71/+146
| |
* | Prevent panic by initializing LibrariesQueryJeremy A. Kolb2018-10-311-0/+2
|/
* Merge #177bors[bot]2018-10-313-3/+3
|\ | | | | | | | | | | | | | | 177: Librariese -> Libraries r=matklad a=kjeremy Co-authored-by: Jeremy A. Kolb <[email protected]>
| * Fix typoJeremy A. Kolb2018-10-313-3/+3
| |
* | Merge #176bors[bot]2018-10-3114-161/+1340
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]>
| * | Move completion to ra_analysisAleksey Kladov2018-10-316-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.