Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Semantic highlighting extensions to the IDE protocol #1343

Open
ohad opened this issue Apr 27, 2021 · 0 comments
Open

Semantic highlighting extensions to the IDE protocol #1343

ohad opened this issue Apr 27, 2021 · 0 comments

Comments

@ohad
Copy link
Collaborator

ohad commented Apr 27, 2021

Collect proposals for extensions to the IDE protocol concerning semantic highlighting. This is currently a stub issue, hopefully we will expand it with time.

Unsafe features

Currently, the emacs mode highlights unsafe functions (believe_me, assert_total etc.), but this is not part of the protocol.
We could extend the protocol with additional messages highlighting unsafe functions, so that IDEs don't have to track them themselves.

Totality highlighting

Currently we only highlight functions, but perhaps we could differentiate whether the function is total, covering, partial.
Also for datatypes (strict positivity).

Extension

also use this information as part of error messages, e.g., if a totality check fails, we can highlight the non-decreasing cycle/call and its arguments in the partial decoration.

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

No branches or pull requests

2 participants