Commit graph

140 commits

Author SHA1 Message Date
Myriad-Dreamin
b635f06619
build: bump version to 0.11.2 (#136)
* docs: update documents

* fix: correct order of building binaries

* build: bump version to 0.11.2

* docs: redirect changelog

* docs: update document tips

* docs: update insert template in place tips

* build: bump typstyle version to 0.11.7
2024-03-30 23:02:43 +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
90ef2e6f72
dev: improve punctuation and keyword token kinds (#133)
* dev: improve punctuation and keyword token kinds

* dev: improve punctuation and keyword token kinds
2024-03-30 20:04:34 +08:00
Myriad-Dreamin
edbb7bc1af
fix: empty url sent from neovim (#130)
* fix: empty url sent from neovim

* dev: move e2e build script

* dev: make stronger name for empty urls

* fix: work around empty url

* fix: convert empty link on unix system
2024-03-30 20:04:03 +08:00
Myriad-Dreamin
b76e80bad3
fix: dedent documentation correctly (#132) 2024-03-30 19:04:07 +08:00
Myriad-Dreamin
c32e6e3097
fix: documentation issues (#131) 2024-03-30 18:51:30 +08:00
Myriad-Dreamin
edd21deaca
feat: support entry configuration (#122) 2024-03-30 18:51:17 +08:00
Myriad-Dreamin
21a872bbe8
fix: wrong completion kind (#127)
* fix: wrong completion kind

* dev: add completion requests back to e2e testing
2024-03-30 17:14:50 +08:00
Myriad-Dreamin
2c13d7efdd
feat: minimal diff algorithm for source formatting (#123)
* feat: minimal diff algorithm for source formatting

* fix: typo
2024-03-29 19:46:30 +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
529b422189
feat: support untitled url scheme for unsaved documents (#120) 2024-03-29 15:26:46 +08:00
Myriad-Dreamin
d53bd80d14
dev: ensure to run a single compiler instance (#119)
* build: remoe tinymist deps on tests

* dev: ensure unique running compiler

* docs: update some comments
2024-03-29 14:36:02 +08:00
Myriad-Dreamin
3a0e8e3d26
fix: converts out of bounds offsets again (#115)
* fix: converts out of bounds offsets again

* fix: wrong length calculation

* dev: accept hash
2024-03-29 02:20:12 +08:00
Myriad-Dreamin
d4dda9e06f
feat: support formatters (#113)
* feat: supports formatter

* feat: supports dynamic configuration and typstfmt

* fix: test
2024-03-28 16:28:00 +08:00
Myriad-Dreamin
0114bf4a3b
feat: allow tracing typst programs in subprocess (#112)
* feat: add compiler mode

* feat: implement compiler mode

* dev: imtroduce typst timings
2024-03-27 22:51:51 +08:00
Myriad-Dreamin
3380bfdb7d
dev: make a lsp function for testing (#70)
* dev: make a lsp function for testing

* dev: split modes futhermore
2024-03-27 13:56:32 +08:00
Myriad-Dreamin
3344eebe3f
feat: correctly parse and show hover doc (#105)
* feat: seperate content on hover tips

* dev: half hover

* fix: ensure extracting docs correctly
2024-03-27 10:19:34 +08:00
Myriad-Dreamin
4d21026661
dev: more accurate deref target (#104) 2024-03-26 11:40:20 +08:00
Myriad-Dreamin
876827d39b
dev: recover sys.inputs configuration (#103) 2024-03-26 11:40:12 +08:00
Myriad-Dreamin
63d332f8d9
refactor: make state query functions closer (#102) 2024-03-26 11:40:05 +08:00
Myriad-Dreamin
413c2e8deb
feat: add svg and png export (#101) 2024-03-26 11:25:46 +08:00
Myriad-Dreamin
e649ad308f
refactor: tidy up compiler server/client actors (#100)
* refactor: split construct/preview code

* refactor: clean server-client actors

* fix: infinite loop

* fix: compile error
2024-03-26 11:15:32 +08:00
Myriad-Dreamin
37982a6870
fix: error tolerance on external paths (#96) 2024-03-26 10:54:26 +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
b6dd6671c3
fix: convert EOF position correctly (#92) 2024-03-23 18:59:19 +08:00
Myriad-Dreamin
a0c434477c
refactor: remove listeners (#90) 2024-03-23 12:56:30 +08:00
Myriad-Dreamin
67a05a97c8
dev: remove InitializeParamsExt (#89) 2024-03-23 10:46:24 +08:00
Myriad-Dreamin
81ed159e90
dev: test libraries in CI (#69)
* fix: canonicalize line feed for testing

* dev: test libraries in CI

* build: remove wrapper
2024-03-23 09:16:32 +08:00
Myriad-Dreamin
10c3e0134a
feat: disable bracket colorizing according to textmate scopes (#81)
* feat: disable bracket colorizing according to textmate scopes

* feat: use typc as highlighting language
2024-03-22 21:23:26 +08:00
Myriad-Dreamin
bc9e2aa1e1
feat: parse comments for hover tooltip (#78) 2024-03-21 03:05:16 +08:00
Myriad-Dreamin
a3948df5da
feat: init syntax library for function hover tip (#77)
* dev: introduce upstream tooltip

* feat: basic function definition

* feat: init syntax library

* abandon

* build: run syntax building

* fix: let expression

* fix: markup in code

* fix: raw code
2024-03-20 12:18:57 +08:00
Myriad-Dreamin
14fc4819f1
feat: hover tooltip on functions (#76)
* dev: introduce upstream tooltip

* feat: basic function definition
2024-03-20 00:02:11 +08:00
Myriad-Dreamin
7e94c7d47c
feat: provides correct semantic highlighting (#71)
* dev: initialize highlight test

* dev: add more cases

* fix: overlapping token

* fix: multiple lines token
2024-03-19 01:20:22 +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
c6509325a8
fix: steal the latest compiled document for lsp functions (#68) 2024-03-18 17:36:58 +08:00
Myriad-Dreamin
2fe992e933
dev: convert all syntax-level request and check main state before requesting (#67) 2024-03-18 17:36:43 +08:00
Myriad-Dreamin
342c8969dc
feat: provide dhat instrumenting feature for heap usage analysis (#64)
* fix: get missing header in mirrorred input.

* feat: provide dhat instrumenting feature for heap analysis.
2024-03-18 02:29:00 +08:00
Myriad-Dreamin
d937153888
feat: init template in place (#62) 2024-03-17 16:59:21 +08:00
Myriad-Dreamin
3c37ce174a
build: bump version to 0.10.3 (#54)
* build: bump typst to v0.11.0

* build: bump dependencies

* build: update readme and changelog

* build: bump version to 0.10.3

* fix: use a different branch for building

* build: set correct rev to typst-preview

* fix: in perfects
2024-03-17 00:57:36 +08:00
Myriad-Dreamin
d8cc783c14
feat: supports vscode variables in configurations and (#53)
+ more testing and validation
2024-03-16 23:12:40 +08:00
Myriad-Dreamin
9b7b4d7f56
dev: change position of inlay hint params (#51)
* dev: change position of inlay hint params

* dev: update test snapshot
2024-03-16 16:53:54 +08:00
Myriad-Dreamin
c92149fa3e
feat: add init template command (#50)
* feat: add init template command

* dev: remove bad patch
2024-03-16 13:21:29 +08:00
Myriad-Dreamin
f4fd0fc276
feat: leave typst-preview as optional dependencies (#49)
* feat: leave typst-preview as optional dependencies

* build: configure cargo.toml correctly
2024-03-16 11:09:04 +08:00
Myriad-Dreamin
222681ca97
feat: disable inlay hints on one line content blocks (#48) 2024-03-16 10:22:10 +08:00
Myriad-Dreamin
d5c7bcdd18
feat: support syntax analysis on packages (#47)
* feat: support syntax analysis on packages

* dev: add more tests
2024-03-16 10:21:59 +08:00
Myriad-Dreamin
f683426753
feat: allow fuzzy selection to deref targets (#46) 2024-03-16 04:22:54 +08:00
Myriad-Dreamin
be244840b2
feat: support rest code lens (#45) 2024-03-16 04:21:10 +08:00
Myriad-Dreamin
2d2857e6f3
docs: refactor and documenting analyzer code (#44)
* dev: refactor and documenting analyzer code

* dev: documenting some lsp api
2024-03-16 02:54:56 +08:00
Myriad-Dreamin
da7028f59c
dev: reimplements definition analysis (#43)
* dev: reimplements definition based on def use analysis

* dev: reimplements lsp apis based on new definition api

* fix: most cases of references

* fix: scope of params
2024-03-15 22:05:53 +08:00