Myriad-Dreamin
db62791908
build: update tinymist-assets dependency
2025-01-09 20:54:20 +08:00
Myriad-Dreamin
ce1d4f4f43
build: bump version to 0.12.18-rc2 ( #1135 )
2025-01-09 20:52:40 +08:00
Myriad-Dreamin
fcb9fec712
feat: identify identifier-like text as ident in math mode ( #1138 )
2025-01-09 18:50:03 +08:00
Myriad-Dreamin
34fe823ab7
fix: terminate heading on newline ( #1136 )
2025-01-09 18:26:26 +08:00
Myriad-Dreamin
d831d1183e
fix: identify mode as math in math call arguments ( #1137 )
...
* fix: identify mode as math in math call arguments
* fix: move spread kind
2025-01-09 18:25:26 +08:00
Myriad-Dreamin
c9cd572bea
test: add test about underline
2025-01-09 14:32:02 +08:00
Myriad-Dreamin
470386dabb
feat: handle minus and asterisk marker confidently ( #1134 )
...
* feat: handle minus and asterisk marker confidently
* test: add some tests about assign
2025-01-09 14:27:39 +08:00
Sylvan Franklin
354022d2be
feat: add Sylvan Franklin as maintainer ( #1091 )
2025-01-09 11:08:41 +08:00
Myriad-Dreamin
6aa9138131
build: bump version to 0.12.18-rc1 ( #1132 )
...
* build: bump version to 0.12.18-rc1
* docs: update announcement
2025-01-08 19:47:02 +08:00
Myriad-Dreamin
fe34e2c6de
docs: documenting textmate grammar ( #1131 )
2025-01-08 12:40:19 +08:00
Myriad-Dreamin
903a2fe41b
feat: generate wider look-behind pattern for pcre-compatible grammar ( #1130 )
2025-01-08 11:33:16 +08:00
Myriad-Dreamin
02591124a3
feat: stop expressions before hash and comma ( #1129 )
...
* feat: stop expression before hash
* feat: stop expression before comma
2025-01-08 11:26:44 +08:00
Myriad-Dreamin
13e7325b7b
feat: parse arrow functions like binary expr ( #1128 )
2025-01-08 11:24:55 +08:00
Myriad-Dreamin
691a28ef55
feat: conditionally satisfy PCRE regex features ( #1126 )
2025-01-07 20:49:38 +08:00
Myriad-Dreamin
d4d8345166
fix: match special identifiers in calls ( #1125 )
2025-01-07 14:20:00 +08:00
Myriad-Dreamin
a6a6d88143
fix: exclude content block syntax when parsing math arguments ( #1124 )
2025-01-07 14:18:11 +08:00
Myriad-Dreamin
bc2e07bb0c
fix: parse field access in math ( #1123 )
2025-01-07 14:17:15 +08:00
Myriad-Dreamin
42bfb8de1c
feat: add more termination rules about FIRST tokens ( #1122 )
...
* feat: terminate call arguments before some FIRST tokens
* feat: terminate braces before some FIRST tokens
* feat: terminate set clause on some FIRST tokens
* feat: refine rules to terminate a math call
2025-01-07 14:15:31 +08:00
Myriad-Dreamin
f6dd6f782c
feat: add scripts to test syntax highlight ( #1121 )
...
* feat: script to make bundle to test syntax highlight
* feat: add scripts to test syntax highlight (cont.)
2025-01-07 14:15:20 +08:00
Myriad-Dreamin
9fb7b3f289
feat: ignore vscode workspace ( #1120 )
2025-01-07 14:15:06 +08:00
Myriad-Dreamin
03ac73bd52
feat: change some names of textmate scopes ( #1119 )
...
* feat: change some special kind of string tokens
* feat: change some special kind of constant tokens
* feat: change some special kind of keyword tokens
* test: update snapshot
2025-01-07 14:00:21 +08:00
Myriad-Dreamin
4a44a69196
feat: parse name identifier of parameters or arguments ( #1118 )
...
* test: add arg name tests
* feat: parse name identifier of parameters or arguments
2025-01-07 10:16:23 +08:00
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