-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Labels
Milestone
Description
Hi @ejgallego,
I noticed that coq-lsp prints more messages than serapi did. For example:
Inductive I := .
{"textDocument":{"uri":"file:///home/cpc/git/epfl/alectryon/test/minimal.v","version":0},"position":{"line":0,"character":0,"offset":-1},"range":{"start":{"line":0,"character":0,"offset":0},"end":{"line":0,"character":16,"offset":16}},"program":[],"messages":[{"range":null,"level":4,"text":"I is defined"},{"range":null,"level":4,"text":"I_rect is defined"},{"range":null,"level":4,"text":"I_ind is defined"},{"range":null,"level":4,"text":"I_rec is defined"},{"range":null,"level":4,"text":"I_sind is defined"}]}
SerAPI gives feedback for things like Check
, but doesn't print these … is defined
messages. Is there an explanation for the difference / a way to turn them off? Or is there a way to detect them that's better than just string matching?
Thanks a lot!