Commit graph

402 commits

Author SHA1 Message Date
Gabriel Ebner
501c31da4d feat: send $/lean/fileProgress notification 2021-06-05 13:49:28 +02:00
Sebastian Ullrich
93327e2324 fix: tactic state on {/· 2021-05-21 17:13:33 -07:00
Sebastian Ullrich
9f3ddb0c43 fix: do not store solved goals in info tree 2021-05-20 15:17:54 -07:00
Sebastian Ullrich
a02c6fd3eb chore: adapt stdlib & tests 2021-05-20 15:17:36 -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
a2cafbf56f test: for tactic state visualization bug 2021-05-17 15:12:50 -07:00
Sebastian Ullrich
eb93894683 fix: do not abort elaboration on unclosed parenthesis 2021-05-17 22:29:06 +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
Leonardo de Moura
475f5fecaa feat: improve error recovery at Tactic.elabTerm 2021-05-06 20:44:36 -07:00
Sebastian Ullrich
6303c134a9 feat: add term info at resolveId? 2021-05-05 18:54:47 +02:00
Sebastian Ullrich
66c0f6ae9d fix: goal state at induction/cases e with 2021-05-05 15:27:40 +02:00
Leonardo de Moura
3d829c825c fix: Info nodes for overloaded notation/declarations
See new test to understand the problem that has been fixed.
2021-05-04 22:07:21 -07:00
Leonardo de Moura
7398db5f3f fix: rw final goal state 2021-05-04 16:58:44 -07:00
Leonardo de Moura
56d5d6c564 chore: fix tests 2021-05-04 15:42:03 -07:00
Sebastian Ullrich
aabb4a50aa feat: remove bracket-less rw 2021-05-04 15:24:22 -07:00
Leonardo de Moura
2be1595154 fix: preserve by toke position information during macro expansion 2021-05-04 11:26:34 -07:00
Leonardo de Moura
ac5bb36add fix: save all info nodes during backtracking 2021-05-04 11:05:58 -07:00
Sebastian Ullrich
c22f4ffaec fix: partial fix of focus goal state 2021-05-04 19:11:05 +02:00
Sebastian Ullrich
e76fc17b0e fix: rw goal state positions 2021-05-03 14:14:12 +02:00
Sebastian Ullrich
4fb01f7c06 fix: goal state on ; 2021-05-03 13:32:00 +02:00
Leonardo de Moura
78a2de4241 feat: better error recovery for match syntax 2021-05-02 17:00:35 -07:00
Sebastian Ullrich
b8b8cc79a9 feat: show initial case goal on ... => for induction/cases/case/match 2021-05-02 23:07:15 +02:00
Sebastian Ullrich
8863761401 feat: show initial state for tactic combinators by default 2021-05-02 23:07:15 +02:00
Sebastian Ullrich
2734a5baba feat: show state on by 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
Leonardo de Moura
a076b5b89e feat: improved error recovery for interpolated strings 2021-04-24 10:24:57 -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
Leonardo de Moura
d2910337af test: completion 2021-04-12 22:32:27 -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
a1887df4ee feat: include parent structures and aliases in dot notation auto completion 2021-04-08 19:22:31 -07: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
Leonardo de Moura
2da8e5afa1 chore: add completion test for the group issue 2021-04-07 22:46:08 -07:00
Sebastian Ullrich
0396168c2c test: make sure the interactive test would have actually failed without the fix 2021-04-07 18:05:48 +02:00
Sebastian Ullrich
5b5a882da6 fix: watchdog: do not reorder messages while delaying edits 2021-04-07 17:12:37 +02:00
Sebastian Ullrich
2de5b141eb test: interactive: support inserting text 2021-04-07 17:12:37 +02:00
Leonardo de Moura
9b0c054258 test: auto completion 2021-04-05 20:45:04 -07:00
Leonardo de Moura
803161d9fc fix: propagate expected type 2021-04-05 20:00:05 -07:00
Leonardo de Moura
3ccd992dad feat: elaborate auxiliary completion node 2021-04-05 19:07:39 -07:00
Leonardo de Moura
f13bdd6869 fix: error recovery at sepBy combinator 2021-04-05 18:38:57 -07:00
Sebastian Ullrich
e863376be1 chore: simplify tests 2021-04-05 22:01:56 +02:00
Leonardo de Moura
fbd6adaf21 chore: fix tests 2021-04-05 12:35:52 -07:00
Leonardo de Moura
383e32937e test: completion 2021-04-05 12:01:58 -07:00
Sebastian Ullrich
46be48211e test: dot completion 2021-04-05 14:00:22 +02:00
Sebastian Ullrich
e20b2c359a feat: server: show goal state after tactic if cursor not strictly before tactic 2021-04-03 00:23:46 +02:00
Sebastian Ullrich
ac9fee5854 test: add Lean 3-style interactive server tests
Fixes #376
2021-04-03 00:23:46 +02:00
Leonardo de Moura
6234c60aae chore(*): disable test suite 2018-04-10 12:56:55 -07:00
Sebastian Ullrich
70167def6f refactor(init/category/state): replace monad_state_lift with Haskell's MonadState
* does not leak information about the inner monad via out_param
* can be derived from an inner `monad_state` instance
2018-03-20 14:58:37 -07:00