Commit graph

133 commits

Author SHA1 Message Date
Myriad-Dreamin
c640d53396
dev: improve join type (#249)
* dev: improve join type

* dev: update snapshot
2024-05-07 18:30:14 +08:00
Myriad-Dreamin
b0c71a0961
fix: infinite loop in simplifying recursive functions (#246)
* fix: infinite loop in simplifying recursive functions

* dev: update snapshot
2024-05-07 13:39:04 +08:00
Myriad-Dreamin
d8c3a97f24
feat: trigger parameter hints instead of suggest on pos args (#243)
* dev: disable aggressive positional arguments completion

* feat: trigger parameter hints instead of suggest on pos args

* dev: update snapshot
2024-05-05 23:40:29 +08:00
Myriad-Dreamin
3490a3244c
feat: reimplement signature help (#241)
* feat: reimplement signature help

* dev: export doc tooltip

* dev: update snapshot
2024-05-05 23:30:19 +08:00
Myriad-Dreamin
b8143e7090
feat: provide code action to rewrite headings (#240)
* feat: provide code action to rewrite headings

* dev: update snapshot
2024-05-05 23:25:03 +08:00
Myriad-Dreamin
6ad9258740
feat: handle/add link in the hover documentation (#239)
* feat: handle/add link in the hover documentation

* dev: update snapshot

* dev: update snapshot

* dev: update snapshot
2024-05-05 21:32:09 +08:00
Myriad-Dreamin
68bcc2b571
feat: provide label details by type, symbol, and labels (#237)
* feat: label details by type

* fix: symbol's details and label details

* dev: update snapshot

* fix: make signature stable
2024-05-05 20:19:29 +08:00
Myriad-Dreamin
bf8a505135
feat: check surrounding syntax for elements/selectors (#236)
* feat: check surrounding syntax for elements/selectors

* dev: update snapshot

* dev: update snapshot
2024-05-05 19:36:30 +08:00
Myriad-Dreamin
5ad5294fca
feat: support code context queries (#217)
* feat: support code context queries

* dev: improve switch

* dev: update snapshot
2024-04-27 09:29:20 +08:00
Myriad-Dreamin
9c9e4977b1
feat: complete functions with where/with snippets (#206)
* dev: complete function with where/with snippets

* dev: update snapshot
2024-04-20 15:27:57 +08:00
Myriad-Dreamin
b35d897919
feat: complete function parameters on signatures inferred by type checking (#203)
* dev: check upper bound types in assigning positions

* dev: check template signatures

* feat: completion with type sigatures

* dev: document a bit

* dev: save todo work on auto completion on user functions

* dev: fix document target

* dev: remove playground snaps

* dev: fix ident target

* dev: update snapshot
2024-04-20 15:03:46 +08:00
Myriad-Dreamin
987a7da867
feat: complete arguments enhanced by type inference (#186)
* auto complete code in param position

* dev: initial path completion in params

* fix: compile error

* remove two todo

* dev: improve get_deref_target

* check string during completion

* feat: complete path arguments

* feat: identify hash before function follows a content parameter

* dev: complete text.size, text.dir, stack.dir, stroke dict

* dev: add record type

* dev: complete stroke dict

* fix: correct kind of langauge of code tooltip

* dev: add colon trigger character

* dev: let type selection complete

* dev: complete inset/outset/margin/radius dictionary types

* dev: complete raw theme/syntaxes, bib path types

* dev: complete all files at the same time

* dev: update snapshot
2024-04-15 00:17:54 +08:00
Myriad-Dreamin
76de22b676
dev: rename trace feature to profile feature (#185)
* dev: rename trace feature to profile feature

* dev: update snapshot
2024-04-12 09:49:44 +08:00
Myriad-Dreamin
6e3af65749
dev: remove unused StableHash (#184) 2024-04-12 08:31:15 +08:00
Myriad-Dreamin
71ad5aaaed
dev: introduce basic type checker (#183)
* dev: draft type checker v1

* dev: use check_in_mode

* dev: refactor entries

* dev: change name

* update test

* dev: clean up playground

* dev: clean tests

* dev: update snapshot

* fix: bad refactor

* dev: update snapshot
2024-04-11 23:28:32 +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
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
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
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
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
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
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
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
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
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
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
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
5f27135419
feat: add an e2e smoke testing (#114)
* feat: e2e smoke testing

* feat: redact value

* dev: don't compile in tests

* dev: use correct path to binary
2024-03-28 21:34:56 +08:00