Get diff between two files
Hello, I use method DiffUtil.compareWithCache to retrive differences between two files.
As I tested it, the method works as expected.
It however requires the first parameter to be of type
com.intellij.diff.requests.DiffRequest instead of
com.intellij.openapi.diff.DiffRequest.
I use the class from the second package in other places.
As a general practice, Is it ok if I use both DiffRequst classes as part of the plugin development?
请先登录再写评论。
Yes, it is absolutely OK to use all the classes you need to implement your plugin.
It all works good in IDEA.
However, I get this error if I use the plugin in PhpStorm:
Any idea how to deal with this?