Lukas Wirth
d085ade631
Remove dead test code
2024-03-14 16:24:51 +01:00
Lukas Wirth
d2f8eae2ec
feat: Support macro calls in eager macros for IDE features
2024-03-14 15:40:35 +01:00
Lukas Wirth
cdfb73ab9c
fix: Fix proc-macro server not accounting for string delimiters correctly
2024-02-22 22:34:03 +01:00
Lukas Wirth
ed57008510
fix: Validate literals in proc-macro-srv FreeFunctions::literal_from_str
2024-02-13 12:33:51 +01:00
Lukas Wirth
9e8e124269
Special case fixup spans in server::Span impl, they are immutable
2023-12-22 10:13:00 +01:00
Lukas Wirth
9197b541c2
Fix dead code warnings
2023-12-21 17:23:56 +01:00
Lukas Wirth
f427f56812
Implement other non-db reliant server::Span functions
2023-12-21 17:23:04 +01:00
Lukas Wirth
428a34a9b4
Implement server::Span::Join
2023-12-21 17:23:04 +01:00
Lukas Wirth
a892237ed4
Add rust-analyzer-span server feature equivalent to the ID server
2023-12-21 17:22:59 +01:00
Lukas Wirth
0003e568ca
Pass calling span through to builtin macro expansions
2023-12-01 14:11:57 +01:00
Lukas Wirth
b98597f06d
Re-enable proc-macros
2023-11-28 16:28:56 +01:00
Lukas Wirth
7498ec730e
Drop support for non-syroot proc macro ABIs
2023-03-29 10:57:32 +02:00
Lukas Wirth
41a46a78f2
Make tt generic over the span data
2023-01-31 14:58:16 +01:00
Daniel Eades
77051679d7
use inline format args
2023-01-02 14:52:32 +00:00
Ryo Yoshida
de591f08d6
Handle raw identifiers in proc macro server
2022-12-04 00:26:05 +09:00
Ryo Yoshida
7577c44c65
Update proc-macro-srv tests
2022-11-17 01:42:56 +09:00
Lukas Wirth
f57cd838d8
Don't run proc-macro-srv tests on the rust-analyzer repo
...
proc-macro ABI breakage still affects the tests when a new stable version
releases. Ideally we'd still be able to run the tests on the rust-analyzer
repo without having to update the proc-macro ABI, but for now just to
unblock CI we will ignore them here, as they are still run in upstream.
2022-09-24 00:08:28 +02:00
Edwin Cheng
c47914c6cf
Fixes tests
2022-08-10 16:29:23 +08:00
Amos Wenger
246947b779
Fix raw ident handling (a little)
2022-07-21 19:13:44 +02:00
Amos Wenger
941416a1d6
Add test for idents incl. raw idents
2022-07-21 18:48:19 +02:00
Amos Wenger
9cf99a9c71
Stringify literals create client-side properly
2022-07-21 18:44:41 +02:00
Amos Wenger
36d825fd5d
Add test for literals created client-side
2022-07-21 18:29:28 +02:00
Amos Wenger
f5042947ce
Add proc-macro-srv integration test that clones literals
...
This exercises some of the upcoming proc_macro bridge changes. It
should also pass for all supported ABIs, with the older-style bridge.
2022-07-20 16:43:40 +02:00
Jonas Schievink
5ad981ba67
Remove outdated proc macro ABIs
2022-07-18 14:58:50 +02:00
Peh
1f011fa4a3
style: rename crates to kebab case
2022-05-01 10:48:58 +00:00