Mauryan Kansara
Mauryan Kansara
Good! In your free time, please try to solve it using `MatchXpath`
> We can make Check that demand """ to be on new line. Do we really need a new check for this? Is this in demand by other users? Or...
> I do not think we have easy have by xpath expressions validate that some token is only token on a line. I think we should first try with xpath...
By Xpath I meant MatchXpath Check: https://checkstyle.org/checks/coding/matchxpath.html#MatchXpath It allows us to create custom checks using xpath queries, in our case we want to give violation for `"""` if it doesn't...
> am I missing something? my bad, it might be possible, idk, but if it is possible then it would be very difficult to write such query
> is there a way to do this ? Try this: ```xml ``` ```java public class Test { // valid cases String s1 = """ Testing.... """; String s2 =...
@mohitsatr please open an issue about the new check
> We need special Check, Regexp is not an option Until new check is implemented, should we use Regexp to partially match the rule? We can add the blue tick...
[TodoComment](https://checkstyle.sourceforge.io/checks/misc/todocomment.html) is only used to check comments and helps to remind us about such comments and their pending tasks, may not be used like others checks - to fix incorrectly...
The code is currently a bit messy and contains debugging console logs. Will remove them once I ensure that everything is working fine and also attach the demo video in...