Results 7 comments of cztflove

关于UI rendering属于task有个疑问,一轮event loop的流程是task -> microTask -> UI render ,如果UI rendering是task的话,不就违背了一轮event loop只执行一个task的原则了吗?

> Can you provide more context please? What is the object you're printing? my object is printed from the function addMessageToQueue of vscode-jsonrpc ![image](https://user-images.githubusercontent.com/16745191/128201223-5693d06f-f8f1-446d-860f-dcc338331398.png) ![image](https://user-images.githubusercontent.com/16745191/128202070-2525f759-d42a-4912-90f6-ba289a05848c.png)

> @cztflove It's strange because there is no `path` on the `initialize` request. There is `rootPath` and `rootUri` though. > > What language server are you trying to connect to?...

> > > What language server are you trying to connect to? > > > > > > typescript > > Which one though? > > Since you're in a...

> @cztflove Looks like your `rootPath` and `rootUri` are `null` so that's probably your problem. but these two params seem not required, I will have a try to fix it,...

@rcjsuen I am so confused about the use of rootUri, can you please explain for me? According to the example of typescript-language-server, it points to a local file path, but...

> 请问 createMonacoServices函数所接受的rootUri 必须要是本地的吗 可否是远程gitlab的路径? 请问你的问题解决了吗?我也是对rootUri的地址很困惑