Joscha
5749fb1474
fix: search for local refs only in current file
...
Fixed by adding the identifier's module as an argument to referringTo.
If the ident is RefIdent.const, this is ignored, but if it is
RefIdent.fvar, referringTo limits its search to the ident's module.
2022-05-03 16:53:03 +02:00
Sebastian Ullrich
2f3396e58a
fix: non-termination in deduplication of lexical references
2022-05-02 09:51:14 +02:00
Sebastian Ullrich
09e4c00c68
fix: lexical references through x := e and similar macros
2022-05-01 17:46:05 +02:00
Sebastian Ullrich
a0678b5f6f
refactor: rename confusing Reference.isDeclaration field
2022-05-01 16:21:15 +02:00
Joscha
196cf67eed
fix: handle overlapping definitions
2022-02-06 16:52:18 +01:00
Leonardo de Moura
12e2a79170
chore: fix codebase after removing auto pure
2022-02-03 18:08:14 -08:00
larsk21
6cee7a6a31
fix: dedup references in findModuleRefs
2022-02-02 13:03:21 +01:00
Joscha
d2dcff1f9a
refactor: address review comments
2022-01-31 21:36:37 +01:00
Joscha
4545e183d8
fix: go to definition in modified file
2022-01-31 21:36:37 +01:00
Joscha
ccf492b61d
feat: implement partial ilean updates
2022-01-31 21:36:37 +01:00
Joscha
2423a78db4
refactor: implement suggestions
2022-01-20 17:20:01 +01:00
Sebastian Ullrich
3a926b1047
fix: use user-facing private decl name in symbol query
2022-01-20 17:20:01 +01:00
Joscha
7540889bd3
feat: implement LSP workspace symbol request
2022-01-20 17:20:01 +01:00
Joscha
d8ec900ae9
refactor: use array instead of list in AsyncElabState
2022-01-14 09:18:57 +01:00
Joscha
ab52480b69
fix: implement suggestions
2022-01-14 09:18:57 +01:00
Joscha
4bcf7ab31f
style: add copyright headers
2022-01-14 09:18:57 +01:00
Joscha
b9f8f5eb38
fix: find references of function parameters
2022-01-14 09:18:57 +01:00
Joscha
7cce91acb4
refactor: move some reference-related types to Lean.Data
...
These types are required for worker->watchdog notifications.
2022-01-14 09:18:57 +01:00
Joscha
67aa823ae2
fix: resolve symlinks for the LSP client
2022-01-14 09:18:57 +01:00
Joscha
bce56fdc0c
feat: implement reference request
2022-01-14 09:18:57 +01:00
Joscha
4fd1d22c31
feat: load and unload ileans on LSP notifications
2022-01-14 09:18:57 +01:00
Joscha
4e12cc902b
feat: load ilean files from olean search path
2022-01-14 09:18:57 +01:00
Joscha
3f998c68bc
feat: export reference info to ilean files
2022-01-14 09:18:57 +01:00
Joscha
96ed620933
feat: collect reference info from InfoTrees
2022-01-14 09:18:57 +01:00
Joscha
efb964956e
feat: add FileRefMap and convert to/from JSON
2022-01-14 09:18:57 +01:00