Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Format content
  • Loading branch information
onewhl committed Oct 4, 2022
commit 296e0287ceb8e5d477ba1e9cf2aa74c815b8e31f
15 changes: 7 additions & 8 deletions docs/summaries/CustomJavadocTags.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,21 @@ the same names).
There is a setting `Javadoc comment style` in the main plugin's `Settings`. It has two options: `Plain` text
and `Structured via custom Javadoc tags` (selected by default).

## Examples: Summaries without custom tags/With custom tags

## View
There are two modes the comment could be shown in IntelliJ IDEA: plain text and rendered view.
To activate rendered mode, click on the toggle near comment.

| Version | Old | New |
|----------|-----|-----|
| Plain | | |
| Rendered | | |
To activate rendered mode, click on the toggle near comment.

## Implementation details

Implemented `JavadocTagInfo` to introduce our custom JavaDoc tags.

Implemented `CustomJavadocTagProvider` and registered it in `plugin.xml` to support plugin's custom tags.

Overrided behavior of `JavaDocumentationProvider#generateRenderedDoc` and registered it in `plugin.xml` to render our custom JavaDoc tags correctly.
Added a flag `USE_CUSTOM_TAGS` to settings

Added a flag `USE_CUSTOM_TAGS` to settings.

After plugin's removal, IDE doesn't recognize our custom tags. It doesn't lead to errors, but highlights tags with
yellow color.

Expand Down