Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Update references test output | Lukas Wirth | 2021-02-12 | 1 | -2/+2 | |
| | | ||||||
* | | Use NameLike in FileReference directly as its not exported from ide anymore | Lukas Wirth | 2021-02-12 | 3 | -14/+8 | |
| | | ||||||
* | | Refactor reference searching to work with the ast | Lukas Wirth | 2021-02-12 | 4 | -256/+310 | |
| | | ||||||
* | | Remove unused ReferenceSearchResult functions | Lukas Wirth | 2021-02-12 | 1 | -24/+5 | |
| | | ||||||
* | | Merge #7644 | bors[bot] | 2021-02-12 | 2 | -4/+3 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 7644: Primitive completion r=jonas-schievink a=jonas-schievink Fixes https://github.com/rust-analyzer/rust-analyzer/issues/7642 Co-authored-by: Jonas Schievink <[email protected]> | |||||
| * | | Wrap `BuiltinType` in code model | Jonas Schievink | 2021-02-11 | 2 | -4/+3 | |
| | | | ||||||
* | | | Pin Rust to 1.49.0 on CI | Jonas Schievink | 2021-02-12 | 1 | -3/+3 | |
|/ / | ||||||
* | | Update fixed tests | Jonas Schievink | 2021-02-10 | 1 | -0/+1 | |
| | | ||||||
* | | Resolve TupleStructPat in SourceAnalyzer::resolve_path | Lukas Wirth | 2021-02-10 | 1 | -0/+23 | |
| | | ||||||
* | | Add parsing benchmark | Aleksey Kladov | 2021-02-09 | 1 | -5/+32 | |
| | | ||||||
* | | Infra for "unit" benchmarking | Aleksey Kladov | 2021-02-09 | 1 | -10/+12 | |
| | | ||||||
* | | restore accidentally deleted test | Aleksey Kladov | 2021-02-09 | 1 | -0/+13 | |
| | | ||||||
* | | More precise navigation to parent | Aleksey Kladov | 2021-02-09 | 3 | -10/+13 | |
| | | ||||||
* | | Cleanup tests | Aleksey Kladov | 2021-02-09 | 3 | -55/+53 | |
| | | ||||||
* | | Cleanup test | Aleksey Kladov | 2021-02-09 | 1 | -20/+21 | |
| | | ||||||
* | | Modernize tests | Aleksey Kladov | 2021-02-09 | 1 | -197/+169 | |
| | | ||||||
* | | AdtDef -> Adt | Aleksey Kladov | 2021-02-07 | 1 | -5/+5 | |
| | | ||||||
* | | Increase Highlights highlight range to covering element | Lukas Wirth | 2021-02-04 | 1 | -1/+1 | |
| | | ||||||
* | | Show alias underlying type | lumenian | 2021-02-02 | 1 | -1/+5 | |
| | | ||||||
* | | Return inner attributes of outline mod declarations in `attrs_query` | Lukas Wirth | 2021-01-31 | 1 | -0/+16 | |
| | | ||||||
* | | Classify function calls as functions when shadowed by types | Lukas Wirth | 2021-01-28 | 2 | -0/+8 | |
| | | ||||||
* | | Merge #7465 | bors[bot] | 2021-01-27 | 1 | -1/+19 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7465: Only hide parameter hints for path, field and methodcall expressions r=SomeoneToIgnore a=Veykril Doing this check for other expressions makes little sense to me. Fixes #7458 Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | | Only hide parameter hints for path, field and methodcall expressions | Lukas Wirth | 2021-01-27 | 1 | -1/+19 | |
| | | | ||||||
* | | | Make always-assert crate reusable | Aleksey Kladov | 2021-01-26 | 1 | -3/+3 | |
|/ / | ||||||
* | | Shorten hir::TypeParam full_range in NavigationTarget | Lukas Wirth | 2021-01-26 | 2 | -4/+23 | |
| | | ||||||
* | | Support unions in symbol search | Lukas Wirth | 2021-01-24 | 1 | -0/+1 | |
| | | ||||||
* | | Remove use of SourceFileEdit | Phil Ellison | 2021-01-23 | 1 | -2/+1 | |
| | | ||||||
* | | cargo fmt | Phil Ellison | 2021-01-23 | 1 | -1/+5 | |
| | | ||||||
* | | Address review comments | Phil Ellison | 2021-01-23 | 1 | -9/+4 | |
| | | ||||||
* | | cargo fmt | Phil Ellison | 2021-01-23 | 1 | -2/+7 | |
| | | ||||||
* | | Implement fix, add tests | Phil Ellison | 2021-01-23 | 1 | -18/+11 | |
| | | ||||||
* | | Add diagnostic for filter_map followed by next | Phil Ellison | 2021-01-23 | 2 | -1/+35 | |
| | | ||||||
* | | Merge #7353 | bors[bot] | 2021-01-22 | 8 | -35/+12 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7353: Add LifetimeParam and ConstParam to CompletionItemKind r=matklad a=Veykril Adds `LifetimeParam` and `ConstParam` to `CompletionItemKind` and maps them both to `TypeParam` in the protocol conversion as there are no equivalents, so nothing really changes there. `ConstParam` could be mapped to `Const` I guess but I'm split on whether that would be better? Additions were solely inspired by (the single) test output for const params. Also sorts the variants of `CompletionItemKind` and its to_proto match. Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | | Move SymbolKind to ide_db | Lukas Wirth | 2021-01-20 | 8 | -35/+12 | |
| | | | ||||||
* | | | Merge #7348 | bors[bot] | 2021-01-22 | 2 | -3/+49 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7348: Fix broken link in intra-doc r=edwin0cheng a=sasurau4 Fix #5546 The intra-doc link doesn't work fine for trait associated method. Co-authored-by: Daiki Ihara <[email protected]> | |||||
| * | | | Fix broken link in intra-doc | Daiki Ihara | 2021-01-22 | 2 | -3/+49 | |
| | | | | ||||||
* | | | | Cleanup tests | Aleksey Kladov | 2021-01-22 | 1 | -12/+12 | |
| | | | | ||||||
* | | | | Remove index based fallback for goto def | Aleksey Kladov | 2021-01-22 | 1 | -48/+18 | |
|/ / / | | | | | | | | | | | | | We are so precise that the fallback creates more confusion, when you can goto def on an unresolved reference. | |||||
* | | | Include `countme` crate to count important data structures. | Aleksey Kladov | 2021-01-21 | 1 | -0/+2 | |
| | | | ||||||
* | | | Treat BlockExpr as a potential module origin | Jonas Schievink | 2021-01-20 | 4 | -0/+9 | |
| | | | ||||||
* | | | Avoid intermediate collections | Aleksey Kladov | 2021-01-20 | 1 | -26/+20 | |
| | | | ||||||
* | | | Don't show runnable suggestions for other files | Aleksey Kladov | 2021-01-20 | 1 | -3/+32 | |
| | | | | | | | | | | | | | | | It't be actually great to have these once we have run anything dialog, but for run the thing at point it makes sense to show a limited set. | |||||
* | | | . | Aleksey Kladov | 2021-01-19 | 7 | -10/+9 | |
|/ / | ||||||
* | | Merge #7321 | bors[bot] | 2021-01-19 | 2 | -73/+136 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 7321: Support runnables in macros r=matklad a=edwin0cheng fixes #4771 Co-authored-by: Edwin Cheng <[email protected]> | |||||
| * | | Support runnables in macros | Edwin Cheng | 2021-01-19 | 2 | -73/+136 | |
| | | | ||||||
* | | | Remove obsolete RangeInfo usage in references | Lukas Wirth | 2021-01-18 | 3 | -38/+20 | |
| | | | ||||||
| | | | ||||||
| \ \ | ||||||
*-. \ \ | Merge #7297 #7338 | bors[bot] | 2021-01-18 | 2 | -4/+6 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7297: Propose trait associated items and autoimport traits on completion r=matklad a=SomeoneToIgnore ![trait_imports](https://user-images.githubusercontent.com/2690773/104819998-6faeb480-583a-11eb-8b45-b7351b51b90e.gif) Closes #7248 7338: Parse `impl const Trait` r=Veykril a=Veykril Closes #7313 bors r+ Co-authored-by: Kirill Bulatov <[email protected]> Co-authored-by: Lukas Wirth <[email protected]> | |||||
| * | | | | Add flyimport completion for trait assoc items | Kirill Bulatov | 2021-01-16 | 2 | -4/+6 | |
| | |/ / | |/| | | ||||||
* | | | | Remove obsolete RangeInfo usage in rename | Lukas Wirth | 2021-01-18 | 3 | -168/+150 | |
| | | | | ||||||
* | | | | Merge #7332 | bors[bot] | 2021-01-18 | 2 | -164/+210 | |
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | 7332: Rename reference search uses ide_db::search directly r=matklad a=Veykril https://github.com/rust-analyzer/rust-analyzer/pull/7251#discussion_r556644241 Co-authored-by: Lukas Wirth <[email protected]> |