Commit graph

42 commits

Author SHA1 Message Date
Wojciech Nawrocki
8207ca6493 feat: more widget Info integration 2021-08-24 08:57:41 -07:00
Wojciech Nawrocki
7ecea27986 feat: emit MessageData from Infos 2021-08-24 08:57:41 -07:00
Leonardo de Moura
1be41f2adb chore: fix stdlib 2021-08-06 12:58:58 -07:00
Wojciech Nawrocki
80d90038ad feat: add Format tags 2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
dfcdc57302 feat: go-to for structure fields 2021-07-05 19:42:01 +02:00
Sebastian Ullrich
fc821745ae fix: swallow exception on hover formatting 2021-06-23 23:29:46 +02: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
Gabriel Ebner
5786f58738 feat: plain term goal request 2021-06-07 16:23:22 -07: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
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
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
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
Leonardo de Moura
1dca9d18d4 fix: missing tactic state info on broken proofs 2021-04-18 20:13:02 -07:00
Leonardo de Moura
ff1d27370c feat: add CompletionInfo 2021-04-02 20:44:57 -07: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
Leonardo de Moura
ed4504929d refactor: add Server/Completion.lean
Add environment extension for black listing declaritions for completion.
2021-04-02 11:10:06 -07:00
Leonardo de Moura
c9f4359045 feat: add DotCompletionInfo 2021-04-01 23:31:38 -07:00
Leonardo de Moura
8d00a06d97 feat: add helper functions for completion 2021-04-01 23:31:38 -07:00
Sebastian Ullrich
ac8f0526f6 feat: report goals from multiple info states 2021-03-30 11:38:34 +02:00
Sebastian Ullrich
06df67313c refactor: goalsAt? 2021-03-30 11:27:42 +02:00
Leonardo de Moura
745cff41db feat: (try to) improve InfoTree.goalsAt? (yet another heuristic) 2021-03-29 19:30:00 -07:00
Leonardo de Moura
f75d9f50a6 feat: (try to) improve InfoTree.goalsAt? 2021-03-29 18:43:33 -07:00
Sebastian Ullrich
c86f41a42b feat: command-level info trees 2021-03-20 08:28:18 -07:00
Sebastian Ullrich
86072873f4 feat: server: allow more than one ContextInfo 2021-03-20 08:28:18 -07:00
Wojciech Nawrocki
ec903f58d2 feat: bare-bones goal request handler 2021-02-06 10:41:14 +01:00
Wojciech Nawrocki
e383222f92 feat: hovers for fields & refactor 2021-02-06 10:41:14 +01:00
Sebastian Ullrich
316b453be4 chore: do not show term info for synthetic sorry 2021-01-20 16:48:50 +01:00
Sebastian Ullrich
67c78ef1b7 fix: exclude synthetic syntax from hover/definition 2021-01-20 16:48:50 +01:00
Sebastian Ullrich
a9f96ace3e chore: naming 2021-01-20 16:48:50 +01:00
Wojciech Nawrocki
e627ad308d feat: go-to-definition 2021-01-19 13:22:13 -08:00
Sebastian Ullrich
fcb1616c20 chore: reduce dependencies 2021-01-16 19:45:45 +01:00
Wojciech Nawrocki
d7c201a2d4 chore: minor hover code cleanup 2021-01-15 13:29:22 -08:00
Wojciech Nawrocki
310a2ab6a3 feat: minimal hovers MVP 2021-01-15 13:29:22 -08:00