Daniil Ovchinnikov
Daniil Ovchinnikov
This was also requested in IJ team
> add custom actions by registering documentation primary group id `Documentation.PrimaryGroup` Correct. `DocumentationActionProvider#additionalActions(Editor, PsiDocCommentBase, String)` is still used, we'll deal with it later. `DocumentationActionProvider#additionalActions(DocumentationComponent)` is not used, instead you're supposed...
> Get the selection in the documentation. This one is done by https://github.com/JetBrains/intellij-community/commit/899c6a834d0e0bba6f5852b6f720b7313f4cb024. It will be available in the EAP next week. The same `com.intellij.codeInsight.documentation.DocumentationManager#SELECTED_QUICK_DOC_TEXT` key works in the new...
> Easily switch the display of the original documentation and the documentation after processing. I've added `com.intellij.lang.documentation.ide.DocumentationBrowserFacade` and corresponding key `com.intellij.lang.documentation.ide.actions.DOCUMENTATION_BROWSER` to obtain it. See https://github.com/JetBrains/intellij-community/commit/b0dc835e699c151348fef9c4a69c6ccdb917e265 and https://github.com/JetBrains/intellij-community/commit/4d72e0c60953dd3c7ef6f5654be07ad4285ce059 With it...
> Get the documentation data, process it and update it. This one is kind of tricky. Your current implementation still works, and I'm hesitant to add another API just for...
> both local and external documentations are generated in a background thread It was the same way in the previous implementation. > Are there any plans to move the rendered...
Let's keep this thread about preserving the functionality for 2021.3. We can discuss further ways to improve APIs in YouTrack.
I've forgot to mention UseScopeEnlarger, you may also consider using `com.intellij.psi.impl.search.PsiSearchHelperImpl#USE_SCOPE_OPTIMIZER_EP_NAME` instead. So I'll consider https://youtrack.jetbrains.com/issue/IDEA-211113 fixed by your changes. As for https://youtrack.jetbrains.com/issue/IDEA-211117 your changes fix reference resolution, i.e. all...
> especially since we can't provide a match link either unless the user types in the match ID Wait, you have all the match IDs already, and I see this...
@howardchung why? Sorry, I still don't get it.