Commit graph

70 commits

Author SHA1 Message Date
Myriad-Dreamin
b52ad52760
feat: completion on func.where and func.with (#204) 2024-04-20 15:17:47 +08:00
Myriad-Dreamin
b35d897919
feat: complete function parameters on signatures inferred by type checking (#203)
* dev: check upper bound types in assigning positions

* dev: check template signatures

* feat: completion with type sigatures

* dev: document a bit

* dev: save todo work on auto completion on user functions

* dev: fix document target

* dev: remove playground snaps

* dev: fix ident target

* dev: update snapshot
2024-04-20 15:03:46 +08:00
Myriad-Dreamin
987a7da867
feat: complete arguments enhanced by type inference (#186)
* auto complete code in param position

* dev: initial path completion in params

* fix: compile error

* remove two todo

* dev: improve get_deref_target

* check string during completion

* feat: complete path arguments

* feat: identify hash before function follows a content parameter

* dev: complete text.size, text.dir, stack.dir, stroke dict

* dev: add record type

* dev: complete stroke dict

* fix: correct kind of langauge of code tooltip

* dev: add colon trigger character

* dev: let type selection complete

* dev: complete inset/outset/margin/radius dictionary types

* dev: complete raw theme/syntaxes, bib path types

* dev: complete all files at the same time

* dev: update snapshot
2024-04-15 00:17:54 +08:00
QuarticCat
ebed95cbcd
fix: improve release profile & fix typos (#177)
* dev: split a gh-release profile to accelerate development

* fix: many typos

* fix: miri warnings

* fix: update fixtures
2024-04-10 11:34:18 +08:00
Myriad-Dreamin
1c5c6bd929
feat: go to definition of include paths (#156) 2024-04-04 11:11:23 +08:00
Myriad-Dreamin
bd610b2323
feat: auto complete parameters after completing a function (#150)
* feat: auto complete parameters after completing a function

* dev: update snapshot

* dev: update completion snapshot
2024-04-02 18:50:02 +08:00
Myriad-Dreamin
d708bdfe2d
feat: complete parameters on user functions (#148)
* fix: skip tabs that have no uris for reopening pdf

* dev: lift call analysis

* feat: complete parameters on user functions
2024-04-02 17:12:20 +08:00
Myriad-Dreamin
f7fd47d62c
dev: don't do complete on definition itself (#135)
* dev: don't do completion on definition itself.

* dev: update snapshot hash
2024-03-30 21:09:06 +08:00
Myriad-Dreamin
36536bbc6b
feat: support import path completion (#134)
* feat: path completion

* fix: package snippet order

* dev: update snapshot hash

* fix: completion
2024-03-30 20:44:27 +08:00
Myriad-Dreamin
0eae40dec6
dev: intern completion code (#124)
* dev: intern completion code

* dev: change completion kind of symbols to FIELD

* fix: accept hash

* fix: reduce redundant information
2024-03-29 19:46:10 +08:00
Myriad-Dreamin
76b4e91046
feat: allow running server with loading font once and on rootless files (#94)
* dev: change system config

* docs: update config doc

* dev: clean up tightly coupled world

* dev: load font once

* docs: add more comments to tinymist-query

* dev: merge compiler layers

* feat: allow run lsp on rootless files

* build: bump ts

* fix: workspace dep

* build: bump preview

* dev: correctly check inactive state

* fix: weird cargo default features
2024-03-26 10:33:56 +08:00
Myriad-Dreamin
cc1f418423
dev: reduce a bundle of ts usage in query crate (#72) 2024-03-18 23:00:27 +08:00
Myriad-Dreamin
9d344570b4
dev: borrow the document state inside of compiler (#33) 2024-03-14 20:37:14 +08:00
Myriad-Dreamin
8bfbe7706e dev: use implicit autocomplete 2024-03-11 15:58:07 +08:00
Myriad-Dreamin
e6a1397c20 fix: shifted completion cursor 2024-03-10 21:32:32 +08:00
Myriad-Dreamin
2a60c1caf9 fix: call typst-ide with cursor values 2024-03-10 01:38:31 +08:00
Myriad-Dreamin
964def25a9 fix: don't panic on bad node range 2024-03-08 21:13:22 +08:00
Myriad-Dreamin
50ca444915 feat: associate request function 2024-03-07 16:31:16 +08:00
Myriad-Dreamin
0c7e67ed9a feat: forward const config 2024-03-07 16:12:49 +08:00
Myriad-Dreamin
9af8eb4b52 feat: create query crate 2024-03-07 13:35:45 +08:00