Monaco-editor: where is the compiler

Created on 28 Jun 2016  路  7Comments  路  Source: microsoft/monaco-editor

Hi Team,

I am looking for the typescript compiler. I had a look at the typescript playground, which is using getEmitOutput, but I cannot find how to use it myself. Could you please guide me on how to proceed ?

Thanks,
Nicolas

help wanted

Most helpful comment

We should expose the whole language service API or the promise'isified version of it so folks are free to do. Only things like the program or ASTs that cannot be JSONified we shouldn't expose

All 7 comments

@jrieken Should we add getEmitOutput to monaco-typescript ?

We should expose the whole language service API or the promise'isified version of it so folks are free to do. Only things like the program or ASTs that cannot be JSONified we shouldn't expose

Do you have any timeline for this ?

Would be much appreciated

We don't really have a timeline for this but the good news is that we are accepting PRs :-).

Getting to the emitOutput is mostly about exposing this function and exposing more language service features in the worker - tho arguments and return types must JSON'able.

'Exposing' things happens in the createApi-function such that others can do something like this: monaco.languages.typescript.withWorker(uri1, uri2)...

I'm on it :)

we have it

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andreymarchenko picture andreymarchenko  路  3Comments

Panhaiwei picture Panhaiwei  路  3Comments

SoftTimur picture SoftTimur  路  3Comments

hawkerm picture hawkerm  路  3Comments

akosyakov picture akosyakov  路  3Comments