Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a test for self field completion | Florian Diebold | 2019-01-04 | 1 | -4/+4 |
| | | | | Needed to add a default crate graph in the analysis for that. | ||||
* | parse doc comment for items | csmoe | 2019-01-04 | 1 | -1/+2 |
| | |||||
* | index stuff produced by macros | Aleksey Kladov | 2019-01-03 | 1 | -1/+18 |
| | |||||
* | don't create many compilation units for tests | Aleksey Kladov | 2019-01-03 | 3 | -13/+5 |
| | |||||
* | fix the test | Aleksey Kladov | 2019-01-03 | 1 | -1/+1 |
| | |||||
* | Merge #409 | bors[bot] | 2019-01-03 | 1 | -0/+79 |
|\ | | | | | | | | | | | | | | | 409: Add Analysis#teype_of test r=matklad a=h-michael Co-authored-by: Hirokazu Hata <[email protected]> | ||||
| * | Deive type_of test from tests | Hirokazu Hata | 2019-01-03 | 2 | -17/+80 |
| | | |||||
| * | Add Analysis#teype_of test | Hirokazu Hata | 2019-01-03 | 1 | -1/+17 |
| | | |||||
* | | use LocalPtr in navigation target | Aleksey Kladov | 2019-01-03 | 1 | -5/+5 |
|/ | |||||
* | simplify runnables | Aleksey Kladov | 2019-01-02 | 1 | -50/+0 |
| | |||||
* | fix tests | Aleksey Kladov | 2019-01-02 | 1 | -5/+5 |
| | |||||
* | Make modules with tests runnable | Jan Jansen | 2018-12-31 | 2 | -0/+168 |
| | | | | Fixes #154 | ||||
* | Test renames | DJMcNab | 2018-12-30 | 1 | -1/+92 |
| | |||||
* | fix tests | gfreezy | 2018-12-24 | 1 | -1/+1 |
| | |||||
* | add serverity to vscode diagnostics | gfreezy | 2018-12-23 | 1 | -1/+2 |
| | |||||
* | organize completion tests better | Aleksey Kladov | 2018-12-21 | 1 | -60/+0 |
| | |||||
* | use root-relative paths | Aleksey Kladov | 2018-12-21 | 1 | -1/+1 |
| | |||||
* | 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 |