Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Collapse documentation and markdown config settings into an enum | Lukas Wirth | 2021-06-21 | 2 | -25/+47 |
| | |||||
* | Split hover actions config into its own config struct | Lukas Wirth | 2021-06-21 | 2 | -60/+57 |
| | |||||
* | Move features into potential_cfg_options | Jamie Cunliffe | 2021-06-21 | 1 | -1/+1 |
| | |||||
* | Improve completion of cfg attributes | Jamie Cunliffe | 2021-06-21 | 1 | -0/+1 |
| | | | | | | | | | | | | The completion of cfg will look at the enabled cfg keys when performing completion. It will also look crate features when completing a feature cfg option. A fixed list of known values for some cfg options are provided. For unknown keys it will look at the enabled values for that cfg key, which means that completion will only show enabled options for those. | ||||
* | Merge #9264 | bors[bot] | 2021-06-21 | 2 | -96/+92 |
|\ | | | | | | | | | | | | | | | | | | | 9264: feat: Make documentation on hover configurable r=Veykril a=Veykril This also implements deprecation support for config options as this renames `hoverActions_linksInHover` to `hover_linksInHover`. Fixes #9232 Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | typo | Lukas Wirth | 2021-06-14 | 1 | -1/+1 |
| | | |||||
| * | Don't ignore hover documentation setting for keyword hovers | Lukas Wirth | 2021-06-14 | 1 | -2/+4 |
| | | |||||
| * | Make documentation on hover configurable | Lukas Wirth | 2021-06-14 | 2 | -94/+88 |
| | | |||||
* | | Don't insert `}` when typing `{` in string | Jonas Schievink | 2021-06-21 | 1 | -3/+33 |
| | | |||||
* | | Merge #9344 | bors[bot] | 2021-06-20 | 1 | -24/+22 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | 9344: fix: rename works when invoked on a reference r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | fix: rename works when invoked on a reference | Aleksey Kladov | 2021-06-20 | 1 | -24/+22 |
| | | | |||||
* | | | Merge #9328 | bors[bot] | 2021-06-20 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9328: internal: Update deps r=lnicola a=kjeremy Co-authored-by: kjeremy <[email protected]> | ||||
| * | | | Update test | kjeremy | 2021-06-18 | 1 | -1/+1 |
| | | | | |||||
* | | | | minor: use minicore | Aleksey Kladov | 2021-06-19 | 1 | -6/+1 |
| | | | | |||||
* | | | | minor: use minicore | Aleksey Kladov | 2021-06-18 | 1 | -13/+4 |
| | | | | |||||
* | | | | minor: use minicore | Aleksey Kladov | 2021-06-18 | 1 | -3/+1 |
| | | | | |||||
* | | | | internal: use minicore deref more | Aleksey Kladov | 2021-06-18 | 1 | -2/+2 |
| |/ / |/| | | |||||
* | | | internal: add Copy to minicore | Aleksey Kladov | 2021-06-18 | 1 | -2/+2 |
|/ / | |||||
* | | Minor clippy perf fixes | Laurențiu Nicola | 2021-06-18 | 1 | -1/+1 |
| | | |||||
* | | internal: retire famous_defs_fixture | Aleksey Kladov | 2021-06-17 | 1 | -10/+15 |
| | | | | | | | | This is now done declaratively via `minicore`. | ||||
* | | internal: add derive and ord support to minicore | Aleksey Kladov | 2021-06-17 | 1 | -2/+2 |
| | | |||||
* | | internal: add From to minicore | Aleksey Kladov | 2021-06-17 | 1 | -2/+2 |
| | | |||||
* | | internal: add default to minicore | Aleksey Kladov | 2021-06-17 | 1 | -2/+2 |
| | | |||||
* | | Nest all the or-patterns! | Lukas Wirth | 2021-06-17 | 3 | -5/+4 |
| | | |||||
* | | internal: minimize minicore | Aleksey Kladov | 2021-06-17 | 1 | -3/+3 |
| | | | | | | | | | | | | We want to keep minicore small, so let's split out iterator adapters and sources into a separate `iterators` region, and use them only when needed. | ||||
* | | internal: switch some tests to minicore | Aleksey Kladov | 2021-06-17 | 1 | -16/+15 |
| | | |||||
* | | internal: add fn to minicore | Aleksey Kladov | 2021-06-16 | 1 | -2/+2 |
| | | |||||
* | | Merge #9293 | bors[bot] | 2021-06-15 | 1 | -3/+4 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 9293: fix: Show diagnostic fixes before assists r=matklad a=lnicola Closes #9212 Co-authored-by: Laurențiu Nicola <[email protected]> | ||||
| * | | Show diagnostic fixes before assists | Laurențiu Nicola | 2021-06-15 | 1 | -3/+4 |
| | | | |||||
* | | | Merge #9294 | bors[bot] | 2021-06-15 | 1 | -10/+5 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9294: internal: introduce minicore -- a subset of libcore for testing r=matklad a=matklad Clearly, we need one more fixed point iteration loop! Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | | internal: switch some tests to minicore | Aleksey Kladov | 2021-06-15 | 1 | -10/+5 |
| |/ / | |||||
* / / | Highlight unsafe trait refs as unsafe only in impl blocks and definitions | Lukas Wirth | 2021-06-15 | 12 | -19/+51 |
|/ / | |||||
* | | internal: don't #[ignore] tests | Aleksey Kladov | 2021-06-15 | 1 | -5/+5 |
| | | | | | | | | See the style.md for motivation | ||||
* | | Merge #9278 | bors[bot] | 2021-06-15 | 2 | -8/+15 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 9278: internal: document that we don't #[ignore] tests r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | internal: document that we don't #[ignore] tests | Aleksey Kladov | 2021-06-15 | 2 | -8/+15 |
| | | | |||||
* | | | Merge #9277 | bors[bot] | 2021-06-14 | 1 | -3/+3 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | 9277: internal: more natural order of sources for TypeParam r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | internal: more natural order of sources for TypeParam | Aleksey Kladov | 2021-06-14 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | We usually use first (left) variant of `Either` for "usual" case, and use right for odd things. For example, pat source is Pat | SelfParam. | ||||
* | | | Merge #9275 | bors[bot] | 2021-06-14 | 1 | -2/+60 |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | 9275: feat: Support goto type for field expressions and patterns r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | | Support goto type for field expressions and patterns | Lukas Wirth | 2021-06-14 | 1 | -2/+60 |
| | | | |||||
* | | | minor: less ambiguous name | Aleksey Kladov | 2021-06-14 | 1 | -2/+3 |
| | | | |||||
* | | | internal: flatten module hierarchy | Aleksey Kladov | 2021-06-14 | 3 | -9/+10 |
| | | | | | | | | | | | | | | | It seems that any crate can be made better by flattening the modules down to a single layer? | ||||
* | | | internal: document rename challenges | Aleksey Kladov | 2021-06-14 | 1 | -0/+18 |
| | | | |||||
* | | | internal: adapt diagnostics to the new rename API | Aleksey Kladov | 2021-06-14 | 1 | -423/+12 |
| | | | |||||
* | | | internal: prepare to move assist definitions | Aleksey Kladov | 2021-06-14 | 1 | -2/+2 |
| | | | |||||
* | | | internal: move diagnostics to a new crate | Aleksey Kladov | 2021-06-14 | 24 | -4601/+4 |
|/ / | |||||
* | | internal: prepare to move rename to base_db | Aleksey Kladov | 2021-06-14 | 1 | -41/+40 |
| | | | | | | | | | | | | | | | | | | | | It's better to handle magical cases upper in the stack, because it allows for better re-use of the general implementation below. So, we pull the `self` case up here. The end goal is to put `Definition::rename` to the `ide_db`, because it's a generally re-usable functionality useful for different ide features, alongside with the search which is already there. | ||||
* | | fix: don't use display-related functionality where semantics matters | Aleksey Kladov | 2021-06-14 | 1 | -41/+119 |
|/ | | | | | | | NavigationTarget is strictly a UI-level thing -- it describes where the cursor should be placed when the user presses goto definition. It doesn't make any semantic guaratees about rage and focus range and, as such, is not suitable for driving renames. | ||||
* | internal: diagnostic code is mandatory | Aleksey Kladov | 2021-06-13 | 2 | -23/+12 |
| | |||||
* | minor: dead code | Aleksey Kladov | 2021-06-13 | 2 | -50/+34 |
| | |||||
* | internal: kill diagnostic sink | Aleksey Kladov | 2021-06-13 | 1 | -35/+13 |
| |