Mr
Hy I am a javascript developer and just right now I have migrated from vscode to webstorm. With vscode it was great, that I could write my plugins directly in javascript and I am just wondering, Is there a way to write plugins in javascript and if there is then how it is possible?
Thanks for the answers.
请先登录再写评论。
No, it's not possible.
VSCode is written in JavaScript and has JavaScript API; WebStorm is written in Java, and it provides a powerful java API.
Adding a possibility to develop plugins in preferable language (why just JavaScript, BTW? We have Ruby, Python, PHP, etc communities) would likely make barriers lower. But we can hardly afford it, the cost is too high.
We have already tried this with Ruby, and the result was 100% negative; so we had to abandon this functionality
'why just JavaScript, BTW?'
So in case of Webstorm as far as I see is used most widely by javascript developers, like Angular, React and Node.js devs, so it would make sense, that - exclusively for Webstorm to create there some kind of javascript based solution.
Php developers have phpstorm, so in case of php then phpstorm should provide this functionality, same as python developers with Pycharm, altough I know (but I can be wrong) that all jetbrains ideas are based on the intellij platform, which exposes the mentioned api.
So it just would make sense to be able to write plugin to the idea in the lanugage, to which the idea has been meant for. It is obvious that the users of an idea, which is meant for php like phpstorm, wont know java (at least most of them), so they will be unable to fully customize the idea to their own needs.
But anyway I really appreciate your answer and helped me in the sense, that I don`t waste anymore time on searching for javascript based plugin writing solution, so your answer has spared me time and energy:) thank you.