Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove fixme | Aleksey Kladov | 2019-03-17 | 1 | -2/+1 |
| | |||||
* | remove old macro support | Aleksey Kladov | 2019-03-17 | 8 | -261/+95 |
| | |||||
* | rename ModuleId -> CrateModuleId | Aleksey Kladov | 2019-03-17 | 8 | -39/+40 |
| | |||||
* | fix error on wrong path | Aleksey Kladov | 2019-03-17 | 4 | -12/+43 |
| | |||||
* | log time | Aleksey Kladov | 2019-03-17 | 1 | -0/+2 |
| | |||||
* | Reorganize name resolution | Aleksey Kladov | 2019-03-17 | 14 | -522/+481 |
| | |||||
* | hack around non-terminating macro expansion | Aleksey Kladov | 2019-03-17 | 1 | -0/+14 |
| | |||||
* | remove lower module | Aleksey Kladov | 2019-03-17 | 12 | -264/+48 |
| | |||||
* | remove ItemMap | Aleksey Kladov | 2019-03-17 | 7 | -569/+59 |
| | |||||
* | move tests over to crate-def-map | Aleksey Kladov | 2019-03-17 | 9 | -850/+689 |
| | |||||
* | Replace module_tree with CrateDefMap | Aleksey Kladov | 2019-03-17 | 16 | -511/+333 |
| | |||||
* | add name resolution from the old impl | Aleksey Kladov | 2019-03-17 | 9 | -185/+739 |
| | | | | unlike the old impl, this also handles macro imports across crates | ||||
* | add skeleton for macro-aware name resolutions | Aleksey Kladov | 2019-03-17 | 8 | -9/+773 |
| | |||||
* | Move the primary assist fn to the top of the file | Igor Matuszewski | 2019-03-16 | 1 | -30/+30 |
| | |||||
* | Provide assist when cursor is immediately outside impl item block | Igor Matuszewski | 2019-03-16 | 1 | -14/+18 |
| | |||||
* | Do a cleanup/legibility pass | Igor Matuszewski | 2019-03-16 | 1 | -21/+21 |
| | |||||
* | Take into account parent indent when filling trait members | Igor Matuszewski | 2019-03-16 | 1 | -9/+41 |
| | |||||
* | Simplify trait resolution fragment | Igor Matuszewski | 2019-03-16 | 1 | -6/+3 |
| | |||||
* | Ignore unnamed trait fns and add more tests | Igor Matuszewski | 2019-03-16 | 1 | -2/+70 |
| | |||||
* | Simplify calculation of missing functions | Igor Matuszewski | 2019-03-16 | 1 | -9/+2 |
| | | | | | | Asymptotically computing a set difference is faster but in the average case we won't have more than ~10 functions. Also prefer not using hash sets as these may yield nondeterministic results. | ||||
* | Properly support the case when the cursor is inside an empty block or outside | Igor Matuszewski | 2019-03-16 | 1 | -15/+44 |
| | |||||
* | Redo indent calculation when adding missing impl members | Igor Matuszewski | 2019-03-16 | 1 | -9/+21 |
| | |||||
* | Implement a simple working assist | Igor Matuszewski | 2019-03-16 | 1 | -13/+59 |
| | |||||
* | Calculate missing functions from impl body | Igor Matuszewski | 2019-03-16 | 1 | -1/+62 |
| | |||||
* | Add 'add_missing_impl_members' assist stub | Igor Matuszewski | 2019-03-16 | 2 | -0/+43 |
| | |||||
* | Remove FnSig from FnDef type | Florian Diebold | 2019-03-16 | 4 | -21/+26 |
| | | | | | It doesn't need to be in there since it's just information from the def. Another step towards aligning Ty with Chalk's representation. | ||||
* | Refactor FnSig a bit | Florian Diebold | 2019-03-16 | 3 | -70/+104 |
| | |||||
* | Some more Ty displaying cleanup | Florian Diebold | 2019-03-16 | 2 | -35/+33 |
| | |||||
* | Replace Display by a pretty printing trait for Ty | Florian Diebold | 2019-03-16 | 7 | -60/+136 |
| | | | | | This allows removing the names from Adt and FnDef (and more later), as a first step towards aligning more with chalk's Ty :) | ||||
* | sort navigations to make tests stable | Aleksey Kladov | 2019-03-14 | 1 | -1/+2 |
| | |||||
* | Add test for minus in inner pattern | Michael Chesser | 2019-03-14 | 2 | -0/+347 |
| | |||||
* | Allow MINUS at the start of a pattern. | Michael Chesser | 2019-03-14 | 1 | -1/+1 |
| | |||||
* | derive Hash for ra_hir::ModuleDef | pcpthm | 2019-03-14 | 1 | -1/+1 |
| | |||||
* | Merge #958 | bors[bot] | 2019-03-12 | 1 | -0/+2 |
|\ | | | | | | | | | | | | | | | 958: LSP: Support EnumMember and Field r=matklad a=kjeremy Co-authored-by: kjeremy <[email protected]> | ||||
| * | LSP: Support EnumMember and Field | kjeremy | 2019-03-11 | 1 | -0/+2 |
| | | |||||
* | | remove Def | Aleksey Kladov | 2019-03-12 | 2 | -6/+0 |
|/ | |||||
* | Add test for async block | Caio | 2019-03-10 | 3 | -1/+34 |
| | |||||
* | Add async keyword | Caio | 2019-03-09 | 8 | -2/+39 |
| | |||||
* | Don't default publishDecorations to true on the server | Florian Diebold | 2019-03-09 | 1 | -39/+61 |
| | | | | | | | If the client doesn't specify this explicitly, that very likely means it doesn't know about it and so we shouldn't send decorations. In particular, the recent change to this default caused decorations to be sent to emacs, resulting in a lot of warning spam. | ||||
* | Remove superfluous semicolons | kjeremy | 2019-03-08 | 1 | -5/+5 |
| | | | | | Doesn't change the result of the test but it does prevent the syntax tree from rendering. | ||||
* | Use ast::Name::text() instead of name().syntax().text() | Ville Penttinen | 2019-03-07 | 1 | -2/+2 |
| | |||||
* | Fix EnumVariants not showing properly when hovering | Ville Penttinen | 2019-03-07 | 1 | -2/+56 |
| | | | | This fixes documentation as well for EnumVariants | ||||
* | Merge #948 | bors[bot] | 2019-03-07 | 1 | -6/+11 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 948: Fix test_missing_module_code_action_in_json_project on Windows r=matklad a=vipentti The test would fail on Windows due to the paths not being properly escaped for JSON. In addition adds extra braces around the fn main to actually introduce braces in the file. Co-authored-by: Ville Penttinen <[email protected]> | ||||
| * | Fix test_missing_module_code_action_in_json_project on Windows | Ville Penttinen | 2019-03-07 | 1 | -6/+11 |
| | | | | | | | | | | | | | | | | The test would fail on Windows due to the paths not being properly escaped for JSON. In addition adds extra braces around the fn main to actually introduce braces in the file. | ||||
* | | Specify derive feature for serde | pcpthm | 2019-03-07 | 2 | -2/+2 |
| | | |||||
* | | Add support for goto definition and hover on Self | Ville Penttinen | 2019-03-07 | 4 | -26/+190 |
|/ | | | | This fixes #943 | ||||
* | when loading workspace, say how many packages were loaded | Aleksey Kladov | 2019-03-07 | 3 | -22/+21 |
| | | | | | this should help to debug configuration issues, when you see `0 packages loaded` or something like that. | ||||
* | Merge #939 | bors[bot] | 2019-03-07 | 8 | -93/+309 |
|\ | | | | | | | | | | | | | | | | | | | | | 939: Initial implementation of project-lock.json. r=davidtwco a=davidtwco Fixes #792. This PR adds a initial implementation of project-lock.json, a build system agnostic method of specifying the crate graph and roots. Co-authored-by: David Wood <[email protected]> | ||||
| * | Remove rust-project.json test w/ dependencies. | David Wood | 2019-03-07 | 1 | -43/+0 |
| | | |||||
| * | Add test demonstrating logic for handling deps. | David Wood | 2019-03-07 | 1 | -1/+44 |
| | |