Commit graph

274 commits

Author SHA1 Message Date
Wojciech Nawrocki
55ffb73bbe refactor: rename rpc/initialize to rpc/connect 2021-08-01 09:58:44 +02:00
Leonardo de Moura
af5ff9ceb2 refactor: move List.takeWhile to Init.Data.List.Basic
Motivation: make sure it will be aligned by BinPort
2021-07-31 15:03:33 -07:00
Wojciech Nawrocki
d6893a3e1f fix: more robust LspEncoding 2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
75feb9c244 chore: fix type and add copyright 2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
f27a069773 chore: drop UntypedRef and use monotonic RpcRefs 2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
ffc6efd5d0 fix: use properly random RPC session id 2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
9a5cdaf506 chore: address review 1 2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
3accff6f48 feat: deriving LspEncoding handler 2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
f077dd05d3 feat: RPC ref decrement 2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
80d90038ad feat: add Format tags 2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
1b42255493 feat: check RPC reference types 2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
4a93c9ac1c chore: purify WorkerM 2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
d97e1b91ea chore: drop RPC wrappers for now 2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
b3316fd9c2 feat: RPC handlers 2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
f891279957 chore: drop one namespace 2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
4d83e79121 feat: more RPC handlers 2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
3ec568c110 feat: initial RPC 2021-07-24 10:45:28 +02:00
Sebastian Ullrich
b76dd1a8e3 feat: go-to-definition for local variables 2021-07-19 13:24:59 -07:00
Sebastian Ullrich
df57b43b06 fix: go-to-type on parameterized types 2021-07-19 13:24:59 -07:00
Sebastian Ullrich
18becc7d7d fix: plain term goal on binders 2021-07-19 13:24:59 -07:00
Sebastian Ullrich
0839ead35e perf: server: avoid redundant publishDiagnostics
This should reduce server & editor load for the common case where most
command do *not* emit diagnostics
2021-07-08 12:12:19 +02:00
Wojciech Nawrocki
fd9e3d8fe6 chore: add completion test and go-to field type 2021-07-05 19:42:01 +02:00
Wojciech Nawrocki
dfcdc57302 feat: go-to for structure fields 2021-07-05 19:42:01 +02:00
Wojciech Nawrocki
24dcdad832 feat: check prefix in option completion 2021-07-05 19:42:01 +02:00
Wojciech Nawrocki
c7beb283e9 feat: allow requests to log to stderr 2021-07-05 19:42:01 +02:00
Leonardo de Moura
f4a7ffd8c8 chore: fix codebase and tests 2021-06-29 17:14:52 -07:00
Sebastian Ullrich
20fa503803 fix: move elabCommand parts that should happen only once into new function 2021-06-29 06:34:15 -07:00
Sebastian Ullrich
fc821745ae fix: swallow exception on hover formatting 2021-06-23 23:29:46 +02:00
Sebastian Ullrich
1c2aacc4a8 fix: worker: don't wait for tasks on exit 2021-06-23 08:53:20 +02:00
Sebastian Ullrich
eb1e285e26 chore: style 2021-06-21 10:17:26 -07:00
Sebastian Ullrich
b8be90fa08 fix: do not show complex terms in hover 2021-06-21 10:17:26 -07:00
Sebastian Ullrich
736d32c026 fix: hover on synthetic sorry 2021-06-21 10:17:26 -07:00
Sebastian Ullrich
14ceae0b0b feat: remove hover restriction to first token 2021-06-21 10:17:26 -07:00
Sebastian Ullrich
d44e2ea4bd feat: hover & go-to-definition for syntax (on first token) 2021-06-21 10:17:26 -07:00
Sebastian Ullrich
da4c46370d feat: store elaborator declaration name in info tree 2021-06-21 10:17:26 -07:00
Wojciech Nawrocki
7485ab5322 chore: style 2021-06-15 22:53:19 +02:00
Wojciech Nawrocki
e6b2818169 chore: fixes 2021-06-15 22:53:19 +02:00
Wojciech Nawrocki
bd4af2b340 feat: routing of custom LSP requests 2021-06-15 22:53:19 +02:00
Wojciech Nawrocki
4b3987c9cb feat: LSP request handler registration 2021-06-15 22:53:19 +02:00
Wojciech Nawrocki
39931566a0 feat: separate RequestContext in server 2021-06-15 22:53:19 +02:00
Gabriel Ebner
47f3cac0c5
fix: server: do not return duplicate response when worker crashes 2021-06-10 09:46:24 +02:00
Gabriel Ebner
f5f9be191b fix: show expected type in term goal 2021-06-07 16:23:22 -07:00
Gabriel Ebner
5786f58738 feat: plain term goal request 2021-06-07 16:23:22 -07:00
Daniel Fabian
63d58c2f64 refactor: use Except instead of Option in the JSON code. 2021-06-07 12:10:10 +02:00
Gabriel Ebner
501c31da4d feat: send $/lean/fileProgress notification 2021-06-05 13:49:28 +02:00
Gabriel Ebner
c47fff1b92 fix: cancel queued messages, not pending requests
Fixes #499.
2021-06-02 14:46:33 -07:00
Sebastian Ullrich
c5957dc069 fix: ignore other leanpkg print-paths output 2021-05-31 17:39:55 +02:00
Sebastian Ullrich
619873c842 feat: make System.FilePath opaque 2021-05-28 14:19:59 +02:00
Sebastian Ullrich
4354534fda feat: make FilePath a concrete type
Resolves #363
2021-05-28 14:19:59 +02:00
Wojciech Nawrocki
18e6f78089
fix: publish header processing message log 2021-05-26 09:30:29 +02:00