Myriad-Dreamin
f18ed7d1b2
fix: query underlying file type when listing packages ( #821 )
2024-11-14 21:22:36 +08:00
Myriad-Dreamin
4581d10703
feat: evict analysis caches before exact min revision ( #819 )
2024-11-14 21:22:05 +08:00
Myriad-Dreamin
b844240212
dev: clean up log to print ( #818 )
2024-11-14 21:21:47 +08:00
Myriad-Dreamin
dd2a22a67d
dev: use more safe retainer for gc ( #817 )
2024-11-14 21:21:27 +08:00
Myriad-Dreamin
1c08256e9c
fix: describe dictionary object by correct name ( #815 )
2024-11-14 21:21:08 +08:00
Myriad-Dreamin
808da99092
feat: improve style of hover param docs ( #813 )
...
* feat: improve style of hover param docs
* feat: give value example in parameter docs
2024-11-14 20:49:14 +08:00
Myriad-Dreamin
c128f633d4
feat: merge func and variable docs parser ( #812 )
...
* feat: merge func and variable docs parser
* test: update snapshot
2024-11-14 20:35:21 +08:00
Myriad-Dreamin
7ab125bbc2
fix: ensure expr and type enum are not too big ( #811 )
2024-11-14 11:47:34 +08:00
Myriad-Dreamin
3469e215eb
dev: refactor semantic_tokens crate ( #809 )
...
* dev: move semantic_tokens crate
* dev: remove bad comment
2024-11-14 02:39:26 +08:00
Myriad-Dreamin
fc3099a27c
feat: lock and snapshot {analysis,token} caches on main thread ( #806 )
...
* refactor: hide lock in `query_snapshot`
* refactor: hide lock in `query_snapshot`
* test: update snapshot
* dev: update comments
* dev: update snapshot
2024-11-14 01:40:27 +08:00
Myriad-Dreamin
61f2273e2e
dev: convert diagnostics without analysis snapshot ( #805 )
2024-11-13 23:51:48 +08:00
Myriad-Dreamin
cadc70ceec
dev: use fixtures/playground
if name is not provided ( #804 )
2024-11-13 23:51:39 +08:00
Myriad-Dreamin
41868aa0f4
fix: strip out the line containing the return type ( #803 )
2024-11-13 23:51:29 +08:00
Myriad-Dreamin
58b8015386
dev: refactor semantic token apis ( #802 )
2024-11-13 23:51:20 +08:00
Myriad-Dreamin
41e8e1105f
fix: bad type representation of rest parameters ( #801 )
2024-11-13 23:22:40 +08:00
Myriad-Dreamin
8a5d687da6
fix: bad rule to check function identifiers by syntax ( #800 )
2024-11-13 18:20:11 +08:00
Myriad-Dreamin
5616a3fb34
feat: slightly improve expression describer ( #798 )
...
* dev: simplify type union
* dev: split repr crate
* feat: slightly improve expression describer
* dev: update snapshot
* dev: change repr if there is no name
2024-11-12 17:53:00 +08:00
Myriad-Dreamin
d8886b2065
feat: render error as docs instead of causing failures ( #786 )
2024-11-09 21:53:55 +08:00
Myriad-Dreamin
22621a966c
feat: consistently enrich colon after show selectors ( #785 )
2024-11-09 21:26:42 +08:00
Myriad-Dreamin
662ae488be
test: add more completion tests ( #776 )
...
* dev: add more tests
* test: add show/set completion tests
* test: test completion about arguments of builtin functions
2024-11-08 16:15:45 +08:00
Myriad-Dreamin
411f29fd53
feat: recover support to goto definition of fields ( #775 )
...
* feat: goto field definition with type checking
* dev: minor changes
* dev: update snapshot
2024-11-08 16:15:31 +08:00
Myriad-Dreamin
d75fd7e74e
feat: render examples in docs ( #772 )
...
* feat: render examples in docs
* fix: create `hover-images` on `startHover`
* dev: update snapshot
2024-11-08 15:55:47 +08:00
Myriad-Dreamin
d02fa18617
dev: implement Ord
for Decl
( #773 )
...
* dev: change order to compare
* dev: implement `Ord` for `Decl`
2024-11-08 15:46:28 +08:00
Myriad-Dreamin
c035f42676
feat: strictly match module-level comments ( #770 )
...
* feat: strictly match module-level comments
* dev: update snapshot
2024-11-07 16:18:44 +08:00
Myriad-Dreamin
f1f77065d7
dev: collect func.with
type information for signature help ( #759 )
...
* feat: static analysis on `func.with` bindings
* test: update snapshot
2024-11-02 14:52:25 +08:00
Myriad-Dreamin
67367b03bf
dev: hash imports of expr info ( #756 )
2024-10-31 23:27:59 +08:00
Myriad-Dreamin
8f3566366e
refactor: refactor hover, analysis/global, and docs crates ( #755 )
...
* dev: refactor hover.rs
* refactor refactor AnalysisContext
* refactor: refactor docs crate
2024-10-31 10:07:31 +08:00
Myriad-Dreamin
1c1bc19caf
dev: more consistent way to get docs of decls ( #752 )
...
* dev: more consistent way to get docs of decls
* test: update snapshot
2024-10-30 22:29:07 +08:00
Myriad-Dreamin
8129c6741e
feat: provide docs when hovering on module refs ( #751 )
...
* feat: hover for module-level docs
* test: update snapshot
* test: update snapshot
2024-10-30 17:07:47 +08:00
Myriad-Dreamin
ac97c34d0f
feat: improve signature formatting in docs ( #750 )
...
* feat: improve signature formatting in docs
* test: update snapshot
* fix: package docs formatting
2024-10-30 15:17:08 +08:00
Myriad-Dreamin
493f8a8695
feat: don't trigger trivial completion when the trigger char is an ascii punctuation ( #748 )
2024-10-29 22:32:12 +08:00
Myriad-Dreamin
e8f5f6185a
fix: match identifier like nodes for completion ( #747 )
...
* fix: match identifier like nodes for completion
* test: update snapshot
2024-10-29 22:09:55 +08:00
Myriad-Dreamin
9c87fe2fb4
feat: client-side control to whether issue completion callback ( #744 )
...
* feat: client-side control to whether issue completion callback
* fix: bad changes
2024-10-29 13:00:57 +08:00
Myriad-Dreamin
c798d3037e
feat: show performance statistics in summary page ( #743 )
2024-10-29 11:16:59 +08:00
Myriad-Dreamin
15785f1deb
feat: add check package command ( #742 )
...
* g
* feat: add check package command
2024-10-29 11:16:40 +08:00
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
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