In IDE Plugin
// This is a comment
Generic Configuration options
Checks the contents of the comment, ignoring comment tokens (// and /* * */).
/* * */
The following options are generic and available for every target.
Similar to the logical operator OR: one or more descendant options should match.
- name: "illegal"
- name: "alsoIllegal"
Similar to the logical operator AND: all descendant options must match.
- annotation: "HttpPost"
- annotation: "AllowUnAuthorized"
The only purpose to use this field is to make the recipe easier to read. It provides no additional
Works as the logical operator NOT. It will negate the result of the descendant options. Sensei presents the
user with both options. They display the same behavior, but certain scenarios tend to read better using
Performs a structural search, this option is mainly used to narrow down recipes. Examples of this
would be to only analyze and mark code inside a certain class or method that has a specific
annotation. However, we haven't limited this option to only support these two scenarios. More advanced
configuration can be achieved.
Labels do not modify the behavior of searching elements,
but they allow addressing a specific element in a quick fix.
- name: add the 'type' attribute on the outer element
+ <outer type="unsafe">