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
Is your feature request related to a problem? Please describe.
Currently, our Editor only provides simple completion suggestions and doesn't really catch other issues we're more interested in.
eg. A user writing an expression that contains blocks that don't follow the openfn way
fn(state=>{
...
// do some work
...
returnstate;})console.log("smth")// not accepted!
Our editor doesn't provide enough help. it just keeps silent and then our compiler goes on to fail.
Tell us about your idea - describe the solution you'd like.
The idea is to provide diagnostic report/markers in the Editor to help users write less error-prone code.
Plan
Monaco seems to already inject a parser into the browser via a web worker - check network tab for tsWorker.js(1.1MB)
This file is served via jsdelivr. Can we patch it, build our version of tsWorker.js, and load it instead of the default monaco one?
Add a parser (eg. babel-parser, acorn, ...) - which would add approx another 1.1MB to our bundle size. or even lazy loaded(still not fun).
Additional context
...
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently, our Editor only provides simple completion suggestions and doesn't really catch other issues we're more interested in.
eg. A user writing an expression that contains blocks that don't follow the openfn way
Our editor doesn't provide enough help. it just keeps silent and then our compiler goes on to fail.
Tell us about your idea - describe the solution you'd like.
The idea is to provide diagnostic report/markers in the Editor to help users write less error-prone code.
Plan
This file is served via jsdelivr. Can we patch it, build our version of tsWorker.js, and load it instead of the default monaco one?
Additional context
...
The text was updated successfully, but these errors were encountered: