Commit Graph

52 Commits

Author SHA1 Message Date
Ian Wrzesinski cfb3b1a270
Improve clarity of `ast.rs` for newcomers to the codebase (#5784)
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
Co-authored-by: T0mstone <39707032+T0mstone@users.noreply.github.com>
2025-02-26 20:10:36 +00:00
Laurenz 8f039dd614
Only autocomplete methods which take self (#5824) 2025-02-25 14:10:01 +00:00
Laurenz 69c3f95705
Bump MSRV to 1.83 and Rust in CI to 1.85 (#5946) 2025-02-24 12:28:01 +00:00
Laurenz a0cd89b478
Fix autocomplete and jumps in math (#5849) 2025-02-11 10:30:30 +00:00
Laurenz d897ab5e7d
Autocomplete content methods (#5822) 2025-02-06 09:34:28 +00:00
Laurenz 50ccd7d60f
Scope deprecations (#5798) 2025-02-04 09:38:31 +00:00
Laurenz eee903b0f8
Refactor `Scope` (#5797) 2025-02-03 16:04:54 +00:00
Laurenz be1fa91a00
Modular, multi-threaded, transitioning plugins (#5779) 2025-01-30 13:36:15 +00:00
Laurenz e2b37fef33
Revamp data loading and deprecate `decode` functions (#5671) 2025-01-09 09:34:16 +00:00
Laurenz db06dbf976
Further improve IDE tests (#5602) 2024-12-18 19:26:39 +00:00
Yifan Song 45c866fbb9
Fix autocompletion of half-completed import item (#5531)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-18 18:11:13 +00:00
Laurenz f8f2ba6a5f Rename `Document` to `PagedDocument` 2024-12-04 10:12:07 +01:00
Laurenz d40c8ab6ab
Compile-time `PicoStr` interning (#5491) 2024-11-29 15:03:08 +00:00
Laurenz 7add9b459a Smarter filtering of scope completions 2024-11-13 10:21:40 +01:00
Laurenz de59d64d10 Simplify go-to-definition 2024-11-13 10:21:40 +01:00
Laurenz 6c22ba1cbd Move a few things into separate files 2024-11-13 10:21:40 +01:00
Laurenz 366348b196 Figure body snippets 2024-11-13 10:21:40 +01:00
Laurenz 65bb1fbe6a Distinguish between more completion kinds 2024-11-13 10:21:40 +01:00
Laurenz c0dfe4aab7 Autocomplete file paths 2024-11-13 10:21:40 +01:00
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 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
Laurenz be7cfc85d0
Split out four new crates (#5302) 2024-10-27 18:04:55 +00:00
Laurenz 09e0464e87
Fix duplicate completions (#4563) 2024-07-15 18:01:51 +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 a68a241570
Remove `Tracer` (#4365) 2024-06-10 09:00:54 +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
Matthew Toohey dee8ccf048
Add side parameter to leaf_at (#3767) 2024-04-01 20:22:54 +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
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 7eebafa783 Merge `typst` and `typst-library` 2023-11-24 12:30:02 +01:00
Laurenz 2da619e17c Streamline imports 2023-11-19 16:34:38 +01:00
frozolotl d93ed1b3d8
Implement Oklch support (#2611) 2023-11-10 10:31:06 +01:00
Laurenz 7f0fcda376 Move some things out of `util` 2023-11-08 23:42:45 +01:00
Sébastien d'Herbais de Thun c0f6d2004a
Content rework 2 - Electric Boogaloo (#2504) 2023-11-06 21:37:50 +01:00
Laurenz 5a6cadefda Label autocompletion 2023-10-30 22:54:17 +01:00
Laurenz f474639ebe Hashtag -> Hash 2023-10-09 16:04:10 +02:00
MALO 333e4037fc
Add `Repr` trait (#2269) 2023-10-04 12:08:56 +02:00