Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | Move limit check down | Jonas Schievink | 2020-06-10 | 1 | -1/+1 | |
| | ||||||
* | ImportsLocator: use ImportMap for non-local crates | Jonas Schievink | 2020-06-10 | 1 | -22/+24 | |
| | ||||||
* | symbol_index: allow querying a single crate | Jonas Schievink | 2020-06-10 | 1 | -9/+34 | |
| | ||||||
* | Fix the symbol query limit | Jonas Schievink | 2020-06-10 | 1 | -3/+4 | |
| | ||||||
* | Profile `world_symbols` | Jonas Schievink | 2020-06-10 | 1 | -0/+2 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2020-06-08 | 1 | -16/+7 | |
| | ||||||
* | Swap `into_definition` and `definition` semantics for `FieldShorthand` variant | unexge | 2020-06-08 | 1 | -2/+2 | |
| | ||||||
* | Add `FieldShorthand` variant to `NameClass` | unexge | 2020-06-08 | 1 | -26/+30 | |
| | ||||||
* | Add goto def for enum variant field | unexge | 2020-06-06 | 1 | -0/+6 | |
| | ||||||
* | Merge #4689 | bors[bot] | 2020-06-05 | 1 | -0/+1 | |
|\ | | | | | | | | | | | | | | | | | | | | | 4689: Implement return position impl trait / opaque type support r=matklad a=flodiebold This is working, but I'm not that happy with how the lowering works. We might need an additional representation between `TypeRef` and `Ty` where names are resolved and `impl Trait` bounds are separated out, but things like inference variables don't exist and `impl Trait` is always represented the same way. Also note that this doesn't implement correct handling of RPIT *inside* the function (which involves turning the `impl Trait`s into variables and creating obligations for them). That intermediate representation might help there as well. Co-authored-by: Florian Diebold <[email protected]> Co-authored-by: Florian Diebold <[email protected]> | |||||
| * | Review fixes | Florian Diebold | 2020-06-05 | 1 | -0/+1 | |
| | | ||||||
* | | Merge #4760 | bors[bot] | 2020-06-05 | 1 | -9/+2 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4760: Minimize FileLoader interface r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | Minimize FileLoader interface | Aleksey Kladov | 2020-06-05 | 1 | -9/+2 | |
| |/ | ||||||
| | | ||||||
| \ | ||||||
*-. \ | Merge #4729 #4748 | bors[bot] | 2020-06-05 | 2 | -1/+2 | |
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4729: Hover actions r=matklad a=vsrs This PR adds a `hoverActions` LSP extension and a `Go to Implementations` action as an example: ![hover_actions_impl](https://user-images.githubusercontent.com/62505555/83335732-6d9de280-a2b7-11ea-8cc3-75253d062fe0.gif) 4748: Add an `ImportMap` and use it to resolve item paths in `find_path` r=matklad a=jonas-schievink Removes the "go faster" queries I added in https://github.com/rust-analyzer/rust-analyzer/pull/4501 and https://github.com/rust-analyzer/rust-analyzer/pull/4506. I've checked this PR on the rustc code base and the assists are still fast. This should fix https://github.com/rust-analyzer/rust-analyzer/issues/4515. Note that this does introduce a change in behavior: We now always refer to items defined in external crates using paths through the external crate. Previously we could also use a local path (if for example the extern crate was reexported locally), as seen in the changed test. If that is undesired I can fix that, but the test didn't say why the previous behavior would be preferable. Co-authored-by: vsrs <[email protected]> Co-authored-by: Jonas Schievink <[email protected]> Co-authored-by: Jonas Schievink <[email protected]> | |||||
| | * | Measure memory usage of ImportMap | Jonas Schievink | 2020-06-05 | 1 | -0/+1 | |
| | | | ||||||
| * | | Add hover actions as LSP extension | vsrs | 2020-06-05 | 1 | -1/+1 | |
| |/ | ||||||
* | | More direct signature for resolve_path | Aleksey Kladov | 2020-06-05 | 1 | -2/+2 | |
| | | ||||||
* | | Rename resolve_relative_path -> resolve_path | Aleksey Kladov | 2020-06-05 | 1 | -6/+2 | |
|/ | | | | For things like `concant!(env!("OUT_DIR"))`, we need to support abs paths | |||||
* | recursively search submodules | Brennan Vincent | 2020-05-31 | 1 | -18/+22 | |
| | ||||||
* | Generate features docs from source | Aleksey Kladov | 2020-05-31 | 1 | -0/+21 | |
| | ||||||
* | KISS SourceChange | Aleksey Kladov | 2020-05-22 | 1 | -59/+20 | |
| | | | | | | The idea behind requiring the label is a noble one, but we are not really using it consistently anyway, and it should be easy to retrofit later, should we need it. | |||||
* | Remove dead code for handling cursor positions | Aleksey Kladov | 2020-05-21 | 3 | -321/+1 | |
| | ||||||
* | Remove unused cursor positions | Aleksey Kladov | 2020-05-21 | 1 | -3/+2 | |
| | ||||||
* | Remove cross-crate marks | Aleksey Kladov | 2020-05-20 | 4 | -23/+2 | |
| | | | | | They create quite a bit of friction. Really, we should just move the tests to the same crate, rather than paper over existing split. | |||||
* | Add AssistConfig | Aleksey Kladov | 2020-05-19 | 1 | -0/+5 | |
| | ||||||
* | New definition_visibility method | Fedor Sakharov | 2020-05-11 | 1 | -13/+2 | |
| | ||||||
* | Also for consts and type aliases | Fedor Sakharov | 2020-05-11 | 1 | -0/+2 | |
| | ||||||
* | Find references to a function outside module | Fedor Sakharov | 2020-05-11 | 1 | -0/+1 | |
| | ||||||
* | Remove HasVisibility implementation | Fedor Sakharov | 2020-05-07 | 1 | -2/+5 | |
| | ||||||
* | Fix rename of enum variant visible from module | Fedor Sakharov | 2020-05-06 | 1 | -1/+4 | |
| | ||||||
* | Use SourceChange for assists | Aleksey Kladov | 2020-05-06 | 1 | -3/+3 | |
| | ||||||
* | Lift SourceChange to the ra_ide_db | Aleksey Kladov | 2020-05-06 | 2 | -0/+121 | |
| | ||||||
* | Rename AtomTextEdit -> Indel | Aleksey Kladov | 2020-05-05 | 1 | -3/+3 | |
| | ||||||
* | Fix column conversion for supplementary plane characters | Laurențiu Nicola | 2020-05-05 | 1 | -2/+15 | |
| | ||||||
* | refactor: use parent instead ancestors for use alias | Benjamin Coenen | 2020-05-04 | 1 | -1/+1 | |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
* | Merge #4269 #4293 | bors[bot] | 2020-05-04 | 2 | -0/+11 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4269: add support of use alias semantic in definition r=matklad a=bnjjj close #4202 4293: no doctests for flycheck r=matklad a=matklad bors r+ 🤖 Co-authored-by: Benjamin Coenen <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | add support of use alias semantic in definition #4202 | Benjamin Coenen | 2020-05-02 | 1 | -5/+9 | |
| | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
| * | wip | Benjamin Coenen | 2020-05-01 | 2 | -1/+8 | |
| | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
* | | Don't count start of non-ASCII characters as being inside of them | Laurențiu Nicola | 2020-05-03 | 1 | -3/+9 | |
|/ | ||||||
* | Rename StructField -> Field | Aleksey Kladov | 2020-04-25 | 2 | -17/+17 | |
| | ||||||
* | Switch to TryFrom | Aleksey Kladov | 2020-04-25 | 3 | -17/+20 | |
| | ||||||
* | Cleanups | Aleksey Kladov | 2020-04-25 | 2 | -15/+12 | |
| | ||||||
* | Convert code to text-size | Aleksey Kladov | 2020-04-25 | 3 | -56/+55 | |
| | ||||||
* | Remove SyntaxPtr::range from more places | Aleksey Kladov | 2020-04-23 | 1 | -0/+2 | |
| | ||||||
* | Fix goto definition for record patterns | Aleksey Kladov | 2020-04-18 | 2 | -0/+10 | |
| | ||||||
* | Don't expose SyntaxNodePtr impl details | Aleksey Kladov | 2020-04-16 | 1 | -1/+3 | |
| | ||||||
* | Make records grammar more orthogonal | Aleksey Kladov | 2020-04-11 | 1 | -1/+1 | |
| | | | | | | | | | | | | We used name [: expr] grammar before, now it is [name :] expr which makes things simpler | |||||
* | Fix unnecessary braces warnings | Laurențiu Nicola | 2020-04-06 | 2 | -9/+9 | |
| | ||||||
* | Reload only the properties that do not affect vfs | Kirill Bulatov | 2020-03-30 | 1 | -4/+8 | |
| | ||||||
* | Cleanup memory usage stats | Aleksey Kladov | 2020-03-25 | 1 | -2/+10 | |
| |