-
Notifications
You must be signed in to change notification settings - Fork 39
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
Fixed KdocComments #1754
Fixed KdocComments #1754
Commits on Sep 28, 2023
-
### What's done: - Added non-fixed warning `KDOC_EXTRA_PROPERTY` for case when `private` or `override` property has `@property` tag in class-KDoc. - Removed fixed warning `KDOC_NO_CONSTRUCTOR_PROPERTY` for case when `override` property hasn't `@property` tag in class-KDoc. - Added non-fixed warning `KDOC_NO_CONSTRUCTOR_PROPERTY_WITH_COMMENT` for case when `private` or `override` property has comment before. - Changed warning `KDOC_NO_CONSTRUCTOR_PROPERTY` to `KDOC_NO_CONSTRUCTOR_PROPERTY_WITH_COMMENT` for case when non-`private` and non-`override` property has comment before. - Added check is warning `KDOC_NO_CONSTRUCTOR_PROPERTY_WITH_COMMENT` fixable for case when non-`private` and non-`override` property has tags in KDoc-comment before. If it has = non-fixed. - Fixed case when text from comment before non-`private` and non-`override` property didn't append to the end of `@property` text in class-KDoc for that property. - Fixed case when `@property` text in class-KDoc didn't create for KDoc-comment before non-`private` and non-`override` property. - Fixed functions `removeWithWhiteSpace` and `removeChildMergingSurroundingWhitespaces` for additional handling KDoc-comments. - Reworked fix tests. Added fix test for case when `@property` tag exist in class-KDoc. - Added warning tests. It's part of saveourtool#1737
Configuration menu - View commit details
-
Copy full SHA for 37edc00 - Browse repository at this point
Copy the full SHA 37edc00View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc88b09 - Browse repository at this point
Copy the full SHA fc88b09View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1ebe74 - Browse repository at this point
Copy the full SHA c1ebe74View commit details -
Merge branch 'feature/fix-kdoc-comments' of https://github.com/DrAlex…
…D/diktat into feature/fix-kdoc-comments # Conflicts: # diktat-rules/src/main/kotlin/com/saveourtool/diktat/ruleset/rules/chapter2/kdoc/KdocComments.kt
Configuration menu - View commit details
-
Copy full SHA for d5e31fa - Browse repository at this point
Copy the full SHA d5e31faView commit details -
Configuration menu - View commit details
-
Copy full SHA for bdef44b - Browse repository at this point
Copy the full SHA bdef44bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 382736a - Browse repository at this point
Copy the full SHA 382736aView commit details
Commits on Oct 2, 2023
-
- fixed case when @Property text in class-KDoc didn't create for KDoc…
…-comment before private and override property - fixed case when there wasn't empty line after class-Kdoc description and before any tag - fixed case when indentation wasn't created before content of new line if tag block cannot be described in one line
Configuration menu - View commit details
-
Copy full SHA for d01ba9e - Browse repository at this point
Copy the full SHA d01ba9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96e3c8f - Browse repository at this point
Copy the full SHA 96e3c8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96a271c - Browse repository at this point
Copy the full SHA 96a271cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a10486b - Browse repository at this point
Copy the full SHA a10486bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 88f429f - Browse repository at this point
Copy the full SHA 88f429fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c4d75c - Browse repository at this point
Copy the full SHA 8c4d75cView commit details
Commits on Oct 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 27fb72f - Browse repository at this point
Copy the full SHA 27fb72fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a85200 - Browse repository at this point
Copy the full SHA 7a85200View commit details -
- added non-fixed warning
KDOC_EXTRA_PROPERTY
for redundant `@param……` tags in class-KDoc - added fixed warnings `KDOC_NO_CONSTRUCTOR_PROPERTY` and `KDOC_NO_CONSTRUCTOR_PROPERTY_WITH_COMMENT` due to `private` properties and parameters must have `@param` tags in class-KDoc
Configuration menu - View commit details
-
Copy full SHA for 19e59ff - Browse repository at this point
Copy the full SHA 19e59ffView commit details -
Merge branch 'feature/fix-kdoc-comments' of https://github.com/DrAlex…
…D/diktat into feature/fix-kdoc-comments
Configuration menu - View commit details
-
Copy full SHA for eec619c - Browse repository at this point
Copy the full SHA eec619cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 77fc1ba - Browse repository at this point
Copy the full SHA 77fc1baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e180cb - Browse repository at this point
Copy the full SHA 2e180cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67d18fa - Browse repository at this point
Copy the full SHA 67d18faView commit details
Commits on Oct 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 43fadfc - Browse repository at this point
Copy the full SHA 43fadfcView commit details -
Configuration menu - View commit details
-
Copy full SHA for d16ad71 - Browse repository at this point
Copy the full SHA d16ad71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78d8012 - Browse repository at this point
Copy the full SHA 78d8012View commit details
Commits on Oct 11, 2023
-
- added configuration for
@param
tags creation: `isParamTagsForPara……meters` and `isParamTagsForPrivateProperties` - fix affected classes
Configuration menu - View commit details
-
Copy full SHA for 62c5bd3 - Browse repository at this point
Copy the full SHA 62c5bd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91016b9 - Browse repository at this point
Copy the full SHA 91016b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7ba451 - Browse repository at this point
Copy the full SHA b7ba451View commit details
Commits on Oct 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5cfbb44 - Browse repository at this point
Copy the full SHA 5cfbb44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62bf445 - Browse repository at this point
Copy the full SHA 62bf445View commit details
Commits on Oct 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e986c4d - Browse repository at this point
Copy the full SHA e986c4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 275e45c - Browse repository at this point
Copy the full SHA 275e45cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b03af2c - Browse repository at this point
Copy the full SHA b03af2cView commit details