Myriad-Dreamin
8ca953dbed
feat: identify identifier kind for semantic highlighting ( #741 )
...
* feat: identify identifier kind for semantic highlighting
* test: update snapshot
2024-10-29 10:52:41 +08:00
Myriad-Dreamin
1d49e110e2
dev: cache expression information correctly ( #736 )
...
* dev: cache expression information correctly
* rev
2024-10-27 20:20:59 +08:00
Myriad-Dreamin
2c38695b6f
docs: maintain readme and command docs ( #733 )
...
* docs: maintain readme and command docs
* docs: update inline images
* test: update snapshot
* test: update baseline
* test: update baseline
2024-10-26 22:47:12 +08:00
Myriad-Dreamin
81ebc8a635
feat: implement expression checker ( #714 )
...
* feat: implements expression checker
* dev: resolve information
* dev: delete def_use
* stage
* stage
* stage
* stage concurrent
* stage concurrent
* dev: better concurrency
* dev: final constant evaluation improvement
* dev: change reference site
* dev: handle comments
* dev: remove indirect import structure
* dev: adjust linked_def impl
* dev: finalize goto definition impl
* dev: replace all old import and def_use analyses with expr analysis
* dev: update expr_of snapshots
* dev: split def/expr, refactor definition
* dev: more consistent definition solver
* dev: rename definition crate
* dev: references work again
* dev: resolve root decl
* dev: resolve root decl
* dev: resolve global definitions
* dev: resolve tokens with world
* feat: render semantic tokens with expression information
* dev: loop detection
* dev: recover type checking
* dev: recover more type checking
* dev: refactor analysis context
* fix: process case of spread left
* dev: label inference
* dev: recover more signature checking
* dev: recover more ident reference checking
* dev: pass all tests
* Revert "dev: dirty changes"
This reverts commit 9ae2dacd0c96851e088feea76c61c184a1cf9722.
* test: update snapshot
* fix: bad cached signatures
* fix: slash problem
2024-10-25 23:52:11 +08:00
Myriad-Dreamin
ff535a1924
fix: bump version to 0.12.0-rc1 (real) ( #710 )
...
* test: update snapshot
* fix: actually bump to 0.12.0-rc1
2024-10-19 23:03:10 +08:00
Myriad-Dreamin
66fff06dfe
build: bump tinymist to 0.12.0-rc1 ( #708 )
...
* feat: support nightly typst (#600 )
* feat: support for custom certificate configuration (#592 )
* feat: add certificate option
* refactor: move SystemCompilerFeat into tinymist-world
* feat: move HttpRegistry as HttpsRegistry into tinymist-world
* feat: add reading pem file
* feat: update LspUniverseBuilder::build
* feat: fill missing argument of LspUniverseBuilder::build
* chore: update lock file for additional dependencies
* chore: refine comment for certification
* refactor: simplify by new constructor
* refactor: sort arguments for threaded_http
* refactor: split https.rs from lib.rs in tinymist-world
* feat: provide package view and local documentation (#596 )
* feat: move featured components
* feat: provide package view and local documentation
* stage
* fix: compile error by merged commits
* fix: ignore system fonts correctly (#597 )
* feat: adapt nightly typst
chore: use mainline typst
fix: `leaf_at` second parameter
fix: build `Engine`
fix: `interpret_mode_at` converage
feat: use my typst
fix: use `typst::trace` to trace
fix: frameitem
fix: new kinds
fix: new scope
fix: lazyhash
fix: result
fix: new SyntaxKinds
fix: utils, lazyhash
chore: remove useless imports
fix: sink
feat: frameitem
fix: export svg with page
fix: deref span
styl:
deps
fix: lazyhash
deps: use my typstyle
fix: enable contenthint with feature
fix: leaf_at side
fix: compile.output
deps
fix: warnings
deps: use new branch name
fix: fix merge error
ci: update ci branch
test: accept new test snap
fix: fix compile
deps: update typst
fix: fix compilation for latest tinymist
fix: fix tests
fix: fix tests
* chore: clean useless imports
---------
Co-authored-by: ricOC3 <100465762+ricOC3@users.noreply.github.com>
Co-authored-by: Myriad-Dreamin <35292584+Myriad-Dreamin@users.noreply.github.com>
* fix: compile warnings and errors
* fix: add round_2 back
* fix: pdf options
* build: bump version to 0.11.33
build: bump version to 0.11.31 (#652 )
build: lock git branches
build: bump version to 0.11.23-rc1
dev: update cargo.toml
deps: update typst, typst.ts, typstyle to tagged version (#624 )
build: bump version to 0.11.29 (#628 )
dev: nightly-0.11.31 (#649 )
* deps: update typst
* test: fix snapshot
fix: dependencies
dev: nightly 0.11.33 (#655 )
* deps: update typst, typst.ts, typstyle
* test: fix test hash
* fix: compile error
* fix: errors
* build: bump typst to 0.12.0
* dev: final bumps
* build: bump version to 0.11.34-rc1
* build: update cargo.lock
* test: update snapshot
---------
Co-authored-by: ParaN3xus <136563585+ParaN3xus@users.noreply.github.com>
Co-authored-by: ricOC3 <100465762+ricOC3@users.noreply.github.com>
2024-10-19 18:32:37 +08:00
Myriad-Dreamin
d9d10df7a4
feat: provide parameter docs in hover tips ( #702 )
...
* feat: supports parameter docs
* dev: update snapshot
2024-10-17 19:21:33 +08:00
Myriad-Dreamin
e57cf36f9b
feat: render hover docs with converted result ( #701 )
...
* feat: render hover docs with converted result
* dev: update snapshot
2024-10-17 19:18:36 +08:00
Myriad-Dreamin
e35b9f9c73
feat: handle func.with
stack during signature analysis ( #699 )
...
* fix: some cases of docs checking
* feat: check signature with binding stack
* feat: handle with stack
* dev: update snapshot
* dev: update snapshot
2024-10-17 18:57:17 +08:00
Myriad-Dreamin
39f343d536
feat: combine signature solving ( #696 )
...
* feat: combine signature solving
* dev: update snapshot
* dev: update snapshot
2024-10-17 18:45:52 +08:00
Myriad-Dreamin
6d62bffdeb
feat: type induction on builtin values ( #694 )
2024-10-17 01:02:00 +08:00
Myriad-Dreamin
de130dcc2c
refactor: reduce source cache and mutability ( #693 )
...
* dev: reduce source cache and mutability
* dev: update common imports
2024-10-16 23:17:52 +08:00
Myriad-Dreamin
4d23b57785
dev: caching static function signature analysis ( #692 )
2024-10-16 22:34:45 +08:00
Myriad-Dreamin
02bbdbf8d9
feat: incorporated with static function signature analysis ( #688 )
...
* feat: finished function signature analysis
* dev: update snapshot
* dev: broken snapshot
2024-10-16 15:53:43 +08:00
Myriad-Dreamin
a3f100e7cb
refactor: change PrimarySignature
structure to merge type checking info ( #687 )
...
* dev: support spread left params
* dev: stage merge
* dev: remove ParamSpecShort
* chore: remove useless code
* dev: merge all things back
* fix: testing
* fix: testing
* remove: useless method
2024-10-16 14:35:24 +08:00
Myriad-Dreamin
1f5be314a7
dev: shrink size of tag types ( #686 )
...
* dev: shrink size of tag types
* update: testing
2024-10-16 14:32:17 +08:00
Myriad-Dreamin
b9da92175e
dev: merge signature docs and rest docs ( #685 )
...
* dev: deduplicate code
* dev: merge signature docs and rest docs
* dev: change struct of the `DocString`
* dev: improve structure of SymbolDocs
2024-10-16 11:16:16 +08:00
Myriad-Dreamin
d121e8279d
refactor: split tinymist-query/docs crate ( #684 )
...
* dev: split docs code
* dev: rename a bit
* dev: refactor a bit
2024-10-15 22:58:27 +08:00
Myriad-Dreamin
957b58687e
feat: merge hover and docs function formatter ( #683 )
...
* feat: merge hover and docs function formatter
* dev: clean up a bit
* test: update snapshot
2024-10-15 21:31:13 +08:00
Myriad-Dreamin
190b7dfd45
feat: make star import tooltip more human readable ( #682 )
2024-10-15 21:26:45 +08:00
Myriad-Dreamin
c17e0c787e
feat: check variable type annotations in docstring ( #681 )
...
* feat: check variable type annotations in docstring
* dev: rollback playground changes
* dev: refactor a bit
2024-10-15 21:04:35 +08:00
Myriad-Dreamin
4aeb3747bc
feat: cache docstring building (Part. 2) ( #680 )
...
* feat: cache docstring building (Part. 2)
* dev: fix import
* dev: change some variable names
2024-10-15 18:50:43 +08:00
Myriad-Dreamin
3ed401740e
feat: read and check type annotations in docstring (Part. 1) ( #679 )
...
* feat: read and check type annotations in docstring
* fix: remove test.snap in playground
* chore: refactor and remove some dirty changes
2024-10-15 14:52:50 +08:00
Myriad-Dreamin
f2cb8805b4
fix: broken test_sig_call ( #675 )
2024-10-14 14:04:34 +08:00
Myriad-Dreamin
242a9253c6
dev: refactor analysis structure ( #674 )
2024-10-14 14:04:24 +08:00
Myriad-Dreamin
6124ac2837
chore: use PackageSpec::to_string
instead of homemade format ( #673 )
2024-10-14 14:04:14 +08:00
Myriad-Dreamin
7bc30bf2fa
test: init completion package tests ( #672 )
2024-10-14 13:15:27 +08:00
Myriad-Dreamin
28f2645c40
feat: call with default bindings ( #671 )
2024-10-14 13:06:11 +08:00
Myriad-Dreamin
e9ec60d2b5
feat: introduce type context trait TyCtx
( #670 )
...
* feat: introduce `TyCtx`
* core: simplify import
* feat: implement local bind apis
* build: update cargo.lock
* dev: rename `LocalTyCtx` back to `TyCtxMut`
2024-10-14 12:31:07 +08:00
Myriad-Dreamin
5898c60de1
feat: elementary tuple method checker ( #669 )
...
* feat: elementary tuple method checker
* dev: remove println!
2024-10-14 11:34:03 +08:00
Myriad-Dreamin
191c943936
feat: elementary select checker ( #668 )
...
* feat: elementary select checker
* dev: remove println!
2024-10-13 15:14:24 +08:00
Myriad-Dreamin
cc29728fc9
feat: implements ord for Ty
( #667 )
...
* feat: implements partial ord for `Ty`
* feat: implements ord for `Ty`
* test: update snapshot
2024-10-13 14:37:03 +08:00
Myriad-Dreamin
ae08ce8723
feat: send trace data via http instead of lsp stdio ( #660 )
2024-10-11 15:27:23 +08:00
Myriad-Dreamin
69aef36184
feat: cache dirs::data_dir
and dirs::cache_dir
( #659 )
...
* feat: create query packageDocs command to profile type checker
* feat: cache `dirs::data_dir` and `dirs::cache_dir`
2024-10-11 12:33:15 +08:00
Myriad-Dreamin
406b6bcb34
feat: identify static path references in documents ( #658 )
...
* feat: identify static path references in documents
* test: update snapshot
* test: update snapshot
2024-10-11 12:16:37 +08:00
Myriad-Dreamin
7b0fb6036d
feat: issue import changes request during willRenameFiles
( #648 )
...
* feat: issue import changes request during `willRenameFiles`
* test: update snapshot
* fix: snapshot
2024-10-09 14:53:19 +08:00
Myriad-Dreamin
c9846b1d0d
dev: use DETACHED_ENTRY
if no entry is provided ( #647 )
...
* dev: use `DETACHED_ENTRY` if no entry is provided
* fix: compile error
2024-10-09 14:39:24 +08:00
Myriad-Dreamin
2334593ec4
feat: automatically add indent on entering in the empty block math ( #646 )
2024-10-09 14:22:36 +08:00
Myriad-Dreamin
5ae003efcd
feat: rename modules by path ( #645 )
...
* dev: update new changes
* feat: rename modules
* dev: skip abs test
2024-10-09 14:22:23 +08:00
Myriad-Dreamin
df5dafbf75
feat: go to definition of module members ( #644 )
...
* feat: go to definition of module members
* dev: rename a bit
* ovo
2024-10-09 12:17:51 +08:00
Myriad-Dreamin
fbefcb3a78
feat: record and use span where the label is attached ( #641 )
...
* test: add test to pass
* dev: refactor a bit
* dev: refactor a bit
* feat: record span where the label is attached
2024-10-07 12:57:00 +08:00
Myriad-Dreamin
b0f5398412
fix: pass to_multiline_tokens2
checking by copilot ( #639 )
...
* test: generate and pass sema_tokens sanity checking by copilot
* test: pass sema_tokens sanity checking
* dev: update snapshot
2024-10-07 11:58:48 +08:00
Myriad-Dreamin
be9bf5ec66
dev: improve code quality of sync-lsp ( #632 )
2024-10-06 22:04:35 +08:00
Myriad-Dreamin
43796a3dce
fix: allow user keeping garbage directories in the package directory ( #622 )
2024-10-02 21:05:28 +08:00
Myriad-Dreamin
3e58f97866
fix: compile warnings and errors ( #619 )
2024-09-30 23:57:39 +08:00
Myriad-Dreamin
58ff9ab846
feat: print version information when starting lsp server ( #614 )
2024-09-28 16:39:45 +08:00
Myriad-Dreamin
f3ccb4a186
build: bump version to 0.11.22 ( #611 )
...
* build: bump version to 0.11.22
* fix: bugs in package view
* feat: check release version for nightly releases
2024-09-28 07:38:25 +08:00
Myriad-Dreamin
114955194f
build: bump version to 0.11.22-rc1 ( #607 )
...
* docs: update changelog
* docs: update changelog
* build: bump version to 0.11.22-rc1
* fix: reqwest dep
2024-09-20 15:42:50 +08:00
Derived Cat
67bc986e01
feat: show first occurrence locations for used fonts ( #598 )
...
* feat: show first occurrence locations for used fonts
add source typst file path
clean up
rename variables
* Fix a logic error in `work_text`
Corrected a logic flaw that caused incorrect results of `uses`
* add span_offset
* add `first_occur_column`
---------
Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
2024-09-20 14:11:48 +08:00
Myriad-Dreamin
dc6a4482c1
fix: ignore invalid tokens in typst's syntax tree ( #605 )
2024-09-20 13:59:15 +08:00