How do I programmatically call the "Infer type of {variable} from usage" fix in Webstorm
Webstorm has a fix for untyped Typescript variables called Infer "type of {variable} from usage". I would like to try to automate calling this fix in some kind of plugin or using the the IDE scripting console, but I'm not sure if this fix is accessible, or what class implements it. Is it possible to call this programmatically?
Thanks!
Please sign in to leave a comment.
we have a special forum for questions regarding plugins development - https://intellij-support.jetbrains.com/hc/en-us/community/topics/200366979-IntelliJ-IDEA-Open-API-and-Plugin-Development. Feel free to ask questions there