js ast analyzing plugin
Hello,
I want to implement plugin for WebStrom which performs some static analysis over js AST.
Is it possible?
By the way, I cant find webstorm plugin SDK or web storm plugin development manual.
Maybe i tried to find wrong thing...
Well, i am aware that resharper sdk allows to create ast manipulating plugins, so i made a conclusion that webstorm plugin sdk also has such capacities.
Thanks in advance.
Andrew
请先登录再写评论。
Hi Andrew,
There's no separate "WebStorm plugin developement manual" or "WebStorm plugin SDK", it's all in IntelliJ IDEA plugin development SDK / resources (all the products share the same platform called 'IntelliJ platform').
Some links to start:
http://confluence.jetbrains.net/display/IDEADEV/PluginDevelopment
http://devnet.jetbrains.net/community/idea/open_api_and_plugin_development
Also I must warn you that JavaScript support plugin is closed-source (as opposed to open-source Platform/General API/Infrastructure part), so it may be problematic to work with that API. What kind of analysis you want to implement?
Cheers,
Kirill
Note to other searchers: Use the Program Structure Interface (PSI) Viewer: https://www.jetbrains.com/help/webstorm/psi-viewer.html