Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor symbol resolve API | Aleksey Kladov | 2018-12-08 | 1 | -3/+12 |
| | | | | | Introduce ReferenceResolution to avoid nesting to many non-nominal types. | ||||
* | Add a better text for hover and stop duplicating work done in ↵ | DJMcNab | 2018-12-08 | 1 | -6/+6 |
| | | | | approximatelly_resolve_symbol | ||||
* | modernize even more | Aleksey Kladov | 2018-12-06 | 1 | -7/+0 |
| | |||||
* | restore index-based gotodef | Aleksey Kladov | 2018-12-05 | 1 | -0/+17 |
| | |||||
* | move db basics to ra_db | Aleksey Kladov | 2018-11-28 | 1 | -1/+1 |
| | | | | This should allow to move hir to a separate crate | ||||
* | move resolve_local to Scopes | Aleksey Kladov | 2018-11-27 | 1 | -2/+2 |
| | |||||
* | switch completion to new scope | Aleksey Kladov | 2018-11-21 | 1 | -4/+4 |
| | |||||
* | Complete paths in use trees | Aleksey Kladov | 2018-11-07 | 1 | -0/+41 |
| | |||||
* | Use FilePosition everywhere | Aleksey Kladov | 2018-11-05 | 1 | -19/+7 |
| | |||||
* | Fully add inline modules to module tree | Aleksey Kladov | 2018-11-05 | 1 | -2/+21 |
| | |||||
* | Reformat all | Aleksey Kladov | 2018-10-31 | 1 | -32/+73 |
| | |||||
* | Add DeclarationDescriptor and ReferenceDescriptor | Jeremy A. Kolb | 2018-10-31 | 1 | -0/+11 |
| | | | | | Fixes #142 Fixes #146 | ||||
* | Merge #167 | bors[bot] | 2018-10-31 | 1 | -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 signatures | Jeremy A. Kolb | 2018-10-31 | 1 | -0/+147 |
| | | |||||
* | | Add MockAnalysis to make testing easier | Aleksey Kladov | 2018-10-31 | 1 | -48/+57 |
|/ | |||||
* | Move completion to ra_analysis | Aleksey Kladov | 2018-10-31 | 1 | -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 bit | Aleksey Kladov | 2018-10-25 | 1 | -8/+5 |
| | |||||
* | Store all the data in the Salsa Database | Aleksey Kladov | 2018-10-25 | 1 | -7/+13 |
| | |||||
* | Complete crate:: paths | Aleksey Kladov | 2018-10-24 | 1 | -0/+14 |
| | |||||
* | revive the test | Aleksey Kladov | 2018-10-24 | 1 | -6/+6 |
| | |||||
* | Introduce ModuleId | Aleksey Kladov | 2018-10-23 | 1 | -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 tests | Aleksey Kladov | 2018-10-20 | 1 | -17/+14 |
| | |||||
* | Implement Find All References for local variables | Jeremy A. Kolb | 2018-10-18 | 1 | -0/+42 |
| | |||||
* | Cargo Format | Jeremy A. Kolb | 2018-10-16 | 1 | -48/+34 |
| | | | | Run `cargo fmt` and ignore generated files | ||||
* | fix tests | Aleksey Kladov | 2018-10-15 | 1 | -1/+1 |
| | |||||
* | A FnDescriptor shouldn't exist without a name | Jeremy A. Kolb | 2018-10-12 | 1 | -5/+5 |
| | |||||
* | Language Server: textDocument/signatureHelp | Jeremy A. Kolb | 2018-10-11 | 1 | -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 FxHashSet | Muhammad Mominul Huque | 2018-10-11 | 1 | -2/+3 |
| | |||||
* | rename all things | Aleksey Kladov | 2018-09-16 | 1 | -0/+146 |