Myriad-Dreamin
6f8d9750d7
feat: improve and filter completion in show/set syntax ( #858 )
2024-11-20 02:15:53 +08:00
Myriad-Dreamin
37ea3b8d3d
dev: filter settable parameter if is in set context ( #857 )
2024-11-20 01:47:56 +08:00
Myriad-Dreamin
ab3716d866
feat: postfix completion on values ( #850 )
...
* feat: postfix completion on values
* dev: delete an ovo-log
2024-11-19 13:36:14 +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
ccd3cea08c
feat: improve caches of calls and module exports type checking ( #847 )
...
* dev: optimize log on critical paths
* dev: optimize `check_module_item`
* dev: cache source queries
* dev: cache call checking
* dev: remove source cache
2024-11-18 17:20:05 +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
90626f0a5f
test: add more completion tests ( #845 )
2024-11-18 13:12:57 +08:00
Myriad-Dreamin
8a15eb9d66
dev: simplify let type ( #844 )
...
* fix: simplify let type
* test: update snapshot
2024-11-18 13:09:37 +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
c551950a85
feat: check union type annotation ( #842 )
2024-11-18 11:44:28 +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
Myriad-Dreamin
378d412cf7
fix: check signature of partially specialized functions ( #840 )
2024-11-18 11:10:12 +08:00
Myriad-Dreamin
78a4117ec6
fix: open exported files using rust's open
crate ( #838 )
...
* fix: open exported files using rust's `open` crate
* feat: explorer as file opener on windows
* dev: link related issue
2024-11-17 22:08:13 +08:00
Myriad-Dreamin
263458a80b
feat: take configuration items from tinymist
section ( #835 )
...
* feat: take configuration items from `tinymist` section
* docs: update configuration guide in emacs
2024-11-16 17:32:11 +08:00
Myriad-Dreamin
8e36f25cf2
feat: add package related arguments to typstExtraArgs
( #833 )
2024-11-16 17:16:56 +08:00
Myriad-Dreamin
d2afe78fee
feat: use typst-kit's package functions ( #832 )
2024-11-16 16:27:17 +08:00
Myriad-Dreamin
0a8010fe53
dev: update header description of snapshots ( #831 )
...
* dev: update header description of snapshots
* dev: update header description of snapshots
2024-11-16 14:41:45 +08:00
Myriad-Dreamin
57c6c7a4f6
dev: replace FieldTy
with ParamTy
( #830 )
2024-11-16 13:50:50 +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
5ce0a8feba
fix: enclose fallback docs in code block ( #828 )
2024-11-15 20:59:26 +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
8b3a0e986a
feat: fully support onEnter
edits inside comments ( #823 )
...
- select with range
- multiple cursor
2024-11-14 22:21:14 +08:00
Myriad-Dreamin
a2eb405430
feat: goto field definition of concrete values ( #822 )
2024-11-14 22:20:59 +08:00
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
bbcca41909
dev: add time limit to lsp replay command ( #816 )
2024-11-14 21:21:17 +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
Yifan Song
0babb8b451
fix: wrong word count when empty line exists ( #795 )
2024-11-12 14:11:16 +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