Commit graph

269897 commits

Author SHA1 Message Date
Mark Murphy
a3efe3bc29
Update request entry point file path in architecture.md 2024-11-23 13:46:40 -05:00
David Barsky
297db65fe3
Merge pull request #18485 from davidkurilla/feat-migrate-add_braces-to-use-SyntaxFactory
feat: convert add_braces to SyntaxFactory SyntaxEditor abstraction
2024-11-19 21:05:17 +00:00
David Barsky
70a098e6fc
Merge pull request #18521 from tareknaser/syntax_factory_reorder_impl_items
Migrate `reorder_impl_items` Assist to Use `SyntaxFactory`
2024-11-19 20:38:57 +00:00
Laurențiu Nicola
af318f7320
Merge pull request #18529 from cmrschwarz/allow_leading_whitespace_in_merge_match_arms
Improve selection handling for the `merge_match_arms` assist
2024-11-19 17:45:52 +00:00
Laurențiu Nicola
00a8fc1c3d
Merge pull request #18459 from Giga-Bowser/match-placeholders
feat: Use snippet placeholders for generated match arms
2024-11-19 17:12:16 +00:00
Christian Schwarz
effe9ac712
improve selection handling for merge_match_arms 2024-11-19 08:22:13 +01:00
Tarek
a96a0934de
feat: migrate reorder_impl_items assist to use SyntaxFactory
Signed-off-by: Tarek <tareknaser360@gmail.com>
2024-11-17 12:17:44 +02:00
Laurențiu Nicola
647749aa32
Merge pull request #18519 from ChayimFriedman2/invalid-offset
fix: Fix related documents diagnostics
2024-11-17 07:06:29 +00:00
Chayim Refael Friedman
744e8e870c Fix related documents diagnostics
They were converted to LSP position using the current file's line index, which is obviously wrong.
2024-11-16 21:17:15 +02:00
Laurențiu Nicola
cc4ffa7d6f
Merge pull request #18518 from lnicola/bump-xshell
minor: Bump xshell
2024-11-16 16:16:59 +00:00
Laurențiu Nicola
9f4f903bcf Bump xshell 2024-11-16 18:02:44 +02:00
David Kurilla
c627c1a294 style: remove needless borrow 2024-11-15 19:08:01 +00:00
David Barsky
5e31398fac
Merge pull request #18495 from tareknaser/syntax_factory_reorder_fields
Migrate `reorder_fields` Assist to Use `SyntaxFactory`
2024-11-15 18:05:36 +00:00
David Kurilla
34dd288376 style: cargo fmt 2024-11-15 18:02:16 +00:00
Tarek
acb9da7c93
feat: migrate reorder_fields assist to use SyntaxFactory
Signed-off-by: Tarek <tareknaser360@gmail.com>
2024-11-13 15:02:08 +02:00
David Kurilla
5458612e04 fix: remove unused imports 2024-11-13 00:06:12 +00:00
David Kurilla
9085744662 fix: fix indentation error 2024-11-12 23:58:24 +00:00
David Kurilla
421661553f fix: fix immutable tree error 2024-11-12 22:43:48 +00:00
Laurențiu Nicola
61dba0292d
Merge pull request #18503 from SomeoneToIgnore/kb/better-resolve-indexing
Use completion item indices instead of property matching when searching for the completion item to resolve
2024-11-11 16:31:11 +00:00
Kirill Bulatov
e646263abc Update the file hash 2024-11-11 16:06:55 +01:00
Kirill Bulatov
572ae698be Use completion item indices instead of property matching when searching for the completion item to resolve 2024-11-11 15:50:04 +01:00
Laurențiu Nicola
c2ffafdc9a
Merge pull request #18482 from regexident/hir_trait_supertraits_accessors
internal: Add public `direct_supertraits(…)` & `all_supertraits(…)` accessor methods to `hir::Trait`
2024-11-11 06:58:17 +00:00
Laurențiu Nicola
a11877735c
Merge pull request #18492 from samestep/docs-dev-no-design-label
Replace Design label with C-Architecture
2024-11-10 18:46:57 +00:00
Sam Estep
29f84262a4 Replace with C-Architecture 2024-11-10 13:34:26 -05:00
Laurențiu Nicola
0aa0bd253a
Merge pull request #18493 from Master-Hash/fix-code-debugengine-config
editors/code: Update supported debug engines in config
2024-11-08 08:57:41 +00:00
Master-Hash
ef8a0c0016
editors/code: Match supported debug engines in config with actual supported ones 2024-11-08 08:33:32 +01:00
Laurențiu Nicola
f9d7f6dd34
Merge pull request #18486 from Wilfred/update_minimum_vscode
editors/code: Change minimum VS Code from 1.78 to 1.83
2024-11-08 06:51:14 +00:00
Sam Estep
01726389fb Delete design label from list 2024-11-07 11:49:22 -05:00
Laurențiu Nicola
668f3881d2
Merge pull request #18490 from ShoyuVanilla/dyn-compat-rename
minor: Rename `dyn compatible` to `dyn-compatible`
2024-11-07 14:21:40 +00:00
Shoyu Vanilla
902a2c5060 minor: Rename dyn compatible to dyn-compatible 2024-11-07 23:00:29 +09:00
Wilfred Hughes
cd6ddcaf42 editors/code: Change minimum VS Code from 1.78 to 1.83
It's been a year since we last bumped this (see #15904), and VS Code
1.83 is the first version that supports LSP 3.17.5 (via
vscode-languageclient 9.0.1).

