Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | make FileSymbol private | Aleksey Kladov | 2019-01-02 | 2 | -8/+7 | |
| | | ||||||
| * | use navigation target in API | Aleksey Kladov | 2019-01-02 | 2 | -7/+19 | |
| | | ||||||
| * | introduce navigation target | Aleksey Kladov | 2019-01-02 | 2 | -8/+23 | |
| | | ||||||
| * | move symbols to ra_analysis | Aleksey Kladov | 2019-01-02 | 3 | -8/+124 | |
| | | ||||||
* | | rename MFileId -> HirFileId | Aleksey Kladov | 2019-01-01 | 3 | -4/+4 | |
| | | ||||||
* | | add items from macros to modules | Aleksey Kladov | 2019-01-01 | 1 | -0/+1 | |
| | | ||||||
* | | hard-code expansion of query_group | Aleksey Kladov | 2019-01-01 | 1 | -1/+23 | |
| | | ||||||
* | | rename | Aleksey Kladov | 2019-01-01 | 1 | -4/+4 | |
| | | ||||||
* | | move more macros to hir | Aleksey Kladov | 2019-01-01 | 5 | -43/+14 | |
| | | ||||||
* | | use macros database in analysis | Aleksey Kladov | 2019-01-01 | 4 | -62/+22 | |
|/ | ||||||
* | place complete_use_tree_keyword in the same mod with complete_expr_keyword | gfreezy | 2019-01-01 | 3 | -77/+67 | |
| | ||||||
* | move to a seperate complete_use_tree_keyword mod | gfreezy | 2019-01-01 | 3 | -64/+77 | |
| | ||||||
* | complete "self" and "super" | gfreezy | 2019-01-01 | 1 | -20/+44 | |
| | ||||||
* | complete "use crate" for "use cr" too | gfreezy | 2019-01-01 | 1 | -2/+14 | |
| | ||||||
* | complete crate in use stmt | gfreezy | 2019-01-01 | 1 | -0/+29 | |
| | ||||||
* | Merge #395 | bors[bot] | 2018-12-31 | 2 | -14/+19 | |
|\ | | | | | | | | | | | | | | | 395: generalize r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | generalize highlighting to work with nodes | Aleksey Kladov | 2018-12-31 | 1 | -2/+2 | |
| | | ||||||
| * | generalize extend selection to work with nodes | Aleksey Kladov | 2018-12-31 | 1 | -12/+17 | |
| | | ||||||
* | | Make modules with tests runnable | Jan Jansen | 2018-12-31 | 3 | -4/+104 | |
|/ | | | | Fixes #154 | |||||
* | Merge #375 | bors[bot] | 2018-12-30 | 2 | -2/+31 | |
|\ | | | | | | | | | | | | | | | | | | | 375: Move renames into ra_analysis and rename the correct range r=DJMcNab a=DJMcNab Fixes #230. Supersedes #235. TODO: add some tests for this Co-authored-by: DJMcNab <[email protected]> | |||||
| * | Move renames into ra_analysis | DJMcNab | 2018-12-30 | 2 | -2/+31 | |
| | | ||||||
* | | refine semi completion | Aleksey Kladov | 2018-12-30 | 2 | -16/+34 | |
| | | ||||||
* | | semies after break&continue | Aleksey Kladov | 2018-12-30 | 1 | -4/+33 | |
|/ | ||||||
* | add `;` to last return in block | Aleksey Kladov | 2018-12-30 | 2 | -15/+46 | |
| | ||||||
* | don't add () in use items | Aleksey Kladov | 2018-12-30 | 3 | -10/+32 | |
| | ||||||
* | use completion context when creating completion | Aleksey Kladov | 2018-12-30 | 3 | -8/+8 | |
| | ||||||
* | Merge #358 | bors[bot] | 2018-12-30 | 2 | -0/+6 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | 358: Add support for formatting entire document with rustfmt r=matklad a=aleksanb Attempting to format a document when rustfmt isn't installed will result in an error being returned to the frontend. An alternative implementation would be returning zero replacements. Part of https://github.com/rust-analyzer/rust-analyzer/issues/160. Co-authored-by: Aleksander Vognild Burkow <[email protected]> | |||||
| * | Add support for formatting entire document with rustfmt | Aleksander Vognild Burkow | 2018-12-29 | 2 | -0/+6 | |
| | | | | | | | | | | | | Attempting to format a document when rustfmt isn't installed will result in an error being returned to the frontend. An alternative implementation would be returning zero replacements. | |||||
* | | add paramthesis when completing functions | Aleksey Kladov | 2018-12-30 | 2 | -10/+39 | |
|/ | ||||||
* | completion for enum variants | Aleksey Kladov | 2018-12-28 | 2 | -9/+31 | |
| | ||||||
* | extend selection works with macros | Aleksey Kladov | 2018-12-28 | 3 | -4/+68 | |
| | ||||||
* | move macro to a separate module | Aleksey Kladov | 2018-12-28 | 3 | -60/+67 | |
| | ||||||
* | switch to FileRange | Aleksey Kladov | 2018-12-28 | 2 | -3/+16 | |
| | ||||||
* | introduce FileRange | Aleksey Kladov | 2018-12-28 | 2 | -18/+22 | |
| | ||||||
* | highlight macro idents | Aleksey Kladov | 2018-12-28 | 1 | -1/+1 | |
| | ||||||
* | super simplistic macro expansion | Aleksey Kladov | 2018-12-28 | 1 | -1/+108 | |
| | ||||||
* | add macro-call node | Aleksey Kladov | 2018-12-28 | 1 | -2/+4 | |
| | ||||||
* | move highlightning to a separate file | Aleksey Kladov | 2018-12-28 | 2 | -2/+14 | |
| | ||||||
* | simplify | Aleksey Kladov | 2018-12-27 | 1 | -6/+1 | |
| | ||||||
* | dead code | Aleksey Kladov | 2018-12-27 | 2 | -21/+1 | |
| | ||||||
* | remove FnId | Aleksey Kladov | 2018-12-27 | 2 | -4/+0 | |
| | ||||||
* | use names everywhere | Aleksey Kladov | 2018-12-27 | 1 | -18/+16 | |
| | ||||||
* | add function to completion ctx | Aleksey Kladov | 2018-12-27 | 5 | -21/+18 | |
| | ||||||
* | Merge #332 | bors[bot] | 2018-12-27 | 6 | -24/+177 | |
|\ | | | | | | | | | | | | | | | | | | | 332: Struct types r=matklad a=flodiebold Infer types for struct fields, and add basic field completions. There's also some code for enums, but I focused on getting structs working. There's still ways to go before this becomes useful: There's no autoderef (or even reference types) and no inference for `self`, for example. Co-authored-by: Florian Diebold <[email protected]> | |||||
| * | Resolve field types lazily | Florian Diebold | 2018-12-25 | 1 | -0/+1 | |
| | | | | | | | | I.e. not already when getting the HIR for the struct. | |||||
| * | Add a hir::TypeRef as an intermediate between ast::TypeRef and ty::Ty | Florian Diebold | 2018-12-25 | 1 | -1/+1 | |
| | | ||||||
| * | Determine receiver for completion in a more robust way | Florian Diebold | 2018-12-25 | 2 | -21/+31 | |
| | | | | | | | | Also rename a parameter. | |||||
| * | Implement basic completion for fields | Florian Diebold | 2018-12-25 | 4 | -8/+133 | |
| | | ||||||
| * | Do name resolution by namespace (types/values) | Florian Diebold | 2018-12-25 | 3 | -13/+28 | |
| | | ||||||
| * | Add basic HIR and types for structs/enums | Florian Diebold | 2018-12-25 | 1 | -0/+2 | |
| | |