Inspections

Inspections

Analyzing source code for common mistakes and potential improvements.

Our IDEs help you analyze code on various levels, starting from a single statement in the editor and all the way through to the architecture of your entire solution.

See Also

Convert Class to Record

Tip

Convert Class to Record
Use inspections to convert classes to Java 16 records.
Run inspection

Tip

Run inspection
Run inspection by name. For example, run Vulnerable API usage to see where the vulnerable API of external dependencies is used in your code.
Vulnerable API Usage

Tip

Vulnerable API Usage
See whether you are using the vulnerable API of a dependency.
Go to Next Error

Tip

Go to Next Error
Quickly move to the next (or previous) error or warning in the file.
Context Actions

Tip

Context Actions
There are numerous ways to use Context Actions, let's explore some of them.
Highlights of GoLand 2023.3

Playlist

Highlights of GoLand 2023.3
Explore key features and enhancements in GoLand 2023.3.
Solution-Wide Analysis

Tutorial

Solution-Wide Analysis
Find and resolve code issues in your projects.
Fixing Warnings and Errors

Part of tutorial

Fixing Warnings and Errors
Automatically resolve inspections using quick fixes.
Exploring Code Analysis Results

Part of tutorial

Exploring Code Analysis Results
Find code quality issues that matter and need your attention.
What is Solution-Wide Analysis?

Part of tutorial

What is Solution-Wide Analysis?
An introduction to Solution-Wide Analysis in ReSharper and Rider.
Why is ReSharper/Rider suggesting this?

Tip

Why is ReSharper/Rider suggesting this?
ReSharper and Rider help you learn existing and new features of .NET!
Inspections and quick-fixes for Unity code

Part of tutorial

Inspections and quick-fixes for Unity code
Rider helps you write better code, faster.
Editing, code completion, inspections

Part of tutorial

Editing, code completion, inspections
Let's explore what the coding experience is like!
New Features in GoLand 2023.1

Playlist

New Features in GoLand 2023.1
A selection of useful features from GoLand 2022.3.
Check for Vulnerabilities

Tip

Check for Vulnerabilities
Analyze your codebase and highlight known vulnerabilities in go.mod
C# 11 - Required Keyword

Tip

C# 11 - Required Keyword
Introducing the required keyword for fields and properties.
C# 11 - Raw strings

Tip

C# 11 - Raw strings
There is no escape!
Inspections Widget

Tip

Inspections Widget
The top-right corner of your editor shows you information about the state of your class at a glance.
Rename Constants That Use Reserved Names

Tip

Rename Constants That Use Reserved Names
Rename a constant if it uses a name of a built-in constant.
HTMX cascading selects

Part of tutorial

HTMX cascading selects
One thing leads to another.
HTMX state management

Part of tutorial

HTMX state management
Maintaining state across requests.
Hello, HTMX!

Part of tutorial

Hello, HTMX!
No series is complete without a "Hello, World" sample.
Client-side templating with Mustache and HTMX

Part of tutorial

Client-side templating with Mustache and HTMX
Generate HTML on the client, based on JSON.
Typeahead search with HTMX

Part of tutorial

Typeahead search with HTMX
Live updates based on your search query.
Out-of-band swaps with HTMX

Part of tutorial

Out-of-band swaps with HTMX
Swap and replace any HTML element.
Infinite scrolling with HTMX

Part of tutorial

Infinite scrolling with HTMX
Streaming infinite content to your users.
ASP.NET Core Razor TagHelpers for HTMX

Part of tutorial

ASP.NET Core Razor TagHelpers for HTMX
Simplify integration of HTMX in ASP.NET Core apps.
Introduction

Part of tutorial

Introduction
Giving context to HTMX.
Polling to get recent updates

Part of tutorial

Polling to get recent updates
Retrieve updated information from the server.
Server-powered modals with HTMX

Part of tutorial

Server-powered modals with HTMX
Create modal dialogs on the server.
Real-world shopping cart and conclusion

Part of tutorial

Real-world shopping cart and conclusion
See all HTMX techniques come together.
Shortcut keys for web applications

Part of tutorial

Shortcut keys for web applications
Add keyboard shortcuts to make your web an app.
Server-side validation, client-side feel

Part of tutorial