https://code.visualstudio.com/updates/v1_83#_language-server-protocol
2024-11-06 15:00:59 -08:00
David Kurilla
c588849044 feat: convert add_braces to SyntaxFactory SyntaxEditor abstraction 2024-11-06 14:45:00 +00:00
Vincent Esche
d5dec8ab03 Add direct_supertraits(…) HIR-level method to hir::Trait type 2024-11-06 10:02:13 +01:00
Vincent Esche
de30d7dc37 Add pub fn direct_super_traits(db, trait_id) to hir_ty crate 2024-11-06 10:02:13 +01:00
Vincent Esche
fa393dd9d8 Refactor hir::Trait's existing items_with_supertraits(…) method based on new all_supertraits(…) method 2024-11-06 10:02:13 +01:00
Vincent Esche
80df05b8b8 Add pub fn all_supertraits(…) HIR-level method to hir::Trait type 2024-11-06 10:02:13 +01:00
Giga Bowser
bbfee60104 Properly use final tabstop when adding missing match arms 2024-11-05 12:19:20 -05:00
Laurențiu Nicola
69437d15b2
Merge pull request #18478 from lnicola/triagebot-transfer
minor: Enable triagebot `transfer` feature
2024-11-04 19:51:08 +00:00
Laurențiu Nicola
59ee3bd948 Enable triagebot transfer feature 2024-11-04 21:35:10 +02:00
Laurențiu Nicola
56f46c2826
Merge pull request #18477 from lnicola/rm-ap-text-edit
minor: Don't try to auto-publish text-edit
2024-11-04 13:37:01 +00:00
Laurențiu Nicola
1330cd1888 Don't try to auto-publish text-edit 2024-11-04 15:23:05 +02:00
Lukas Wirth
acfacff642
Merge pull request #18475 from Veykril/push-zkvkpxttozup
Support new #[rustc_intrinsic] attribute and fallback bodies
2024-11-04 12:48:00 +00:00
Lukas Wirth
5cbfb7422b Support new #[rustc_intrinsic] attribute and fallback bodies 2024-11-04 13:33:55 +01:00
Lukas Wirth
aa59ac3ada
Merge pull request #18473 from Veykril/push-xnlzukoqttvz
Render extern blocks in `file_structure`
2024-11-04 11:34:35 +00:00
Lukas Wirth
8071cbd730 Render extern blocks in file_structure 2024-11-04 12:21:05 +01:00
Laurențiu Nicola
0cd3fb2da9
Merge pull request #18472 from lnicola/reinterpret-function-casing
minor: Fix feature name casing
2024-11-04 08:39:50 +00:00
Laurențiu Nicola
9f4e71940f Fix feature name casing 2024-11-04 10:27:32 +02:00
Lukas Wirth
43c20c21e3
Merge pull request #18470 from Veykril/push-rxmtkvpulotn
Allow interpreting consts and statics with interpret function command
2024-11-03 14:49:27 +00:00
Lukas Wirth
56e89bc5a4 Allow interpreting consts and statics with interpret function command 2024-11-03 15:35:45 +01:00
Lukas Wirth
72d9929ccd
Merge pull request #18469 from Veykril/push-zwnywqmvtuts
feat: Show `static` values on hover
2024-11-03 13:00:32 +00:00