-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validate code snippets from idea-plugin with Ank #542
Comments
In order to validate code snippets from IDEA plugin is necessary to include:
and
Just with:
some compilation errors are solved. To solve the rest of unresolved reference errors is also necessary to add However, if we add all the JARs provided by Intellij IDEA Gradle plugin and Kotlin IDEA Plugin:
|
Let's see which JARs are needed:
So the necessary libraries are:
If those JARs are provided with local paths to Ank:
all the |
And then other pending compilation errors appear (hidden by a general |
I also tried to remove some provided JARs by Intellij IDEA Gradle plugin and Kotlin IDEA Plugin (it seems
I got:
So let's continue with the solution about adding just |
It's also necessary:
for:
|
It's also necessary:
for:
|
Solved all the hidden compilation errors by the previous ApplicationManager.getApplication() must not be null error . Let's improve the local solution to add |
Summary:
|
Solved via #414 . |
Code snippets from
idea-plugin
are using classes that are provided by Intellij IDEA Gradle plugin and Kotlin IDEA Plugin.Figure out how to provide those classes to Ank.
P.D.: I'm creating this issue to explain how I'm solving the errors with documentation check in #414 (API doc creation and validation).
The text was updated successfully, but these errors were encountered: