Commit graph

168 commits

Author SHA1 Message Date
Myriad-Dreamin
c22f70b49e
dev: refactor def and use cache for improving definition (#179)
* chore: add a notes to do.

* dev: cache def and use information

* dev: move signature cache to analysis level

* dev: refactor a bit for improving definition

* dev: more appropriate definition discover

* fix: clippy error
2024-04-11 20:45:02 +08:00
QuarticCat
ebed95cbcd
fix: improve release profile & fix typos (#177)
* dev: split a gh-release profile to accelerate development

* fix: many typos

* fix: miri warnings

* fix: update fixtures
2024-04-10 11:34:18 +08:00
Myriad-Dreamin
e7acb31a54
fix: set entry state on changing entry (#180) 2024-04-09 16:36:30 +08:00
Myriad-Dreamin
59ca5bdabc
chore: fix test scripts and update test documents (#178)
* chore: fix test scripts and update test documents

* docs: redirect developer who want to build and test to the contributing guide

* dev: change wording
2024-04-09 12:37:01 +08:00
Myriad-Dreamin
6c8074852f
revert: "dev: evict cache more frequently"
This reverts commit 454127e354.
2024-04-06 16:20:27 +08:00
Myriad-Dreamin
4afe4b30d9
feat: add basic color providers (#171)
* feat: provide document color api

* feat: provide color presentation api.

* dev: update snapshot

* dev: update snapshot
2024-04-06 14:10:48 +08:00
Myriad-Dreamin
8a3fdbc642
feat: add common print width configuration for formatters (#170)
* dev: typstfmt use width configuration

* feat: add common print width configuration for formatters
2024-04-06 13:54:26 +08:00
Myriad-Dreamin
76c88c43d1
fix: collect warning diagnostics correctly (#169) 2024-04-06 13:46:02 +08:00
Myriad-Dreamin
8378d06ab6
dev: collect server's font paths information (#168) 2024-04-06 13:45:52 +08:00
Myriad-Dreamin
7613712137
feat: support tracing execution in current document (#166)
* feat: support tracing execution in current document

* dev: improve frontend appearence

* fix: word grammar

* dev: update snapshot
2024-04-06 13:32:11 +08:00
Myriad-Dreamin
f60d78a3ca
dev: clear analysis cache (#165)
* dev: clear analysis cache

* dev: remove an extra clear
2024-04-06 09:24:42 +08:00
Myriad-Dreamin
c2f2b214a2
feat: initialize telescope mode previewing (#164)
* feat: initialize telescope mode previewing

* dev: add notes

* dev: configure and disable hovering periscope

* dev: update snapshot
2024-04-05 17:22:56 +08:00
Myriad-Dreamin
703c8b4c1d
dev: collect server information for summary (#162)
* dev: collect server information for summary

* dev: humanize font variant to show

* fix: let focus state correct
2024-04-05 13:18:36 +08:00
Myriad-Dreamin
6722b2501f
feat: add status bar to showing words count, also for compiling status (#158)
* feat: add status bar to showing words count, also for compilng status

* dev: add configuration for compile status

* fix: let focus state correct

* dev: improve hint
2024-04-05 13:16:24 +08:00
Myriad-Dreamin
454127e354
dev: evict cache more frequently (#161) 2024-04-05 13:13:14 +08:00
Myriad-Dreamin
2ba806359a
dev: join array of hover contents by divider for neovim clients (#157)
* dev: join array of hover contents by divider for neovim client

* dev: update snapshots
2024-04-05 12:37:27 +08:00
Myriad-Dreamin
1c5c6bd929
feat: go to definition of include paths (#156) 2024-04-04 11:11:23 +08:00
Myriad-Dreamin
36eea552ac
feat: initialize symbol picker (#155)
* feat: initialize symbol picker

* dev: update snapshot

* dev: remove mock
2024-04-04 10:33:25 +08:00
Myriad-Dreamin
d256ff0556
dev: recover module completion (#151)
* dev: recover module completion

* dev: update snapshot
2024-04-04 09:38:47 +08:00
Myriad-Dreamin
bd610b2323
feat: auto complete parameters after completing a function (#150)
* feat: auto complete parameters after completing a function

* dev: update snapshot

* dev: update completion snapshot
2024-04-02 18:50:02 +08:00
Myriad-Dreamin
d71dd38b98
feat: complete parameter values on user functions (#149)
* feat: complete parameter values on user functions

* dev: separate type/value repr in parameter analysis
2024-04-02 17:52:15 +08:00
Myriad-Dreamin
d708bdfe2d
feat: complete parameters on user functions (#148)
* fix: skip tabs that have no uris for reopening pdf

* dev: lift call analysis

* feat: complete parameters on user functions
2024-04-02 17:12:20 +08:00
Myriad-Dreamin
de5df05b67
fix: complete parameters in scope (#146) 2024-04-01 10:40:05 +08:00
Myriad-Dreamin
b43dfcf11e
fix: correctly shadow items for completion (#145) 2024-04-01 10:36:47 +08:00
Myriad-Dreamin
d6e58ea961
fix: perform correct dynamic analysis on imports (#143)
* dev: perform correct dynamic analysis on imports

* dev: review e2e snapshot
2024-04-01 10:35:48 +08:00
Myriad-Dreamin
c420b10540
dev: analyze lexical hierarchy on for loops (#142) 2024-04-01 10:27:31 +08:00
Myriad-Dreamin
00e32a1db0
dev: early exit on simple syntax nodes (#141) 2024-04-01 10:27:23 +08:00
Myriad-Dreamin
7e453872b1
dev: init summary page (#137)
* feat: add summary frontend

* dev: init summary page

* build: update cargo.lock

* feat: init diagnostics frontend

* build: update snapshot hash
2024-04-01 10:16:26 +08:00
Myriad-Dreamin
b635f06619
build: bump version to 0.11.2 (#136)
* docs: update documents

* fix: correct order of building binaries

* build: bump version to 0.11.2

* docs: redirect changelog

* docs: update document tips

* docs: update insert template in place tips

* build: bump typstyle version to 0.11.7
2024-03-30 23:02:43 +08:00
Myriad-Dreamin
f7fd47d62c
dev: don't do complete on definition itself (#135)
* dev: don't do completion on definition itself.

* dev: update snapshot hash
2024-03-30 21:09:06 +08:00
Myriad-Dreamin
36536bbc6b
feat: support import path completion (#134)
* feat: path completion

* fix: package snippet order

* dev: update snapshot hash

* fix: completion
2024-03-30 20:44:27 +08:00
Myriad-Dreamin
90ef2e6f72
dev: improve punctuation and keyword token kinds (#133)
* dev: improve punctuation and keyword token kinds

* dev: improve punctuation and keyword token kinds
2024-03-30 20:04:34 +08:00
Myriad-Dreamin
edbb7bc1af
fix: empty url sent from neovim (#130)
* fix: empty url sent from neovim

* dev: move e2e build script

* dev: make stronger name for empty urls

* fix: work around empty url

* fix: convert empty link on unix system
2024-03-30 20:04:03 +08:00
Myriad-Dreamin
b76e80bad3
fix: dedent documentation correctly (#132) 2024-03-30 19:04:07 +08:00
Myriad-Dreamin
c32e6e3097
fix: documentation issues (#131) 2024-03-30 18:51:30 +08:00
Myriad-Dreamin
edd21deaca
feat: support entry configuration (#122) 2024-03-30 18:51:17 +08:00
Myriad-Dreamin
21a872bbe8
fix: wrong completion kind (#127)
* fix: wrong completion kind

* dev: add completion requests back to e2e testing
2024-03-30 17:14:50 +08:00
Myriad-Dreamin
2c13d7efdd
feat: minimal diff algorithm for source formatting (#123)
* feat: minimal diff algorithm for source formatting

* fix: typo
2024-03-29 19:46:30 +08:00
Myriad-Dreamin
0eae40dec6
dev: intern completion code (#124)
* dev: intern completion code

* dev: change completion kind of symbols to FIELD

* fix: accept hash

* fix: reduce redundant information
2024-03-29 19:46:10 +08:00
Myriad-Dreamin
529b422189
feat: support untitled url scheme for unsaved documents (#120) 2024-03-29 15:26:46 +08:00
Myriad-Dreamin
d53bd80d14
dev: ensure to run a single compiler instance (#119)
* build: remoe tinymist deps on tests

* dev: ensure unique running compiler

* docs: update some comments
2024-03-29 14:36:02 +08:00
Myriad-Dreamin
3a0e8e3d26
fix: converts out of bounds offsets again (#115)
* fix: converts out of bounds offsets again

* fix: wrong length calculation

* dev: accept hash
2024-03-29 02:20:12 +08:00
Myriad-Dreamin
d4dda9e06f
feat: support formatters (#113)
* feat: supports formatter

* feat: supports dynamic configuration and typstfmt

* fix: test
2024-03-28 16:28:00 +08:00
Myriad-Dreamin
0114bf4a3b
feat: allow tracing typst programs in subprocess (#112)
* feat: add compiler mode

* feat: implement compiler mode

* dev: imtroduce typst timings
2024-03-27 22:51:51 +08:00
Myriad-Dreamin
3380bfdb7d
dev: make a lsp function for testing (#70)
* dev: make a lsp function for testing

* dev: split modes futhermore
2024-03-27 13:56:32 +08:00
Myriad-Dreamin
3344eebe3f
feat: correctly parse and show hover doc (#105)
* feat: seperate content on hover tips

* dev: half hover

* fix: ensure extracting docs correctly
2024-03-27 10:19:34 +08:00
Myriad-Dreamin
4d21026661
dev: more accurate deref target (#104) 2024-03-26 11:40:20 +08:00
Myriad-Dreamin
876827d39b
dev: recover sys.inputs configuration (#103) 2024-03-26 11:40:12 +08:00
Myriad-Dreamin
63d332f8d9
refactor: make state query functions closer (#102) 2024-03-26 11:40:05 +08:00
Myriad-Dreamin
413c2e8deb
feat: add svg and png export (#101) 2024-03-26 11:25:46 +08:00