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
Sebastian Ullrich
dd35db610b
feat: server: show final state after tactic combinator
...
No functional change yet because all our combinator have trailing
tactics whose info we prefer
2021-05-21 17:13:33 -07:00
Sebastian Ullrich
4d6c178a6a
refactor: server: actually detect EOF at goalsAt?
2021-05-21 17:13:33 -07:00
Sebastian Ullrich
cd5dbc66ce
fix: isolate std streams for all commands in server mode
...
Fixes #475
2021-05-19 13:30:54 +02:00
Leonardo de Moura
a3e09a983f
chore: remove leftovers
2021-05-17 14:47:04 -07:00
Leonardo de Moura
3b7bcdc449
feat: add endPos field to SourceInfo.original
...
We need an update stage0 before we use it.
2021-05-17 14:32:58 -07:00
Sebastian Ullrich
6a03e15a79
feat: watchdog: show message while worker is starting
2021-05-14 14:59:47 +02:00
Sebastian Ullrich
8ae726203d
fix: plainGoal: consider original positions only when deciding whether a tactic is a combinator
2021-05-12 10:51:42 +02:00
Sebastian Ullrich
1e6dadfa52
fix: documentHighlight on partial input
...
Fixes #455
2021-05-11 17:03:18 +02:00
Sebastian Ullrich
84d3896ea7
chore: fix comment
2021-05-05 15:08:30 +02:00
Sebastian Ullrich
4fb01f7c06
fix: goal state on ;
2021-05-03 13:32:00 +02:00
Sebastian Ullrich
8863761401
feat: show initial state for tactic combinators by default
2021-05-02 23:07:15 +02:00
Sebastian Ullrich
e1cde87c43
fix: server: completion & goal state at EOF
2021-04-30 19:25:53 +02:00
Daniel Fabian
0238bf8c33
refactor: use Ordering inside of rbmap instead of lt.
2021-04-27 07:58:58 -07:00
Leonardo de Moura
e6e12ca408
fix: fixes #408
2021-04-22 19:07:03 -07:00
Leonardo de Moura
1dca9d18d4
fix: missing tactic state info on broken proofs
2021-04-18 20:13:02 -07:00
Sebastian Ullrich
e96a21631b
refactor: move elaboration error filtering into Elab.Command
...
Also make it dependent on presence of `missing` instead of parse error,
which means that messages from complete commands that are immediately followed
by parse errors are not filtered out anymore
2021-04-17 23:44:57 +02:00
Leonardo de Moura
2667744092
fix: panic message
2021-04-15 18:25:19 -07:00
Sebastian Ullrich
435431ca7e
feat: hide elaboration errors from partial syntax trees by default
2021-04-13 19:24:35 +02:00
Leonardo de Moura
40a42128be
fix: auto completion improvements
2021-04-12 19:22:56 -07:00
Sebastian Ullrich
92810602d0
fix: server: do not stop processing after error (except for header error)
2021-04-12 22:41:10 +02:00
Leonardo de Moura
3318c75bed
fix: make sure borrow annotations do not affect auto-completion
2021-04-09 13:47:28 -07:00
Sebastian Ullrich
af588078e0
fix: server: output import errors again
2021-04-09 12:40:38 +02:00
Leonardo de Moura
a1887df4ee
feat: include parent structures and aliases in dot notation auto completion
2021-04-08 19:22:31 -07:00
Sebastian Ullrich
cc9577add2
refactor: server: remove SnapshotData
2021-04-08 22:10:27 +02:00
Sebastian Ullrich
dd15c8d5a7
feat: worker: don't abort on import error
...
to avoid the "crashed" message
2021-04-08 22:10:27 +02:00
Sebastian Ullrich
c3d6f781cf
refactor: publishDiagnostics
2021-04-08 22:10:27 +02:00
Sebastian Ullrich
bba8184d3b
feat: server: treat import errors as fatal
2021-04-08 22:10:27 +02:00
Sebastian Ullrich
a027b34d58
chore: remove dubious server-only option
2021-04-08 22:10:27 +02:00
Leonardo de Moura
a0a4b9faec
fix: filter declarations that are not valid dot methods
2021-04-08 11:48:12 -07:00
Sebastian Ullrich
f75ce86f71
fix: server: go to type definition
2021-04-08 18:54:53 +02:00
Sebastian Ullrich
d75d7aa0d5
fix: server: ignore unknown implementation-dependent notifications
...
Fixes #383
2021-04-08 09:54:36 +02:00
Sebastian Ullrich
5b5a882da6
fix: watchdog: do not reorder messages while delaying edits
2021-04-07 17:12:37 +02:00
Sebastian Ullrich
43fcf69485
fix: watchdog: mark request as pending even if worker crashed
2021-04-07 16:48:12 +02:00