Skip to content

Implement a way to set -quiet #1006

Description

@cpitclaudel

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions