Mario Carneiro
7a6f7cb0ac
fix: induction info tree nesting
2022-09-29 19:07:18 +02:00
Mario Carneiro
73f44ccb7b
feat: hover for cases/induction case names
2022-09-29 19:07:18 +02:00
Mario Carneiro
d843e2a418
chore: add docs and test
2022-09-27 22:09:54 +02:00
Mario Carneiro
5644bd7a3f
feat: show decl module in hover
2022-09-25 06:43:48 -07:00
Sebastian Ullrich
a657a638f0
feat: sub-info tree level hover
2022-08-31 17:49:43 -07:00
Mario Carneiro
9bd886f37d
fix: @[inheritDoc] on notation
2022-08-27 07:11:39 -07:00
Mario Carneiro
37a12b635b
feat: add declId hover for syntax/notation/mixfix
2022-08-17 05:55:06 -07:00
Mario Carneiro
e0221db2e2
feat: add @[inheritDoc] attribute
2022-08-16 18:31:55 -07:00
Mario Carneiro
b201db4bf7
feat: add hover info for quot precheck
2022-08-13 17:31:57 -07:00
Mario Carneiro
1302d8f7fc
feat: prefer syntax doc over elab when both are present
...
closes #1443
2022-08-12 08:14:55 -07:00
Mario Carneiro
7cc8f7c4c4
feat: go to definition for antiquot kinds
2022-08-11 17:46:36 +02:00
Mario Carneiro
6026894f9f
doc: finish Init.Prelude docs
2022-08-09 14:25:44 -07:00
Mario Carneiro
37d3479e7c
doc: add more docs to Init.Prelude
2022-08-06 09:32:16 -07:00
Mario Carneiro
59b32da2d9
feat: go to def on parser aliases
2022-08-06 12:44:14 +02:00
Leonardo de Moura
659300597d
doc: some doc strings for Prelude.lean
2022-08-04 20:55:13 -07:00
Leonardo de Moura
f295a76b69
chore: fix test output
2022-08-04 15:29:17 -07:00
Sebastian Ullrich
2f0b65fad3
fix: do not show inaccessible variable in hover
2022-08-04 11:28:46 -07:00
Sebastian Ullrich
a44472962d
fix: replace uses of token antiquotations in tactics with with_annotate_state
2022-08-02 04:54:48 -07:00
Sebastian Ullrich
759a7d771f
fix: do not show inferred type on attribute application
2022-07-31 16:36:54 +02:00
Leonardo de Moura
3846dd60fd
fix: evalTactic
...
This commit fixes bug reported by Patrick Massot.
It happened when using `macro_rules` and `elab_rules` for the same
`SyntaxNodeKind`.
It also fixes missing error messages when there is more than one
elaboration functions and there is `abortTactic` exception.
Remark: this commit also changes the evaluation order. Macros are
now tried before elaboration rules. The motivation is that macros are
already applied before elaboration functions in the term elaborator.
2022-07-19 23:28:14 -04:00
Leonardo de Moura
989d8f04e1
chore: fix tests
2022-06-14 17:27:13 -07:00
Sebastian Ullrich
ddfbf6bf9b
fix: show namespace when hovering over declaration name
2022-06-02 18:17:21 +02:00
Sebastian Ullrich
46df02877d
fix: elab info for decreasing_by
2022-05-16 10:20:49 +02:00
Leonardo de Moura
37b321229f
feat: make sure hover information does not include @ for constants
2022-04-07 18:40:04 -07:00
Leonardo de Moura
36e032cf94
chore: fix test
2022-04-06 14:55:27 -07:00
Leonardo de Moura
1107705525
fix: jump to definition inside recursive definitions was not working on VS Code
...
Remark: it was working on Emacs.
2022-04-06 14:27:49 -07:00
Leonardo de Moura
149cd1ee82
chore: fix test
2022-04-05 21:04:55 -07:00
Mario Carneiro
c29da66c5a
fix: annotate binders in intro for hover / go to def
2022-03-22 12:10:51 +00:00
Sebastian Ullrich
312944e784
fix: hover etc. on complex declaration name
2022-01-19 12:27:03 +01:00
Gabriel Ebner
50abc3e295
fix: correctly pretty-print @Eq
2022-01-12 09:41:41 +01:00
Sebastian Ullrich
51dc32957b
feat: show universe args on hover
...
We might also want to replace them with fresh vars to make the hover
completely independent of the context, but this change at least avoids
any hidden information.
2021-12-20 10:51:44 +01:00
Sebastian Ullrich
5f96a9fc4d
fix: do not show type of sort in hover
...
Fixes #896
2021-12-19 11:03:15 +01:00
Sebastian Ullrich
a329896e70
feat: refine declaration ranges at instance & example
2021-11-27 07:25:15 -08:00
Sebastian Ullrich
4f15805787
feat: annotate declarations with term infos
2021-11-27 07:25:15 -08:00
larsk21
9028405798
fix: handle _root_ in unresolveNameGlobal with pp.fullNames
2021-11-21 15:23:21 +01:00
Sebastian Ullrich
4a4b4c1ef4
fix: mkAtomFrom: generate synthetic position like other *From functions
...
Also consistently use binders as reference position for an elided binder type.
Before, type errors were always given extent 1, the length of the
synthetic `_` token.
2021-07-19 13:24:59 -07:00
Sebastian Ullrich
cef3ade164
fix: info on non-atomic simp args
2021-06-23 00:08:07 -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
9170d1ff99
test: some syntax docstring tests
2021-06-21 10:17:26 -07:00
Sebastian Ullrich
6303c134a9
feat: add term info at resolveId?
2021-05-05 18:54:47 +02:00