IntelliJ IDEA Open API and Plugin Development Is Deprecated. Join our JetBrains Platform Community.
Get diff between two files
Followed by 2 people
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?
Please sign in to leave a comment.
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?