64 Commits

Author SHA1 Message Date
Laurenz
a5a4b0b72f Introduce IdeWorld trait 2024-11-13 10:21:40 +01:00
Laurenz
03ba5a0cb1 Do not complete existing positional parameters 2024-11-13 10:21:40 +01:00
Laurenz
0b143c7df9 Star import tooltip 2024-11-13 10:21:40 +01:00
Laurenz
3d1cad2bec Simplify tooltip tests 2024-11-13 10:21:40 +01:00
Laurenz
5d003fb1b2 Autocomplete different functions with different brackets 2024-11-13 10:21:40 +01:00
Laurenz
c526f031cc Fix #cite autocompletion 2024-11-13 10:21:40 +01:00
Laurenz
6f294eac56 Simplify autocompletion tests
A

A
2024-11-13 10:21:40 +01:00
Yip Coekjan
19bde34876
Remove unused dependencies (#5379) 2024-11-07 08:47:27 +00:00
Laurenz
be7cfc85d0
Split out four new crates (#5302) 2024-10-27 18:04:55 +00:00
Laurenz
92aacdb480
Fix scales for unit conversion (#5169) 2024-10-10 15:51:48 +00:00
Laurenz
04df1264ef
Fix duration formatting precision (#5082) 2024-10-01 12:32:27 +00:00
Laurenz
d94acd615e
Add internal URL type (#5074) 2024-09-30 12:45:44 +00:00
Sébastien d'Herbais de Thun
a5b506c424
Make jump_from_cursor return a vector of Position (#4886) 2024-09-26 08:53:31 +00:00
Laurenz
986d624b3a
Share allocations for singletons (#4794) 2024-08-20 10:56:54 +00:00
Laurenz
09e0464e87
Fix duplicate completions (#4563) 2024-07-15 18:01:51 +00:00
Myriad-Dreamin
a3f3a1a833
Change the signature of World::main (#4531)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-14 13:14:21 +00:00
Laurenz
be516867c8
Spans for cross-file go-to-definition (#4539) 2024-07-11 14:24:28 +00:00
Myriad-Dreamin
46ab4edea6
Basic Definition Finder for IDE (#4309)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-09 15:46:38 +00:00
shinyfelix
b1219395b1
Fix suggestions for '.' after code mode has exited. (#4470) 2024-07-09 15:22:08 +00:00
+merlan #flirora
781eea632f
Add message when trying to access a field that is not set (#4399)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-06-22 08:59:52 +00:00
Laurenz
a2c9807159
Fix backlinks (#4409) 2024-06-17 12:15:24 +00:00
Laurenz
a68a241570
Remove Tracer (#4365) 2024-06-10 09:00:54 +00:00
Laurenz
f91cad7d78
Pure location assignment (#4352) 2024-06-09 13:23:56 +00:00
Laurenz
a51bd3f0b6
Simplify paragraph collection (#4301) 2024-05-30 13:39:50 +00:00
Laurenz
fa7fbb8274
Tests for jump from click/cursor (#4297) 2024-05-30 12:06:36 +00:00
Laurenz
54604ccb6b
Fix Default impls for AST nodes (#4288) 2024-05-29 14:32:20 +00:00
Laurenz
a52987a8c2
Refactor frame metadata into tags (#4212) 2024-05-22 09:26:03 +00:00
Laurenz
2d32ac73b6
Replace all Prehashed with LazyHash (#4127) 2024-05-13 17:54:34 +00:00
Laurenz
95cd6adf24
Factor out typst-utils crate (#4125) 2024-05-13 15:25:43 +00:00
Myriad-Dreamin
329b0f9b8d
Slice the before_window at char boundaries (#4028)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-05-06 14:00:51 +00:00
Laurenz
020294fca9
Better test runner (#3922) 2024-04-13 08:39:45 +00:00
Laurenz
b3615ccd49
A few CI and crate config changes (#3852) 2024-04-02 14:16:44 +00:00
Myriad-Dreamin
092f6dc462
Fix source path resolution in import analysis (#3842) 2024-04-01 20:54:49 +00:00
Matthew Toohey
dee8ccf048
Add side parameter to leaf_at (#3767) 2024-04-01 20:22:54 +00:00
Laurenz
faca50a240
Final touches (#3678) 2024-03-15 14:47:41 +00:00
Laurenz
633c32a552
Track context (#3623) 2024-03-12 10:28:15 +00:00
Laurenz
a2d097686f
Update changelog and roadmap (#3594) 2024-03-09 16:56:56 +00:00
Laurenz
e6fddd68e3
Fix package autocompletion deduplication (#3525) 2024-02-28 16:29:44 +00:00
Laurenz
8d63b0479c
Make use of is_some_and where applicable (#3523) 2024-02-28 14:24:50 +00:00
Laurenz
145723b1ef
New context system (#3497) 2024-02-27 10:05:16 +00:00
Laurenz
be49935753
Destructuring improvements (#3463) 2024-02-21 08:38:47 +00:00
Laurenz
6ac71eeaf7 Add Page struct
To get rid of the Meta hack where numbering and things like that are stored in the frame.
2024-01-17 21:53:20 +01:00
Laurenz
293a715443 Adjust signature of jump_from_cursor 2023-11-30 19:09:42 +01:00
Sébastien d'Herbais de Thun
5bdec9e1d8
Optimized labels & introspector (#2801)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-11-30 12:57:04 +01:00
Laurenz
b5ef789315 Add missing details for type completion 2023-11-28 12:13:43 +01:00
Laurenz
713cde1136 Make workspace inheriting consistent 2023-11-27 16:54:55 +01:00
danieleades
e36a18b991
Use clippy workspace lints and inline format args (#2771) 2023-11-27 11:34:14 +01:00
Laurenz
85b1d1d4dd Rework Vt into Engine
- Moves as much data out of the `Vm`
- Removes duplication with call_vm and call_vt flavours
- Uses tracked chain instead of fixed int for determining max nesting depth
- This means that nesting checks now generalizes to layout and realization, to detect crashing show rules and overly nested layouts
2023-11-26 19:03:21 +01:00
Laurenz
704bec64ae Move delayed errors into tracer 2023-11-24 12:38:27 +01:00
Laurenz
7eebafa783 Merge typst and typst-library 2023-11-24 12:30:02 +01:00