Server-side validation, client-side feel
Validate models on the server, display results on the client.
Tabs, tabs, and more tabs with HTMX

Part of tutorial

Tabs, tabs, and more tabs with HTMX
Asynchronous rendering of tabs on the server.
What is HTMX?

Part of tutorial

What is HTMX?
Understanding the spirit of the HTMX library.
Server-sent events for realtime updates

Part of tutorial

Server-sent events for realtime updates
Send messages to clients in realtime.
Automatic Inspections

Tip

Automatic Inspections
Detect common memory issues - automatically.
Write SQL queries using popular database packages

Tip

Write SQL queries using popular database packages
Work with SQL queries and get completion and other features automatically.
Inspect device_cgroup_rules Values for Errors

Tip

Inspect device_cgroup_rules Values for Errors
Check if the device_cgroup_rules values contain any errors.
Hot Spots

Tip

Hot Spots
Find areas of your code base that may need better test coverage.
Object Retention

Tip

Object Retention
Inspect retention paths for an instance or a group of objects.
Profile an HTTP request

Tip

Profile an HTTP request
What happens when an HTTP request is made?
Detect Incorrect Usages of t/b.Fatal* Calls in Goroutines

Tip

Detect Incorrect Usages of t/b.Fatal* Calls in Goroutines
Find if tests or benchmarks are using t/b.Fatal* calls inside goroutines incorrectly
Prevent a Package Depending Upon Another

Tip

Prevent a Package Depending Upon Another
Enforce architecture rules, such as data access layers not depending upon UI layers.
Lightweight Inspection Profile on Commit

Tip

Lightweight Inspection Profile on Commit
Fully customise the checks you must perform before you commit your changes to version control.
Use Pattern Matching for instanceof

Tip

Use Pattern Matching for instanceof
Inspections can guide us to use newer Java features.
Additional Tools

Part of tutorial

Additional Tools
There's more in ReSharper! Architecture diagrams, localization manager, build tools and more.
Inspections and Quick-Fixes in ReSharper

Part of tutorial

Inspections and Quick-Fixes in ReSharper
Helping you write better code, faster, and automatically fixes code issues.
Introduction

Part of tutorial

Introduction
Introduction to the ReSharper Essentials series.
Writing and Running Unit Tests with ReSharper

Part of tutorial

Writing and Running Unit Tests with ReSharper
Run, debug and profile tests, do continuous testing, and inspect code coverage.
Shortcuts, Editing and Code Completion

Part of tutorial

Shortcuts, Editing and Code Completion
Let's dive into the most important productivity shortcuts, editing, and code completion.
Detect Incorrect Usages

Tip

Detect Incorrect Usages
Formatting functions from packages such as pkg/errors, logrus or zap.
Localizing ASP.NET Applications

Part of tutorial

Localizing ASP.NET Applications
Working with Cultures, Resources, & ASP.NET.
Localization Basics

Part of tutorial

Localization Basics
Working with Cultures, Resources, & Apps.
Inspections and Quick-Fixes in Rider

Part of tutorial

Inspections and Quick-Fixes in Rider
Dive into inspections and quick-fixes, nullability inspections, the Heap Allocations Viewer plugin, and more!
Customize the Look and Feel of Rider

Part of tutorial

Customize the Look and Feel of Rider
Customize the look and feel of Rider, and make the editor work the way you want.
Introduction

Part of tutorial

Introduction
Introduction to the Rider Essentials series.
Shortcuts, Editing, and Completion in Rider

Part of tutorial

Shortcuts, Editing, and Completion in Rider
Where to start? Let's learn the two most important shortcuts, editing, and code completion.
Unit Testing with Rider

Part of tutorial

Unit Testing with Rider
Learn how Rider can help make sure code behaves as expected, with continuous testing and code coverage.
Introducing Variables

Tip

Introducing Variables
Introduce variables the way you like!
Cleanup Namespaces

Tip

Cleanup Namespaces
Fix all unused namespaces right from where you are!
C# 8 Support

Tip

C# 8 Support
Master all the C# 8 language features!
JSON schema support

Tip

JSON schema support
The best way to work with JSON and YAML files!
Editing Tips & Tricks

Playlist

Editing Tips & Tricks
Know everything there is to know about editing code.