rust-analyzer/crates
bors 54c2ee9fab Auto merge of #15219 - alibektas:15080, r=Veykril
Unify getter and setter assists

This PR combines what previously have been two different files into a single file. I want to talk about the reasons why I did this. The issue that prompted this PR ( and before I forget : this pr fixes #15080 ) mentions an interesting behavior. We combine these two assists into an assist group and the order in which the assists are listed in this group changes depending on the text range of the selected area. The reason for that is that VSCode prioritizes actions that have a bigger impact in a smaller area and until now generate setter assist was only possible to be invoked for a single field whereas you could generate multiple getters for the getter assist. So I used the latter's infra to make former applicable to multiple fields, hence the unification. So this PR solves in essence

1. Make `generate setter` applicable to multiple fields
2. Provide a consistent order of the said assists in listing.
2023-07-06 12:22:39 +00:00
..
base-db Add library fixture meta 2023-06-28 22:34:14 +09:00
cfg Bump serde 2 things 2023-06-22 11:44:10 +02:00
flycheck Bump more deps 2023-06-22 11:44:10 +02:00
hir Stronger typing for AstId and AstIdMap 2023-07-04 09:16:15 +02:00
hir-def internal: Remove CfgExpander 2023-07-04 10:38:23 +02:00
hir-expand Don't show unresolved-field diagnostic for missing names 2023-07-06 20:39:48 +09:00
hir-ty Don't show unresolved-field diagnostic for missing names 2023-07-06 20:39:48 +09:00
ide Auto merge of #15206 - Veykril:let-else-fmt, r=Veykril 2023-07-03 18:41:59 +00:00
ide-assists Auto merge of #15219 - alibektas:15080, r=Veykril 2023-07-06 12:22:39 +00:00
ide-completion Auto merge of #15206 - Veykril:let-else-fmt, r=Veykril 2023-07-03 18:41:59 +00:00
ide-db Auto merge of #15181 - lowr:patch/import-map-purge-unused, r=Veykril 2023-07-03 14:37:55 +00:00
ide-diagnostics Auto merge of #15223 - lowr:patch/no-unresolved-field-for-missing, r=HKalbasi 2023-07-06 11:54:08 +00:00
ide-ssr Use anonymous lifetime where possible 2023-06-29 23:27:28 +09:00
intern Bump more deps 2023-06-22 11:44:10 +02:00
limit Move Expander and LowerCtx into separate modules 2023-04-17 20:44:06 +02:00
load-cargo Split out project loading capabilities from rust-analyzer crate 2023-07-03 17:40:31 +02:00
mbe Use anonymous lifetime where possible 2023-06-29 23:27:28 +09:00
parser Recover from missing associated items and generic const defaults 2023-07-05 00:24:11 +09:00
paths internal: use consistent style for error handling 2023-06-19 13:01:47 +01:00
proc-macro-api Bump more deps 2023-06-22 11:44:10 +02:00
proc-macro-srv Bump more deps 2023-06-22 11:44:10 +02:00
proc-macro-srv-cli Remove proc-macro server command from the rust-analyzer binary 2023-04-26 08:19:28 +02:00
proc-macro-test ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
profile Use anonymous lifetime where possible 2023-06-29 23:27:28 +09:00
project-model Change in-tree libs to workspace dependencies 2023-06-20 13:53:39 +10:00
rust-analyzer Auto merge of #14990 - HKalbasi:diagnostic-map, r=HKalbasi 2023-07-03 18:58:47 +00:00
sourcegen Format let-else 2023-07-03 20:34:09 +02:00
stdx Bump more deps 2023-06-22 11:44:10 +02:00
syntax Auto merge of #15152 - alibektas:14987, r=Veykril,lowr 2023-07-05 16:56:37 +00:00
test-utils Revert "Support #[rustc_coinductive]" 2023-07-03 05:06:55 +09:00
text-edit Make text-size a workspace dep 2023-05-06 00:49:23 -07:00
toolchain ⬆️ rust-analyzer 2023-03-13 10:42:24 +02:00
tt Use anonymous lifetime where possible 2023-06-29 23:27:28 +09:00
vfs Upgrade to indexmap v2 2023-06-24 17:35:20 -07:00
vfs-notify Downgrade some deps to get rif of windows-sys duplication 2023-06-22 11:44:10 +02:00