aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src
Commit message (Collapse)AuthorAgeFilesLines
* Add `public` semantic token modifier for public itemsAramis Razzaghipour2021-06-237-35/+65
|
* Factor out `pick_best_token` ide pattern into `ide_db`Lukas Wirth2021-06-228-100/+50
|
* Merge #9368bors[bot]2021-06-221-2/+15
|\ | | | | | | | | | | | | | | | | 9368: fix: Prefer identifier tokens in expand_macro r=Veykril a=Veykril Fixes #9366 bors r+ Co-authored-by: Lukas Wirth <[email protected]>
| * Prefer identifier tokens in expand_macroLukas Wirth2021-06-221-2/+15
| |
* | Collapse documentation and markdown config settings into an enumLukas Wirth2021-06-212-25/+47
| |
* | Split hover actions config into its own config structLukas Wirth2021-06-212-60/+57
| |
* | Move features into potential_cfg_optionsJamie Cunliffe2021-06-211-1/+1
| |
* | Improve completion of cfg attributesJamie Cunliffe2021-06-211-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 #9264bors[bot]2021-06-212-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]>
| * | typoLukas Wirth2021-06-141-1/+1
| | |
| * | Don't ignore hover documentation setting for keyword hoversLukas Wirth2021-06-141-2/+4
| | |
| * | Make documentation on hover configurableLukas Wirth2021-06-142-94/+88
| | |
* | | Don't insert `}` when typing `{` in stringJonas Schievink2021-06-211-3/+33
| | |
* | | Merge #9344bors[bot]2021-06-201-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 referenceAleksey Kladov2021-06-201-24/+22
| | | |
* | | | Merge #9328bors[bot]2021-06-201-1/+1
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 9328: internal: Update deps r=lnicola a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * | | Update testkjeremy2021-06-181-1/+1
| | | |
* | | | minor: use minicoreAleksey Kladov2021-06-191-6/+1
| | | |
* | | | minor: use minicoreAleksey Kladov2021-06-181-13/+4
| | | |
* | | | minor: use minicoreAleksey Kladov2021-06-181-3/+1
| | | |
* | | | internal: use minicore deref moreAleksey Kladov2021-06-181-2/+2
| |/ / |/| |
* | | internal: add Copy to minicoreAleksey Kladov2021-06-181-2/+2
|/ /
* | Minor clippy perf fixesLaurențiu Nicola2021-06-181-1/+1
| |
* | internal: retire famous_defs_fixtureAleksey Kladov2021-06-171-10/+15
| | | | | | | | This is now done declaratively via `minicore`.
* | internal: add derive and ord support to minicoreAleksey Kladov2021-06-171-2/+2
| |
* | internal: add From to minicoreAleksey Kladov2021-06-171-2/+2
| |
* | internal: add default to minicoreAleksey Kladov2021-06-171-2/+2
| |
* | Nest all the or-patterns!Lukas Wirth2021-06-173-5/+4
| |
* | internal: minimize minicoreAleksey Kladov2021-06-171-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 minicoreAleksey Kladov2021-06-171-16/+15
| |
* | internal: add fn to minicoreAleksey Kladov2021-06-161-2/+2
| |
* | Merge #9293bors[bot]2021-06-151-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 assistsLaurențiu Nicola2021-06-151-3/+4
| | |
* | | Merge #9294bors[bot]2021-06-151-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 minicoreAleksey Kladov2021-06-151-10/+5
| |/ /
* / / Highlight unsafe trait refs as unsafe only in impl blocks and definitionsLukas Wirth2021-06-1512-19/+51
|/ /
* | internal: don't #[ignore] testsAleksey Kladov2021-06-151-5/+5
| | | | | | | | See the style.md for motivation
* | Merge #9278bors[bot]2021-06-152-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] testsAleksey Kladov2021-06-152-8/+15
| | |
* | | Merge #9277bors[bot]2021-06-141-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 TypeParamAleksey Kladov2021-06-141-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 #9275bors[bot]2021-06-141-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 patternsLukas Wirth2021-06-141-2/+60
| | |
* | | minor: less ambiguous nameAleksey Kladov2021-06-141-2/+3
| | |
* | | internal: flatten module hierarchyAleksey Kladov2021-06-143-9/+10
| | | | | | | | | | | | | | | It seems that any crate can be made better by flattening the modules down to a single layer?
* | | internal: document rename challengesAleksey Kladov2021-06-141-0/+18
| | |
* | | internal: adapt diagnostics to the new rename APIAleksey Kladov2021-06-141-423/+12
| | |
* | | internal: prepare to move assist definitionsAleksey Kladov2021-06-141-2/+2
| | |
* | | internal: move diagnostics to a new crateAleksey Kladov2021-06-1423-4601/+3
|/ /
* | internal: prepare to move rename to base_dbAleksey Kladov2021-06-141-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.