about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2022-05-28fix: add an option to show inlay hint for return type of closures without blockharpsword-16/+84
2022-05-28fix(ide-db): correct single-file module renameNikita Podoliako-8/+42
2022-05-28Cleanup auto-import orderingChristofer Nolander-51/+51
Addresses issues raised by @Veykril in #12333
2022-05-27Auto merge of #12402 - Veykril:feat-docs, r=Veykrilbors-1/+6
minor: Freshen up goto feature docs Fixes https://github.com/rust-lang/rust-analyzer/issues/2541
2022-05-27minor: Freshen up goto feature docsLukas Wirth-1/+6
2022-05-27Auto merge of #12395 - feniljain:fix_bugs, r=Veykrilbors-10/+132
fix: f32 and f64 representation during lowering should fix #12380
2022-05-27Auto merge of #12341 - vemoo:exclude_dirs, r=Veykrilbors-2/+55
make `files.excludeDirs` work There's a small issue because if all projects are excluded, this: https://github.com/rust-lang/rust-analyzer/blob/01d412f4d7bd7ef21a7e8f0461e9ba3439e3c4bf/crates/rust-analyzer/src/main_loop.rs#L114 will be shown. I thought about not showing it if `files.excludeDirs` is set, but that is not necessarily correct. Fixes #7755
2022-05-26Auto merge of #12399 - Joehoel:patch-1, r=lnicolabors-1/+1
typo: missing comma
2022-05-26typo: missing commaJoël Kuijper-1/+1
2022-05-26Auto merge of #12397 - Hofer-Julian:patch-1, r=lnicolabors-1/+1
Fix typo
2022-05-26Fix typoHofer-Julian-1/+1
2022-05-26fix: f32 and f64 representation during loweringfeniljain-10/+132
2022-05-26Auto merge of #12393 - Veykril:hir-def, r=Veykrilbors-31/+21
internal: Remove `Interned` usage from nameres collector
2022-05-26internal: Remove `Interned` usage from nameres collectorLukas Wirth-31/+21
2022-05-26Auto merge of #12388 - Veykril:statusitem, r=Veykrilbors-2/+8
internal: Make use of the statusBarItem colors in VSCode Fixes https://github.com/rust-lang/rust-analyzer/issues/7736
2022-05-26internal: Use statusBarItem colors for status item in VSCodeLukas Wirth-2/+8
2022-05-25Auto merge of #12386 - fasterthanlime:gh-12372-test, r=Veykrilbors-0/+27
Add test for #12372 (generate enum variant in different file) The test currently fails but I'm not sure why. The "Right" output seems to contain only the contents of `foo.rs`, without the magic comments: <img width="967" alt="image" src="https://user-images.githubusercontent.com/7998310/170310707-e69b21eb-d4f8-46c1-8a0a-9b4071289e26.png"> cc `@Veykril`
2022-05-25Make test passAmos Wenger-10/+0
2022-05-25Add test for #12372 (generate enum variant in different file)Amos Wenger-0/+37
2022-05-25Auto merge of #12384 - fasterthanlime:gh-12372, r=Veykrilbors-4/+6
Generate variant: insert code in file with enum definition Closes #12372
2022-05-25Generate variant: insert code in file with enum definitionAmos Wenger-4/+6
Closes #12372
2022-05-25Auto merge of #12383 - Veykril:diag, r=Veykrilbors-0/+9
fix: Clear native diagnostics for files when they are deleted Fixes https://github.com/rust-lang/rust-analyzer/issues/7004
2022-05-25fix: Clear native diagnostics for files when they are deletedLukas Wirth-0/+9
2022-05-25Auto merge of #12382 - Veykril:ontype, r=lnicolabors-2/+25
internal: Make autoclosing angle brackets configurable, disabled by default cc https://github.com/rust-lang/rust-analyzer/issues/12379
2022-05-25internal: Make autoclosing angle brackets configurable, disabled by defaultLukas Wirth-2/+25
2022-05-24Auto merge of #12377 - Veykril:logs, r=Veykrilbors-8/+3
minor: log build script invocations
2022-05-24Auto merge of #12376 - Veykril:completion, r=Veykrilbors-92/+100
fix: Insert whitespace into trait-impl completions when coming from macros Fixes https://github.com/rust-lang/rust-analyzer/issues/12278
2022-05-24minor: log build script invocationsLukas Wirth-8/+3
2022-05-24fix: Insert whitespace into trait-impl completions when coming from macrosLukas Wirth-83/+99
2022-05-24SimplifyLukas Wirth-9/+1
2022-05-24Auto merge of #12373 - Veykril:completion, r=Veykrilbors-127/+153
internal: Refactor our record pat/expr handling in completion context
2022-05-24internal: Refactor our record pat/expr handling in completion contextLukas Wirth-127/+153
2022-05-24Auto merge of #12361 - Veykril:completion, r=Veykrilbors-53/+57
internal: Simplify DotAccess representation in completions `@bors` r+
2022-05-24internal: Simplify DotAccess representation in completionsLukas Wirth-53/+57
2022-05-24Auto merge of #12370 - andylizi:macro-expand-underscore, r=lnicolabors-3/+21
ide: insert whitespaces surrounding `_` in macro expansion #### Before ```rust for_in 0..10 { foo(); } ``` #### After ```rust for _ in 0..10 { foo(); } ```
2022-05-24add test for macro expand formattingandylizi-0/+18
2022-05-24Auto merge of #12371 - jhgg:fix/extra-env-non-string-value-handling, r=lnicolabors-2/+12
vscode: fix extraEnv handling numeric values fixes #12363 by bringing the types more inline with the reality, and making `Env` not a lie.
2022-05-24prettierJake Heinz-3/+9
2022-05-24vscode: fix extraEnv handling numeric valuesJake Heinz-2/+6
2022-05-24ide: insert whitespaces surrounding `_` in macro expansionandylizi-3/+3
2022-05-23Auto merge of #12366 - rust-lang:revert-12349-universal-vsix, r=lnicolabors-0/+2
Revert "internal: Publish universal VSIX to make VS happy" Reverts rust-lang/rust-analyzer#12349
2022-05-23Revert "internal: Publish universal VSIX to make VS happy"Laurențiu Nicola-0/+2
2022-05-23Auto merge of #12365 - rust-lang:revert-12359-universal-vsix-part-2, r=lnicolabors-2/+2
Revert "internal: Try to publish the universal VSIX before the other ones" Reverts rust-lang/rust-analyzer#12359
2022-05-23Revert "internal: Try to publish the universal VSIX before the other ones"Laurențiu Nicola-2/+2
2022-05-23Auto merge of #12359 - lnicola:universal-vsix-part-2, r=lnicolabors-2/+2
internal: Try to publish the universal VSIX before the other ones CC https://github.com/microsoft/vscode/issues/149518#issuecomment-1134782535
2022-05-23Auto merge of #12360 - Veykril:completion, r=Veykrilbors-11/+11
fix: Fix completions not working after attributes Closes https://github.com/rust-lang/rust-analyzer/issues/12259
2022-05-23fix: Fix completions not working after attributesLukas Wirth-11/+11
2022-05-23Try to publish the universal VSIX before the other onesLaurențiu Nicola-2/+2
2022-05-23Auto merge of #12358 - Veykril:hl-mac, r=Veykrilbors-93/+87
minor: Simplify syntax-highlighting macro checks
2022-05-23minor: Simplify syntax-highlighting macro checksLukas Wirth-93/+87