Inspectopedia 2024.3 Help

JQuery selector can be optimized

Reports a duplicated jQuery selector that can be cached or a usage of an attribute or a pseudo-selector (optional).

Locating this inspection

By ID

Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.

JSJQueryEfficiency
Via Settings dialog

Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.

Settings or Preferences | Editor | Inspections | JavaScript and TypeScript | General

Inspection options

Here you can find the description of settings available for the JQuery selector can be optimized inspection, and the reference of their default values.

Allow attribute and pseudo-selectors

Default: Selected

Last modified: 03 December 2024