You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typeListenerinterface {
BuildComplete(errors []schema.Error)
}
//perhaps with convenience helpers to make it easier to use?typeBuildCompleteListenerFuncfunc(errors []schema.Error)
func (bBuildCompleteListenerFunc) BuildComplete(errors []schema.Error) { b(errors) }
With that cmd_dev could just listen for events and sent to the LSP rather than injecting the LSP into buildengine. This should help reduce coupling.
Ideas: For handling errors from all language runtimes
Create GRPC server and runtimes push errors back as they build
Come up with some protocol that we can use to talk with builds over stderr
output json and that json has the structured errors in them
probably the easiest approach
The text was updated successfully, but these errors were encountered:
schema.Errors
and publish to lsp client (feat: Add LSP for FTL #1150)buildengine
events (feat: Add LSP for FTL #1150 )Ideas: Listener interface
With that
cmd_dev
could just listen for events and sent to the LSP rather than injecting the LSP intobuildengine
. This should help reduce coupling.Ideas: For handling errors from all language runtimes
The text was updated successfully, but these errors were encountered: