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

Add LSP command for getting ELM JSON #65

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mgramigna
Copy link

Fixes #44

This PR adds support for a command that returns a JSON string of the ELM content (as opposed to XML). I tried to duplicate as little code as possible, but let me know if there is a more desirable approach for this.

The following is me executing both org.opencds.cqf.cql.ls.viewElmJson and org.opencds.cqf.cql.ls.viewElm in neovim. If desired, I'm happy to make a companion contribution to https://github.com/cqframework/vscode-cql that adds viewing the JSON as an option in the extension menu.

Screen.Recording.2023-04-03.at.3.15.15.PM.mov

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

Successfully merging this pull request may close these issues.

Support for ELM JSON in "viewElm" language server command
1 participant