Myriad-Dreamin
d8ee287b77
feat: replace rule completion with scoped type completion ( #861 )
...
* feat: replace rule completion with scoped type completion
* test: update snapshot
2024-11-20 15:49:58 +08:00
Myriad-Dreamin
d0b40dbfa6
feat: provide UFCS-style completion on content types ( #849 )
...
* feat: UFCS completion on content types
* dev: cleanup panics
* feat: add configuration about postfix completion
* test: update snapshot
* fix: lazily determine default values
2024-11-19 12:48:04 +08:00
Myriad-Dreamin
a1a15a6795
feat: complete bracket if the function accepts an only content arg ( #848 )
...
* feat: complete bracket if the function will accept an only content argument
* test: update snapshot
2024-11-19 11:04:27 +08:00
Myriad-Dreamin
256dd3b3a5
feat: replace param_completions with post type checking ( #846 )
...
* feat: replace param_completions with post type checking
* dev: dirty code and snapshot
2024-11-18 17:01:28 +08:00
Myriad-Dreamin
a9800bc802
dev: introduce TypeType and Module type ( #843 )
...
* dev: introduce `TypeType` and `Module` type
g
* test: update snapshot
* test: update snapshot
2024-11-18 12:52:27 +08:00
Myriad-Dreamin
a2e7e4c88c
fix: bugs in post checking node and call ( #841 )
...
* fix: bugs in post checking node and call
* test: update snapshot
* test: update snapshot
2024-11-18 11:44:13 +08:00
MrLego8_9
d618430f6e
fix: statically register formatting and semantic tokens capabilities ( #814 )
...
* fix: statically register formatting and semantic tokens capabilities
* fix: inline variables and remove comment
* dev: inline variables
* fix: not working on vscode
* test: update snapshot
---------
Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
2024-11-15 22:28:51 +08:00
Myriad-Dreamin
da1e68ad1f
feat: conditionally render code in docs ( #824 )
...
* feat: conditionally render code in docs
* fix: fmt
* fix: config
2024-11-15 13:40:30 +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
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
41e8e1105f
fix: bad type representation of rest parameters ( #801 )
2024-11-13 23:22:40 +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
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
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
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
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
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
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
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
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
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
0bdaadbacd
fix: publish script with tests ( #665 )
...
* fix: publish script
* fix: publish script with tests
* dev: print env
* fix: guess reason
* fix: guess reason
2024-10-12 11:01:58 +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
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
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
6ce6bb8018
fix: refine label types to remove hacking citation filter ( #603 )
...
* test: check types
* test: confirm bug
* fix: refine label types
* dev: update snapshot
* dev: update snapshot
2024-09-20 12:30:36 +08:00
Myriad-Dreamin
ffa12bc2c9
fix: create function scopes for nest symbols ( #589 )
...
* dev: nest symbols into of functions
* dev: update snapshot
2024-09-07 09:30:54 +08:00
Myriad-Dreamin
50fadf453f
fix: process overlapping cases in line folding only mode ( 3ab4fa62) ( #588 )
...
* fix: process overlapping cases in line folding only mode (3ab4fa62 )
* fix: snapshot
2024-09-07 08:12:09 +08:00
Myriad-Dreamin
b8d933615d
feat: add label view ( #570 )
...
* feat: add label view
* fix: typo
* fix: snapshot
* chore: final tune
2024-08-27 19:31:57 +08:00
Yifan Song
1295c8754a
feat: find references for Ref and Label ( #527 )
...
* add test for `goto_definition` with label reference
* simplify test for `goto_definition` with reference
* abstract compile doc for test
* add snap for goto_definition label reference
* basic goto_reference with simple test
* basic find_reference for Ref
* fix: a bug in linked def
* Remove unwanted compile directive compile: true
* simply compile and get depended files fail for corss_file_ref_label
* update ref reference but still fail to get source from path
* fix: reuse find definition effort and handle undefined references for labels
* dev: update test case
* fix: label reference analysis
* fix: rust analyzer doing bad
* dev: update snapshot
* dev: lift common pattern
* fix: unstable snapshot
---------
Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
2024-08-14 09:21:44 +08:00
Myriad-Dreamin
6b8380ade7
feat: export text in range as ansi highlighted code ( #526 )
...
* feat: export text in range as ansi highlighted code
* dev: update snapshot
2024-08-12 11:25:55 +08:00
Myriad-Dreamin
85c459d4c8
feat: support vscode tasks for exporting query and pdfpc ( #490 )
...
* feat: support vscode tasks for exporting query and pdfpc
* test: update snapshot
2024-08-05 02:14:03 +08:00
Myriad-Dreamin
56e20b2590
feat: support vscode tasks for exporting html, md, and txt ( #489 )
...
* feat: support vscode tasks for exporting html, md, and txt
* chore: styling
* docs: update
* test: update snapshot
2024-08-05 01:00:25 +08:00
Myriad-Dreamin
a8d470222f
feat: support single-task preview commands ( #368 )
...
* refactor: adjust compat code
* refactor: extension side code
* dev: setup preview state
* refactor: lsp side code
* dev: first successful preview
* dev: respect compile reason
* dev: update snapshot
* dev: log a bit
* fix: refresh style
* dev: properly start and stop
* dev: throw error correctly
* dev: update deprecation note
* dev: remove preview cli input/font arguments
* build: don't ignore frontend file
* dev: polyfill non-text editions
* dev: clean some code
* dev: clean some code
* dev: eliminate preview html in tinymist extension
* dev: eliminate CompilationHandleImpl and CompileServer
* dev: stop browser preview correctly
* dev: update configuration
2024-07-06 13:27:17 +08:00
Myriad-Dreamin
95a68d2559
feat: implements experimental/onEnter ( #328 )
...
* feat: implements `experimental/onEnter`
* docs: update readme
* dev: update snapshot
* dev: allow configuration
2024-06-16 17:33:46 +08:00
Myriad-Dreamin
82e75f362a
feat: highlights all break points for that loop context ( #317 )
...
* feat: highlights all break points for that loop or block context
* docs: update readme
* dev: remove a debug logging
* QAQ
2024-05-26 17:44:32 +08:00
Myriad-Dreamin
0e853363dd
feat: complete CSL paths ( #310 )
...
* feat: complete csl paths
* dev: update snapshot
2024-05-23 17:49:26 +08:00
Myriad-Dreamin
8f5725f51a
feat: complete both open and closed labels ( #302 )
...
* feat: complete both open and closed labels
* QAQ
2024-05-18 12:36:42 +08:00
Myriad-Dreamin
c182c5fadc
chore: move typst-specific types ( #294 )
...
* chore: move typst-specific types
* QAQ
2024-05-16 00:30:32 +08:00
Myriad-Dreamin
cfd94b9416
dev: get check target without skip trivia node in non-code context ( #289 )
...
* x
* dev: get check target without skip trivia node in non-code context
* dev: add matcher testing
* dev: narrow down target matching
* dev: update snapshot
2024-05-14 21:26:29 +08:00
Myriad-Dreamin
bf64d3f004
fix: match labels in signature help correctly ( #288 )
...
* fix: match labels in signature help correctly
* QAQ
2024-05-14 20:58:54 +08:00
Myriad-Dreamin
fff227f3ae
dev: interning types ( #271 )
...
* refactor: a bit
* fix: named completion
* dev: replace complete_literal by complete_type
* dev: remove unused code
* dev: basic interner
* dev: basic types
* dev: type operations
* dev: migrate all type definitions
* dev: check syntax and builtin types
* dev: make TypeSimplifier simply work
* dev: make TypeDescriber simply work
* dev: make TypeChecker simply work
* dev: recover type check
* fix: context check
* fix: use after free in seen fields
* fix: typed with
* fix: record type on field
* dev: check type of constructors and element containing
* dev: show sig by type
* fix: mixed context checking
* QAQ
* >_<
* dev: fix documents
2024-05-11 21:12:49 +08:00
Myriad-Dreamin
ca5b87efba
dev: restore lparen and comma trigger characters ( #253 )
...
* dev: restore lparen and comma trigger characters
* QAQ
2024-05-07 19:18:23 +08:00