Commit graph

112 commits

Author SHA1 Message Date
Myriad-Dreamin
cf20c66b26
test: ensure compile output works correctly (#1942)
Some checks are pending
tinymist::ci / Duplicate Actions Detection (push) Waiting to run
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Waiting to run
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Waiting to run
tinymist::ci / prepare-build (push) Waiting to run
tinymist::ci / announce (push) Blocked by required conditions
tinymist::ci / build (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run
Validate fix and prevent regression of
https://github.com/Myriad-Dreamin/tinymist/pull/1941
2025-07-30 23:25:59 +08:00
Myriad-Dreamin
7ee2e53189
feat: export to tex by tasks (#1826)
* feat: export to tex by tasks

* test: update snapshot
2025-06-19 14:10:42 +08:00
Myriad-Dreamin
d6d3766b6f
feat: add command to profile the entire server (#1438)
* feat: declare and bind tinymist.profileServer command

* feat: editor bridge with the frontend

* feat: start and stop server profiling

* feat: add profile-server prototype (#1440)

* Add profile-server prototype

* fix: use branch

---------

Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>

* feat: make it good

* build: update cargo.lock

* dev: ls profile impl and hook

* test: update snapshot

---------

Co-authored-by: Derived Cat <hooyuser@outlook.com>
2025-05-09 15:29:24 +08:00
Myriad-Dreamin
4ded5a624a
feat: forbid signature help in some cases (#1742)
* feat: forbid signature help in some cases

* test: update snapshot
2025-05-06 14:55:24 +08:00
Myriad-Dreamin
59fda809d5
feat: provide AST view (#1617)
* feat: provide AST view

* test: update snapshot
2025-04-02 13:24:35 +08:00
Myriad-Dreamin
03a30f241e
feat: reduce deps of the tests crate (#1612)
* feat: reduce deps of the tests crate

* feat: reduce deps of the tests crate (2)
2025-04-01 16:42:25 +08:00
Myriad-Dreamin
92e9f797de
feat: don't trigger parameter hints when skipping parameters (#1557)
* build: record command in completion snapshots

* feat: don't trigger parameter hints when skipping parameters

* test: update snapshot
2025-03-20 21:53:38 +08:00
Myriad-Dreamin
fd7fa57925
test: a hard hint about missing binary for e2e tests (#1541) 2025-03-19 16:55:43 +08:00
Myriad-Dreamin
b2e9d7bbcd
feat: implements dap-server scaffold (#1517)
* feat: implements dap-server scaffold

* dev: revert

* fix: diagnostics is only available when typst is enabled

* feat: proper feature gating and testing

* feat: reduce dep and publish sync-ls

* docs: update readme

* fix: compile error

* fix: permission

* fix: examples

* fix: doc example
2025-03-17 09:33:59 +08:00
Myriad-Dreamin
e8507fea96
feat: complete std which isn't in any builtin scopes (#1483)
* feat: complete `std` which isn't in any builtin scopes

* test: update snapshot

* test: update snapshot

* test: update snapshot
2025-03-10 23:03:43 +08:00
Myriad-Dreamin
156896c4b3
feat: add tinymist.startDefaultPreview and revise documentation about preview (#1448)
* feat: add `tinymist.startDefaultPreview` and revise documentation about preview

* test: update snapshot
2025-03-06 15:49:53 +08:00
Myriad-Dreamin
1fe422f963
fix: complete type of type having constructors (#1419)
* fix: complete type of type having constructors

* test: update snapshot

* test: update snapshot
2025-02-27 16:26:02 +08:00
Myriad-Dreamin
a191b7c852
feat: adjust builtin types for typst v0.13.0 (#1416)
* feat: adjust builtin types for typst v0.13.0

* todo

* test: update snapshot

* test: update snapshot
2025-02-27 13:28:35 +08:00
Myriad-Dreamin
1589cdd5df
feat: print type representation of anonymous modules (#1385)
* feat: print type representation of anonymous modules

* test: update snapshot
2025-02-24 11:26:32 +08:00
Myriad-Dreamin
d21ebc38dc
feat: bump typst to v0.13.0-rc1 (#1342)
* dev: use range type from lsp-types

* feat: add html document variant

* feat: use new-style bytes constructors

* fix: broken span usages

* fix: syntax kind is changed

* fix: label use pico str

* fix: bib element is changed

* fix: raw element is changed

* fix: typst use codex

* fix: package fn is removed from world trait

* feat: reflexo accept typst document

* docs: update changelog

* dev: cargo patch

* fix: typst pdf timestamp is changed

* fix: pattern is renamed to tiling

* dev: make eval compat

* test: update snapshots

* build: bump version to nightly 0.12.19-rc4

* build: bump version to 0.12.19-rc1 (#1164)

  * build update changelog

  * build: bump version to 0.12.19-rc1

* build: bump version to nightly 0.12.19-rc2 (#1221)

  * feat: update typst to `85d1778`

  * deps: lock git deps version

  * build: bump version to 0.12.19-rc2

  * docs: remove rc in changelog

  * fix: mathtext formatting of typstyle

  * fix: completion related to mathtext

  * build: update cargo.lock

* build: bump version to nightly 0.12.19-rc3 (#1232)

* build: bump version to nightly 0.12.19-rc4 (#1239)

* feat: add typst-html

* feat: add typst-html

* cargo patch

* fix: features doesn't take effect

* fix: casting

* fix: broken no-content-hint

* fix: snapshot

* fix: remove unnecessary `fs` feature

* fix: move system features feature

* feat: remove nightly shim

* test: update snapshot

* dev: nightly v0.12.21 (#1279)

* feat: update typst to `0ea6680`

feat: update typst to `0ea6680`

build: bump version to nightly 0.12.19 (#1261)

* fix: fix lint errors

* styl: fotmat

* fix: build web ci

* build: update cargo.toml

* build: bump version to nightly 0.12.21-rc1 (#1280)

* build: update typstyle & reflexo (#1336)

* build: update typstyle & reflexo

* dev: remove useless patches

---------

Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>

* build: update version

* fix: pdf gate were broken (#1285)

* fix: panic on convert_datetime (#1286)

* feat: run language sever with targeting html (#1284)

* dev: add some debug logging

* feat: html compilation

* fix: revert changes

* feat: adjust html interfaces

* feat: lock reflexo

* feat: provide exportTarget configuration

* feat: export html actions when target is html

* build: bump reflexo

* fix: system feature gate

* fix: feature gate 2

* fix: feature gate 3

* feat: make tinymist-world featured by lsp

* feat: text export over typst's HTML export (#1289)

* feat: add more doc, world, and task apis (#1290)

* feat: add num of pages method

* feat: add from_snapshot_inner method

* feat: add clear_dedicates method

* feat: more convertion traits

* feat: add doc_get_as_value method

* feat: add doc_get_as_value method

* feat: add cast_run method

* fix: set is compiling flag (#1293)

* feat: publish {tinymist-{derive,analysis,std,vfs,world,project},typlite,crityp} crates (#1310)

* build: bump version to 0.12.21-pre-rc1

* fix: deps

* build: set nightly in nightly branch

* docs: add readmes for publish

* feat: add release crates action

* dev: remove publish of sync-lsp

* dev: remove useless setup

* fix: remove readme

* fix: publish ignore errors

* fix: specify version for publish

* fix: specify version for publish

* feat: update tinymist-web version

* test: update snapshot

* fix: diverged deps

---------

Co-authored-by: ParaN3xus <136563585+ParaN3xus@users.noreply.github.com>
2025-02-21 03:18:04 +08:00
Myriad-Dreamin
803cc1ffaf
feat: support more path types and add path parameters (#1312) (#1331)
* feat: support more path types and add path parameters added in typst … (#1312)

* feat: support more path types and add path parameters added in typst 0.13.0

* test: update snapshot

* test: update snapshot
2025-02-20 00:43:47 +08:00
Myriad-Dreamin
7b8e275089
feat: browsing preview (#1234)
* feat: browsing preview

* feat: add browsing-preview command

* refactor: check pin status on main thread

* feat: preview without specifying main

* feat: implement tinymist.doStartBrowsingPreview

* test: update snapshot
2025-02-18 20:51:19 +08:00
Myriad-Dreamin
deb1425e74
feat: move less used codelens into a single "more" codelens (#1315)
* feat: move less used codelens into a single "more" codelens

* dev: update snapshot
2025-02-18 20:16:48 +08:00
Myriad-Dreamin
faf807edb2
feat: prefer to select the previous token when cursor is before a marker (#1175)
* feat: prefer to select the previous token when cursor is before a marker

* test: update snapshot
2025-01-15 14:33:26 +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
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
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
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
Myriad-Dreamin
39243ba626
feat: classify field accesses for ide functions (#1034)
* feat: classify field accesses for ide functions

* test: update snapshot
2024-12-20 18:47:44 +08:00
Myriad-Dreamin
0f512dd09e
fix: forbid ident code completion in field access (#1020)
* feat: forbid ident code completion in field access

* test: update snapshot
2024-12-18 15:53:34 +08:00
Myriad-Dreamin
142138297e
fix: complete field access even if its parent is a closure (#1019)
* dev: complete field access even if it's parent is a closure

* test: update snapshot
2024-12-18 15:06:57 +08:00
Myriad-Dreamin
382d73ddeb
refactor: remove inlay_hint function for simplicity (#992)
* refactor: remove `inlay_hint` function for simplicity

* test: update snapshots of inlay hints

* test: update snapshot
2024-12-12 14:21:04 +08:00
Myriad-Dreamin
5747dd6ba6
feat: explicitly trigger suggest after completed import/include snippets (#984)
* feat: explicitly trigger suggest on completing import/include snippets

* fix: comment

* test: update snapshot
2024-12-11 14:40:57 +08:00
Yifan Song
44b3f3f8c1
fix: simplify types of variables for hover tooltip (#959)
* feat: type for hover on var

* test: update snapshots for hover on params

* fix: simplify type before formatting

* test: update snapshot

---------

Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
2024-12-07 19:32:40 +08:00
Myriad-Dreamin
67e659a878
feat: prefer to guide coding by signature help (#874)
* feat: prefer to guide coding by signature help

* test: update markdown description

* test: update configuration for testing
2024-11-21 13:14:58 +08:00
Myriad-Dreamin
a13c8e41ba
fix: replace [] with .bracket in label (#870)
* fix: replace `[]` with `.bracket` in label

* test: update snapshot
2024-11-20 20:46:03 +08:00
Myriad-Dreamin
6f4b916598
feat: provide both bracket and paren completion (#867)
* feat: provide both bracket and paren completion

* test: update snapshot
2024-11-20 16:55:34 +08:00
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
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