web-components
web-components copied to clipboard
Component: Ergo (Logic) Editor
- Based on https://github.com/react-monaco-editor/react-monaco-editor
- We should refactor the VSCode plugin to share the same Language Server and use it with the Monaco editor. https://github.com/TypeFox/monaco-languageclient
- https://langserver.org
- Existing LSP: https://github.com/accordproject/ergo-vscode-plugin/blob/master/server/src/server.ts
I'm less clear about this. If we do more work on VSCode, we may not need to edit Ergo in React component.
On the other hand: this could be useful if we want to edit Ergo formulas (aka computed variables). See XXX (@Michael-Grover I'm not sure where the issue about computed variables is -- didn't we have one?)
@jeromesimeon I'll make an issue for computed variables unless someone finds an existing issue. I don't see an existing issue.