The first prominent change is that Structural Search Inspection is now moved out of General into its own category and is now called Structural Search.Īlong with that, inspections can be added into this category via a new Add button at the top window toolbar: Inside the inspection one template might validate the tags in the annotation, another one in the hook annotations, or a third one somewhere else, if necessary. Inspections are common coding problems for what there can be one or more different checks, meanwhile templates are one or more different checks for the same problem.įor example, there can be an inspection called Incorrect Cucumber tag expression which can be validated in the annotation, or in any of the hook annotations ( etc.). Multiple templates per inspectionįirst, it’s important to distinguish the terms inspection and template. Let’s see in more detail what JetBrains devs have cooked for us. ![]() There are also some new configuration options added. ![]() They became slightly restructured, so that now users are able to define multiple templates for each inspection, and each inspection can have its own severity. With IntelliJ 2020.2 comes a major update on the Structure Search and Replace templates.
0 Comments
Leave a Reply. |