about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/crates/ide
AgeCommit message (Collapse)AuthorLines
2024-12-25fix missing name enum when hovering on fields in variantsroife-3/+14
2024-12-24Merge pull request #18707 from ChayimFriedman2/substLukas Wirth-34/+503
feat: Show substitution where hovering over generic things
2024-12-22Merge pull request #18739 from Veykril/push-ntpvvqnnovtnLukas Wirth-0/+19
fix: Don't trigger paren wrapping typing handler after idents
2024-12-22fix: Don't trigger paren wrapping typing handler after identsLukas Wirth-0/+19
2024-12-21fix: remove always! check for file_id in runnablesroife-16/+3
2024-12-20Show substitution where hovering over generic thingsChayim Refael Friedman-34/+503
There are few things to note in the implementation: First, this is a best-effort implementation. Mainly, type aliases may not be shown (due to their eager nature it's harder) and partial pathes (aka. hovering over `Struct` in `Struct::method`) are not supported at all. Second, we only need to show substitutions in expression and pattern position, because in type position all generic arguments always have to be written explicitly.
2024-12-15internal: Show mir eval errors on hover with debug env var setLukas Wirth-22/+78
2024-12-13Merge pull request #18678 from regexident/fix-typosLaurențiu Nicola-2/+2
minor: Fix a few typos
2024-12-13Fix a few typosVincent Esche-2/+2
2024-12-13Merge pull request #18674 from Veykril/push-lrxotqknvxvrLukas Wirth-13/+34
Show expansion errors in expand_macro feature
2024-12-13Show expansion errors in expand_macro featureLukas Wirth-13/+34
2024-12-12Merge pull request #18675 from ShoyuVanilla/issue-18664Lukas Wirth-0/+35
fix: Panic when displaying generic params with defaults, again
2024-12-13fix: Panic when displaying generic params with defaults, againShoyu Vanilla-0/+35
2024-12-11Properly handle different defaults for severity of lintsChayim Refael Friedman-6/+4
Previously all lints were assumed to be `#[warn]`, and we had a hand-coded list of `#[allow]` exceptions. Now the severity is autogenerated from rustdoc output. Also support lints that change status between editions, and the `warnings` lint group.
2024-12-09Rename test fixture crates to ra_test_fixtureLukas Wirth-372/+372
2024-12-06Highlight right angle as part of fat arrow in macro rules armLukas Wirth-21/+29
2024-12-06Add typing handler for param list pipeLukas Wirth-12/+57
2024-12-06Improve heuristics for on typing semicolon insertionLukas Wirth-2/+25
2024-12-06Merge pull request #18474 from Veykril/push-nvtxykxkwnvsLukas Wirth-126/+195
Make bracket typing handler work on more things
2024-12-06Add implict unsafety inlay hints for extern blocksLukas Wirth-2/+157
2024-12-06Make bracket typing handler work on more thingsLukas Wirth-126/+195
2024-12-05fix: Resolve generic parameters within use capturesLukas Wirth-0/+69
2024-12-06fix: Panic when displaying generic params with defaultsShoyu Vanilla-0/+50
2024-12-04Fix parsing of parenthesized type args and RTNLukas Wirth-43/+51
2024-12-03chore: deprecate `typing.autoClosingAngleBrackets` configurationTarek-4/+0
Signed-off-by: Tarek <tareknaser360@gmail.com>
2024-12-03internal: Make exclude characters for typing assists configurable, default ↵Tarek-0/+6
to None Signed-off-by: Tarek <tareknaser360@gmail.com>
2024-12-03Advertise completions and inlay hints resolve server capabilities based on ↵Kirill Bulatov-1/+11
the client capabilities.
2024-11-07Merge pull request #18490 from ShoyuVanilla/dyn-compat-renameLaurențiu Nicola-5/+5
minor: Rename `dyn compatible` to `dyn-compatible`
2024-11-07minor: Rename `dyn compatible` to `dyn-compatible`Shoyu Vanilla-5/+5
2024-11-04Merge pull request #18473 from Veykril/push-xnlzukoqttvzLukas Wirth-15/+44
Render extern blocks in `file_structure`
2024-11-04Render extern blocks in file_structureLukas Wirth-15/+44
2024-11-04Fix feature name casingLaurențiu Nicola-1/+1
2024-11-03Allow interpreting consts and statics with interpret function commandLukas Wirth-49/+66
2024-11-02Allow static initializers to be const evaluatedLukas Wirth-7/+13
2024-10-30Merge pull request #18436 from Veykril/lw-yvkqwpnwsouoLukas Wirth-190/+462
Do not render meta info when hovering usages
2024-10-29Style hover messages a bit differentlyLukas Wirth-115/+346
2024-10-29Do not render meta info when hovering usagesLukas Wirth-83/+124
2024-10-28Merge pull request #18421 from Veykril/push-uxxwvwnqvomrLukas Wirth-18/+18
Move text-edit into ide-db
2024-10-28ReformatLukas Wirth-7/+7
2024-10-28Move text-edit into ide-dbLukas Wirth-18/+18
2024-10-27add testLastExceed-0/+76
2024-10-27add LetStmt armLastExceed-0/+18
2024-10-27Invert token iteration order in macro mappingLukas Wirth-13/+15
2024-10-25Factor out token rankingLukas Wirth-36/+8
2024-10-23Merge pull request #18264 from ChayimFriedman2/semi-transparentLukas Wirth-0/+20
fix: Implement mixed site hygiene
2024-10-23fix dyn incompatible hint messageusamoi-1/+1
2024-10-23Don't emit edits for postfix adjustment hintsLukas Wirth-23/+28
2024-10-23Add text edit to implicit 'static hintsLukas Wirth-1/+2
2024-10-23Add text edit to discriminant hintsLukas Wirth-5/+6
2024-10-23Add text edit to binding mode hintsLukas Wirth-36/+38