Commit graph

39 commits

Author SHA1 Message Date
Leonardo de Moura
42436254ee fix: code 2021-09-12 19:11:21 -07:00
Leonardo de Moura
391366ef24 refactor: add annotation for displaying conv state 2021-09-02 15:52:11 -07:00
Leonardo de Moura
1a362bc212 feat: add support for displaying conv goal in interactive mode 2021-09-01 16:45:12 -07:00
Wojciech Nawrocki
0897984a95 feat: send expression range in interactive term goal 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
2f5fbf3b13 feat: support multiple RPC sessions
Motivation: we may want to also use RPC in editor insets, or multiple
webviews in general.
2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
03dbfaea03 chore: remove ExprWithCtx 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
fd016c6065 chore: address some comments 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
916e80a906 fix: optional type for plain goal request 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
feff4c2ed3 feat: unify goal handlers 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
f52940160e feat: better interactive goals 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
568cc3cf11 refactor: consistent naming of widget modules 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
72df64e8fe chore: move RpcSession 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
dae1a94d53 feat: misc server additions 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
5f021baa95 style: statement ordering
Co-authored-by: Sebastian Ullrich <sebasti@nullri.ch>
2021-08-01 09:58:44 +02:00
Wojciech Nawrocki
1d57ffb4d7 refactor: shuffle classes to avoid dependency loops 2021-08-01 09:58:44 +02:00
Wojciech Nawrocki
1311f87a8b feat: eagerly initialize RPC session
With this we are able to send RpcRefs immediately, in particular in (interactive) diagnostics.
2021-08-01 09:58:44 +02:00
Wojciech Nawrocki
d3ca1e98e9 refactor: make lsp/release a notification 2021-08-01 09:58:44 +02: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
1b42255493 feat: check RPC reference types 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
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
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
c7beb283e9 feat: allow requests to log to stderr 2021-07-05 19:42:01 +02:00
Sebastian Ullrich
d44e2ea4bd feat: hover & go-to-definition for syntax (on first token) 2021-06-21 10:17:26 -07:00
Wojciech Nawrocki
7485ab5322 chore: style 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