Myriad-Dreamin
a00e5f12e5
fix: terminates math calls before identifier start ( #1117 )
2025-01-06 21:53:38 +08:00
Myriad-Dreamin
b7feb5dcca
fix: correct order to insert definitions in scope ( #1116 )
2025-01-06 15:28:22 +08:00
Myriad-Dreamin
bb66b4b97a
feat: complete parameters by capture information ( #1114 )
...
* feat: complete parameters by capture information
* dev: wording
2025-01-06 06:33:49 +08:00
Myriad-Dreamin
fd33024915
feat: match param names for completion ( #1113 )
...
* feat: match param names for completion
* docs: update comment
* test: update snapshot
2025-01-06 01:07:46 +08:00
Myriad-Dreamin
957e017966
fix: parse math calls with text braces inside or around ( #1112 )
...
* fix: parse math calls with text braces inside or around
* test: add some test cases
2025-01-05 21:21:34 +08:00
Myriad-Dreamin
975e4a27bf
feat: rearrange hover providers ( #1108 )
...
* feat: rearrange hover providers
* fix: warnings
* test: update snapshot
* test: update hover snapshot
2025-01-05 14:05:13 +08:00
Myriad-Dreamin
671783a964
feat: enable experimental math syntax highlighting ( #1107 )
2025-01-04 05:41:57 +08:00
Myriad-Dreamin
626efa0d78
feat: parse math parentheses after [_^\/√∛∜] ( #1106 )
...
* test: move math syntax highlight tests
* feat: parse math parentheses after `_` and `^`
* feat: all opening/closing kinds
* dev: more kinds
2025-01-04 02:22:27 +08:00
Myriad-Dreamin
d4ba43c773
feat: add experimental math syntax highlighting ( #1096 )
...
* feat: add experimental math syntax highlighting
* dev: math identifier can be after some text brace
* dev: math identifier must contain multiple chars
2025-01-03 23:15:42 +08:00
Myriad-Dreamin
d7dd2f30cf
feat: bootstrap lsp-free features in web ( #1105 )
...
* feat: bootstrap lsp-free features in web
* ci: update build script
* ci: update system build script
* dev: touch extension file in web
* dev: touch extension file in system
* fix: bug import
* fix: bug touch
2025-01-03 13:47:52 +08:00
Myriad-Dreamin
d32f6261f1
feat: build tinymist targeting web ( #1102 )
...
* feat: add web target
* dev: simple package rule
* dev: update web release
* dev: update workspace
* ci: setup wasm pack
* ci: correct path to upload
* ci: build artifact
* fix: update metadata and launch config
2025-01-03 10:30:38 +08:00
wzy
2464c5b66c
chore: change vscode extension name ( #1097 )
...
Avoid:
Error: Duplicate workspace name tinymist: /the/path/of/tinymist/editors/vscode conflicts with /the/path/of/tinymist
Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
2025-01-02 23:19:58 +08:00
Myriad-Dreamin
c8b6c123c4
chore: wording in changelog ( #1101 )
2025-01-02 23:14:00 +08:00
Myriad-Dreamin
0ba8be333f
build: bump version to 0.12.16 ( #1099 )
...
* build: bump version to 0.12.16
* docs: truncate changelog
2025-01-02 21:28:50 +08:00
Myriad-Dreamin
cd64e4019d
build: bump version to 0.12.16-rc1 ( #1095 )
...
* docs: update changelog
* build: bump version to 0.12.16-rc1
* docs: add announcement
* docs: syntax
* docs: syntax
* dev: syntax
2024-12-31 13:08:40 +08:00
Myriad-Dreamin
d526469d1f
docs: document preview feature in vscode extension ( #1092 )
...
* docs: document preview feature in vscode extension.
* dev: adjust columns
* fix: bad refactor
2024-12-30 15:01:02 +08:00
Sylvan Franklin
b686b11018
docs: state shiroa as a requirement ( #1086 )
...
* docs: state `shiroa` as a requirment
Building the docs via `yarn docs` wraps `shiroa`, I could not build them without first installing `shiroa` which should be stated clearly in the development guide.
* dev: be more polite
---------
Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
2024-12-29 20:32:35 +08:00
Yifan Song
3d805e0511
test: testcases for resource include ( #1082 )
2024-12-28 14:58:06 +08:00
Myriad-Dreamin
98c61d0023
docs: add a few comments to completion ( #1084 )
2024-12-28 13:23:48 +08:00
Myriad-Dreamin
81d3ea64c2
refactor: split completion functions by topics ( #1083 )
2024-12-28 12:45:45 +08:00
Yifan Song
c5981b81db
feat: fold continue line comments ( #1043 )
...
* feat: fold continue line comments
* update e2e hash
* fix: duplicate comment add to fold
* add test
* test: update snapshot
* feat: remove a clone and assign comment kind folding range
* test: update snapshot
* move to hierachy
* refact hierachy
* add todo
* update collapsed text
* fix: format
* add todo
* refactor: to help review
* refactor: no need to return error
* feat: split `CommentGroupMatcher`
* dev: reimplement nodes checker
* update e2e hash
* test: update snapshot
---------
Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
2024-12-28 12:17:34 +08:00
Yifan Song
978e4d6f4e
fix: check file paths on renaming files ( #1080 )
2024-12-28 09:56:11 +08:00
Myriad-Dreamin
ef4714c195
dev: make eco completion repr and reduce clones ( #1079 )
...
* dev: create pair
* dev: make eco completion repr
* dev: reduce some clones
2024-12-28 09:52:47 +08:00
Myriad-Dreamin
451dc9dbdd
refactor: enclose contextual information in CompletionCursor ( #1078 )
...
* refactor: reduce some useless code
* refactor: move contextual things to a context
* refactor: force range calculation in place
2024-12-27 22:38:14 +08:00
Myriad-Dreamin
282b1d7b4d
refactor: merge some calculation stuff in completion worker ( #1077 )
2024-12-27 16:55:07 +08:00
Myriad-Dreamin
fb528ec70a
refactor: move completion code in request into worker ( #1076 )
...
* refactor: matcher tests
* refactor: move completion code in request into worker
* dev: move one use
2024-12-27 13:59:04 +08:00
Myriad-Dreamin
9c8d1461b7
refactor: merge completion stuff ( #1074 )
...
* dev: move two syntax completion to ext
* feat: move mode completion in ext.rs
* dev: clean code
* refactor: merge completion stuff
* test: update snapshot
2024-12-27 13:00:38 +08:00
Myriad-Dreamin
1059ea7e66
fix: complete raw language again ( #1073 )
2024-12-26 17:00:21 +08:00
Myriad-Dreamin
38941b8169
fix: complete body of let/closure in markup mode ( #1072 )
2024-12-26 16:47:57 +08:00
Myriad-Dreamin
1dcb034b91
fix: complete hash expression in math mode ( #1071 )
...
* fix: complete hash expression in math mode
* fix: `interpret_mode_at_kind` on hash
2024-12-26 16:19:46 +08:00
Myriad-Dreamin
98a0e60b20
fix: complete context expression in code mode ( #1070 )
2024-12-26 16:05:20 +08:00
Myriad-Dreamin
53b19dda24
test: add more completion tests ( #1069 )
...
* test: add more completion tests
* test: add more completion tests
* test: add more tests
* test: update snapshot
2024-12-26 15:54:02 +08:00
Myriad-Dreamin
db20807153
build: bump version to 0.12.14 ( #1066 )
2024-12-25 21:05:07 +08:00
Myriad-Dreamin
c66615934c
docs: add dev guide of tinymist-query ( #1064 )
2024-12-25 12:20:09 +08:00
Myriad-Dreamin
dd67518248
chore: fix naming of universal platform ( #1063 )
2024-12-24 12:30:16 +08:00
Myriad-Dreamin
7e3c0b2e18
dev: improve types when accessing element fields ( #1062 )
...
* dev: improve types when accessing element fields
* test: update snapshot
2024-12-24 10:34:16 +08:00
Myriad-Dreamin
223a142931
dev: generate extension installation table ( #1061 )
...
* dev: generate extension installation table
* dev: collapse style
2024-12-24 09:42:36 +08:00
Myriad-Dreamin
e5f88431dd
build: bump version to 0.12.14-rc1 ( #1060 )
...
* docs: update changelog
* docs: update changelog
* build: bump version to 0.12.14-rc1
* dev: exclude typlite from dist publish
2024-12-23 21:15:15 +08:00
Myriad-Dreamin
8f88f248a9
ci: build universe target vscode extension for other platforms ( #1059 )
...
* ci: build universe target vscode extension for other platforms
* chore: add comments
2024-12-23 20:21:24 +08:00
Yifan Song
7fdfca9201
docs: doc preview dev ( #1058 )
...
* doc: doc preview
* fix to uncomment
* docs: improve a bit
* docs: improve a little bit
* chore: add link to root cargo.toml
---------
Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
2024-12-23 19:08:43 +08:00
Myriad-Dreamin
a5133b0146
build: bump typst-ansi-hl to v0.3.0 ( #1057 )
2024-12-23 16:22:50 +08:00
Myriad-Dreamin
0078874088
build: bump typstfmt to v0.12.1 ( #1056 )
...
* build: bump typstfmt to v0.12.0
* build: bump typstfmt to 0.12.1
2024-12-23 14:45:07 +08:00
Myriad-Dreamin
fde578c7a6
refactor: construct formatting configuration earlier ( #1048 )
...
* dev: construct configuration earlier
* dev: rename
* test: recover `formatter_print_width` test
* test: add `set_width` test
2024-12-23 14:03:53 +08:00
Myriad-Dreamin
249de8250f
fix: words in typst document should not contain dollars ( #1054 )
2024-12-23 13:46:05 +08:00
Myriad-Dreamin
b7f44e882a
test: add more tests about completing in middle of strings/labels ( #1052 )
2024-12-22 20:15:23 +08:00
Myriad-Dreamin
8a88b50cb1
fix: adjust offset from start when completing labels ( #1051 )
2024-12-22 19:19:01 +08:00
Myriad-Dreamin
362f625949
feat: complete fields by type ( #1050 )
...
* feat: complete fields by type
* test: update snapshot
* dev: store documentation
* test: check content type
* test: update snapshot
* test: update snapshot
2024-12-22 15:27:03 +08:00
Wenzhuo Liu
1cf20585f4
build: bump typstyle to v0.12.13 ( #1047 )
...
* chore: bump typstyle to v0.12.13
* dev: code style
* dev: code style cont
---------
Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
2024-12-22 15:11:00 +08:00
Myriad-Dreamin
497a1e0aea
refactor: simplify and document lsp_typst_boundary crate ( #1049 )
2024-12-22 11:21:04 +08:00
Myriad-Dreamin
5db1cf984a
feat: infer types of show rule transformers ( #1045 )
...
* feat: infer types of show rule transformers
* test: add test for show rules
* feat: more selector cases
* test: update snapshot
2024-12-22 10:42:07 +08:00