Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | minor: dead code | Aleksey Kladov | 2021-06-17 | 1 | -7/+0 |
| | |||||
* | internal: add default to minicore | Aleksey Kladov | 2021-06-17 | 1 | -6/+0 |
| | |||||
* | internal: remove dead code | Aleksey Kladov | 2021-06-17 | 1 | -24/+0 |
| | |||||
* | internal: switch some tests to minicore | Aleksey Kladov | 2021-06-17 | 1 | -70/+0 |
| | |||||
* | internal: cleanup tests | Aleksey Kladov | 2021-06-15 | 1 | -3/+4 |
| | | | | | | * ensure standard, non-indented style (should add this check to `fixture` some day) * removed a couple of ignores | ||||
* | internal: more natural order of sources for TypeParam | Aleksey Kladov | 2021-06-14 | 1 | -2/+2 |
| | | | | | We usually use first (left) variant of `Either` for "usual" case, and use right for odd things. For example, pat source is Pat | SelfParam. | ||||
* | minor: less ambiguous name | Aleksey Kladov | 2021-06-14 | 1 | -3/+4 |
| | |||||
* | internal: document rename challenges | Aleksey Kladov | 2021-06-14 | 1 | -1/+24 |
| | |||||
* | internal: adapt diagnostics to the new rename API | Aleksey Kladov | 2021-06-14 | 2 | -1/+447 |
| | |||||
* | internal: cut deps between assists and diagnostics | Aleksey Kladov | 2021-06-14 | 2 | -0/+137 |
| | |||||
* | cargo fmt | Maan2003 | 2021-06-13 | 1 | -3/+1 |
| | |||||
* | clippy::redudant_borrow | Maan2003 | 2021-06-13 | 4 | -11/+11 |
| | |||||
* | Merge #9218 | bors[bot] | 2021-06-11 | 1 | -10/+37 |
|\ | | | | | | | | | | | | | | | 9218: Item search now respects trait impl items r=Veykril a=Veykril Fixes #2977 Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Item search now respects trait impl items | Lukas Wirth | 2021-06-11 | 1 | -10/+37 |
| | | |||||
* | | Update ungrammar | Jonas Schievink | 2021-06-11 | 1 | -1/+1 |
| | | |||||
* | | Add more profiling for flyimports | Kirill Bulatov | 2021-06-10 | 1 | -0/+2 |
| | | |||||
* | | Don't classify attributes on macro-calls are the macro itself | Lukas Wirth | 2021-06-09 | 1 | -5/+3 |
|/ | |||||
* | Fix edge case for ImportGranularity guessing | Lukas Wirth | 2021-06-08 | 2 | -7/+26 |
| | |||||
* | Reorder CompletionContext fields | Lukas Wirth | 2021-06-07 | 1 | -2/+1 |
| | |||||
* | Unescape generated clippy lints | Lukas Wirth | 2021-06-05 | 1 | -314/+726 |
| | |||||
* | Replace `-` with `_` in generated lint names | Lukas Wirth | 2021-06-04 | 1 | -137/+135 |
| | |||||
* | Generate default lint groups | Lukas Wirth | 2021-06-04 | 1 | -0/+29 |
| | |||||
* | Generate default lint completions | Lukas Wirth | 2021-06-04 | 2 | -0/+6892 |
| | |||||
* | Make it opt-in | Jonas Schievink | 2021-06-03 | 1 | -0/+1 |
| | |||||
* | Implement per-edition preludes | Jonas Schievink | 2021-06-01 | 1 | -10/+12 |
| | |||||
* | Merge #8866 | bors[bot] | 2021-05-31 | 2 | -18/+4 |
|\ | | | | | | | | | | | | | | | 8866: Update salsa r=matklad a=jonas-schievink This updates salsa to include https://github.com/salsa-rs/salsa/pull/265, and removes all cancellation-related code from rust-analyzer Co-authored-by: Jonas Schievink <[email protected]> | ||||
| * | Update salsa | Jonas Schievink | 2021-05-27 | 2 | -18/+4 |
| | | |||||
* | | simplify | Lukas Wirth | 2021-05-28 | 2 | -10/+2 |
|/ | |||||
* | Exclude inherent traits more eagerly | Kirill Bulatov | 2021-05-27 | 1 | -11/+8 |
| | |||||
* | Merge #8945 | bors[bot] | 2021-05-23 | 2 | -1/+19 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 8945: fix: Make expected type work in more situations r=flodiebold a=flodiebold Also makes call info show the correct types for generic methods. ![2021-05-23-182952_1134x616_scrot](https://user-images.githubusercontent.com/906069/119269023-dd5a5b00-bbf5-11eb-993a-b6e122c3b9a6.png) ![2021-05-23-183117_922x696_scrot](https://user-images.githubusercontent.com/906069/119269025-dfbcb500-bbf5-11eb-983c-fc415b8428e0.png) Co-authored-by: Florian Diebold <[email protected]> | ||||
| * | Get rid of field_type again | Florian Diebold | 2021-05-23 | 1 | -1/+1 |
| | | |||||
| * | Record method call substs and use them in call info | Florian Diebold | 2021-05-23 | 1 | -0/+18 |
| | | |||||
* | | minor: align import style with styleguide | Aleksey Kladov | 2021-05-23 | 1 | -3/+3 |
|/ | |||||
* | Don't compare ast::Visibility by stringifying | Lukas Tobias Wirth | 2021-05-20 | 1 | -6/+9 |
| | |||||
* | Merge #8873 | bors[bot] | 2021-05-20 | 3 | -15/+237 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 8873: Implement import-granularity guessing r=matklad a=Veykril This renames our `MergeBehavior` to `ImportGranularity` as rustfmt has it as the purpose of them are basically the same. `ImportGranularity::Preserve` currently has no specific purpose for us as we don't have an organize imports assist yet, so it currently acts the same as `ImportGranularity::Item`. We now try to guess the import style on a per file basis and fall back to the user granularity setting if the file has no specific style yet or where it is ambiguous. This can be turned off by setting `import.enforceGranularity` to `true`. Closes https://github.com/rust-analyzer/rust-analyzer/issues/8870 Co-authored-by: Lukas Tobias Wirth <[email protected]> | ||||
| * | Check for differing attributes in granularity guessing | Lukas Tobias Wirth | 2021-05-20 | 3 | -7/+21 |
| | | |||||
| * | Replace ImportGranularity::Guess with guessing boolean flag | Lukas Tobias Wirth | 2021-05-19 | 3 | -21/+183 |
| | | |||||
| * | Add ImportGranularity::Guess | Lukas Tobias Wirth | 2021-05-18 | 1 | -12/+4 |
| | | |||||
| * | Implement import-granularity guessing | Lukas Tobias Wirth | 2021-05-18 | 1 | -2/+33 |
| | | |||||
| * | MergeBehavior -> ImportGranularity | Lukas Tobias Wirth | 2021-05-18 | 2 | -10/+33 |
| | | |||||
* | | Simplify eager macro representation | Jonas Schievink | 2021-05-19 | 1 | -1/+0 |
| | | |||||
* | | Add new LSP extension for workspace symbol lookup | alcroito | 2021-05-17 | 1 | -0/+5 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new extension allows filtering of workspace symbool lookup results by search scope or search kind. Filtering can be configured in 3 different ways: - The '#' or '*' markers can be added inline with the symbol lookup query. The '#' marker means symbols should be looked up in the current workspace and any dependencies. If not specified, only current workspace is considered. The '*' marker means all kinds of symbols should be looked up (types, functions, etc). If not specified, only type symbols are returned. - Each LSP request can take an optional search_scope or search_kind argument query parameter. - Finally there are 2 global config options that can be set for all requests served by the active RA instance. Add support for setting the global config options to the VSCode extension. The extension does not use the per-request way, but it's useful for other IDEs. The latest version of VSCode filters out the inline markers, so currently the only reasonable way to use the new functionality is via the global config. | ||||
* | internal: remove SyntaxRewriter | Aleksey Kladov | 2021-05-14 | 1 | -1/+3 |
| | |||||
* | internal: remove one more immutable tree | Aleksey Kladov | 2021-05-14 | 1 | -14/+20 |
| | |||||
* | Give MergeBehaviour variants better names | Lukas Wirth | 2021-05-10 | 2 | -45/+53 |
| | |||||
* | internal: introduce `ast::make::ext` module with common shortcuts | Aleksey Kladov | 2021-05-09 | 2 | -4/+4 |
| | | | | | | | | | | There's a tension between keeping a well-architectured minimal orthogonal set of constructs, and providing convenience functions. Relieve this pressure by introducing an dedicated module for non-orthogonal shortcuts. This is inspired by the django.shortcuts module which serves a similar purpose architecturally. | ||||
* | Don't handle Self as a usage for TraitDefs | Lukas Wirth | 2021-05-08 | 1 | -1/+0 |
| | |||||
* | Fix builtintype def_to_ty | Lukas Wirth | 2021-05-08 | 1 | -8/+14 |
| | |||||
* | Correctly support SelfType when searching for usages | Lukas Wirth | 2021-05-08 | 1 | -70/+102 |
| | |||||
* | internal: use API stabilized in 1.52 | Aleksey Kladov | 2021-05-06 | 1 | -4/+3 |
| |