Paweł Mizio

Results 49 comments of Paweł Mizio

I can confirm same error on MacOS, I cannot authenticate using `SourcegraphLogin` nor token saved in env variable.

@IzioDev I looked into resources you provided and they say you need this `@monodon/typescript-nx-imports-plugin` plugin loaded into service. We support tsserver plugins, you can try to: ``` npm i -g...

@IzioDev Ok, so on typescript-tools side we should implement [this](https://github.com/microsoft/TypeScript/blob/581fba1f6f85116116a5838e44521b4a99de6bad/src/server/protocol.ts#L156C20-L156C20) request to mimic `api.configurePlugin` call. It will probably look very similar to [this](https://github.com/pmizio/typescript-tools.nvim/blob/master/lua/typescript-tools/protocol/text_document/did_close.lua), then you can call `vim.lsp.buf_request("typescriptTools/configurePlugin", {...params})`. I...

@IzioDev And that's true, we don't have response handler for this request and I don't think we need it because this request has no response at least [vscode](https://github.com/microsoft/vscode/blob/1606401f5b761397488f53b75130809fba073194/extensions/typescript-language-features/src/typescriptServiceClient.ts#L1020) don't use...

You can set [this value](https://github.com/pmizio/typescript-tools.nvim/blob/0bf2f91cc96b9c602b3e452cd239ee9f48ad0a7f/lua/typescript-tools/config.lua#L104) in config to `verbose` then in your os temp directory tsserver start dump it's logs. You can check `tsserver_semantic|syntax.log` to inspect is even this new...

Ooooh I see it now... Sorry I write from phone and I cannot see everything. But you pass server side handler to client side response, I know this is a...

While researching this flag you mentioned I found [this issue](https://github.com/microsoft/vscode/issues/45856) and based on it you can use currently supported flag `--pluginProbeLocation`, [here](https://github.com/pmizio/typescript-tools.nvim/blob/0bf2f91cc96b9c602b3e452cd239ee9f48ad0a7f/lua/typescript-tools/process.lua#L59) you need to add second path. I think...

[Here](https://github.com/pmizio/typescript-tools.nvim/blob/0bf2f91cc96b9c602b3e452cd239ee9f48ad0a7f/lua/typescript-tools/autocommands/diagnostics.lua#L26) you have example how to setup callback to this autocommand correctly. [Here](https://github.com/pmizio/typescript-tools.nvim/blob/0bf2f91cc96b9c602b3e452cd239ee9f48ad0a7f/lua/typescript-tools/autocommands/init.lua#L7) is function which create autogroup. Autogroups should be unique per plugin so you should make up your...

FYI: just merged(https://github.com/pmizio/typescript-tools.nvim/pull/167) `configurePlugin` request into master.

@faileon I think `workspace/executeCommand` is `typescript-language-server` way of doing things. In this plugin it isn't even implemented. Here it is done with custom protocol extension `typescriptTools/configurePlugin`. Something like below should...