aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/tests
Commit message (Collapse)AuthorAgeFilesLines
* Test renamesDJMcNab2018-12-301-1/+92
|
* fix testsgfreezy2018-12-241-1/+1
|
* add serverity to vscode diagnosticsgfreezy2018-12-231-1/+2
|
* organize completion tests betterAleksey Kladov2018-12-211-60/+0
|
* use root-relative pathsAleksey Kladov2018-12-211-1/+1
|
* Refactor symbol resolve APIAleksey Kladov2018-12-081-3/+12
| | | | | Introduce ReferenceResolution to avoid nesting to many non-nominal types.
* Add a better text for hover and stop duplicating work done in ↵DJMcNab2018-12-081-6/+6
| | | | approximatelly_resolve_symbol
* modernize even moreAleksey Kladov2018-12-061-7/+0
|
* restore index-based gotodefAleksey Kladov2018-12-051-0/+17
|
* move db basics to ra_dbAleksey Kladov2018-11-281-1/+1
| | | | This should allow to move hir to a separate crate
* move resolve_local to ScopesAleksey Kladov2018-11-271-2/+2
|
* switch completion to new scopeAleksey Kladov2018-11-211-4/+4
|
* Complete paths in use treesAleksey Kladov2018-11-071-0/+41
|
* Use FilePosition everywhereAleksey Kladov2018-11-051-19/+7
|
* Fully add inline modules to module treeAleksey Kladov2018-11-051-2/+21
|
* Reformat allAleksey Kladov2018-10-311-32/+73
|
* Add DeclarationDescriptor and ReferenceDescriptorJeremy A. Kolb2018-10-311-0/+11
| | | | | Fixes #142 Fixes #146
* Merge #167bors[bot]2018-10-311-0/+147
|\ | | | | | | | | | | | | | | | | | | | | | | 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-311-0/+147
| |
* | Add MockAnalysis to make testing easierAleksey Kladov2018-10-311-48/+57
|/
* Move completion to ra_analysisAleksey Kladov2018-10-311-50/+6
| | | | | | 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.
* Encapsulate CrateGraph a bitAleksey Kladov2018-10-251-8/+5
|
* Store all the data in the Salsa DatabaseAleksey Kladov2018-10-251-7/+13
|
* Complete crate:: pathsAleksey Kladov2018-10-241-0/+14
|
* revive the testAleksey Kladov2018-10-241-6/+6
|
* Introduce ModuleIdAleksey Kladov2018-10-231-6/+6
| | | | | | | 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.
* Fix testsAleksey Kladov2018-10-201-17/+14
|
* Implement Find All References for local variablesJeremy A. Kolb2018-10-181-0/+42
|
* Cargo FormatJeremy A. Kolb2018-10-161-48/+34
| | | | Run `cargo fmt` and ignore generated files
* fix testsAleksey Kladov2018-10-151-1/+1
|
* A FnDescriptor shouldn't exist without a nameJeremy A. Kolb2018-10-121-5/+5
|
* Language Server: textDocument/signatureHelpJeremy A. Kolb2018-10-111-4/+98
| | | | | | | | | | Implements a pretty barebones function signature help mechanism in the language server. Users can use `Analysis::resolve_callback()` to get basic information about a call site. Fixes #102
* Replace HashMap, HashSet with FxHashMap and FxHashSetMuhammad Mominul Huque2018-10-111-2/+3
|
* rename all thingsAleksey Kladov2018-09-161-0/+146