WebStorm 远程解释器不与 TSLint 一起工作

WebStorm remote interpreter not working with TSLint

我按照这个 link 在 WebStorm 中使用 Docker 设置了一个远程解释器,现在我想用它作为 TSLint 插件的解释器,我在上面 window:

但是当我尝试配置解释器时,我只获得了本地解释器的选项。

有没有办法配置它使用远程的?

这是我看到的:

不可能的 ATM。官方解释如下:https://youtrack.jetbrains.com/issue/WEB-25411#comment=27-1906237

This is the correct behavior described in Help (https://www.jetbrains.com/help/webstorm/2016.3/node-js.html)

The reason is that the project Node.js interpreter is used in many places - to run TypeScript service/compiler, external linters, etc. And all these services require local Node.js interpreter, they can't be run remotely. The only place where remote interpreters are supported is Node.js running/debugging. That's why setting up remote interpreter is only possible from Node.js Run configuration


有人请求为 Karma/Mocha/ESLint 添加对远程执行的支持——查看那些票——也许你会在那里找到并回答(或者创建新的功能请求票,如果下面的这些票没有明确的answer/not 适合你的需求):


关于相关说明(此评论及周围):

https://youtrack.jetbrains.com/issue/WEB-22572#comment=27-1836383

If so...our Docker integration isn't currently for that use case. Everything to do with the development – linters, build tools, test runners, ts language service, angular language service, angular cli, react project generator, react native, etc. – runs against a local NodeJS and node_modules.