Explore IntelliJ IDEA 2023.2: New Profiling, Debugging, and Cloud Tools

IntelliJ IDEA 2023.2 introduces a suite of enhancements—including a Run‑window profiler, inline return breakpoints, automatic test reruns for Gradle/Maven/JPS, WSL‑based Tomcat debugging, TLS‑enabled gRPC requests, Swagger and OpenAPI support, shared index generation, and numerous UI and code‑completion upgrades—streamlining Java development workflows.

JavaEdge
JavaEdge
JavaEdge
Explore IntelliJ IDEA 2023.2: New Profiling, Debugging, and Cloud Tools

4 Performance Analyzer

4.1 Using the Analyzer from the Run Tool Window

In IntelliJ IDEA 2023.2 you can launch profiling directly from the Run tool window without opening the Profiler tool window first. Click the new Attach IntelliJ Profiler button to start profiling, or Capture Memory Snapshot to take a heap dump.

Default Clock‑type Profiling Mode

The default profiling mode now measures total time spent in a method, including waiting time, and reports results in milliseconds, providing a more intuitive view of performance bottlenecks.

5 Run / Debug

5.1 Reactive Mono and Flux Value Evaluation

When debugging reactive applications, the Variables view now shows get or collectList links for Mono and Flux types. Clicking the link evaluates the stream instantly. By default the debugger fetches the first 100 items of a Flux; this limit can be changed under

File | Settings | Languages & Frameworks | Reactive Streams

.

5.2 Continuous Testing for Gradle, Maven, and JPS Projects

IDEA now supports continuous testing for Maven, Gradle, and JPS builds. Enable it with the new Rerun Automatically button in the Run/Debug tool window; tests run automatically after each file save, giving immediate feedback on code changes.

5.3 Inline Breakpoints on Return Statements

You can set breakpoints directly on return statements, similar to the existing support for lambda expressions. Right‑click the gutter next to a return statement and choose the return breakpoint option.

6 Version Control System

6.1 Commit Specific Lines

IDEA 2023.2 lets you commit only selected lines of a change. Highlight the desired lines, right‑click and choose Include these lines into commit. The selected lines are highlighted and can be toggled via checkboxes.

7 Performance

7.1 New Tool for Generating Shared Indexes

A new command‑line tool simplifies creating and uploading shared indexes, reducing the time required for large projects to build local indexes. The tool is invoked from the IDE with a few clicks, eliminating the need for custom scripts.

8 Frameworks and Technologies

8.1 Running and Debugging Tomcat on WSL

IDEA now supports running and debugging Tomcat deployments on the Windows Subsystem for Linux. Define JAVA_HOME in /etc/environment or ~/.bashrc to enable this workflow.

8.2 Sending gRPC Requests with TLS in the HTTP Client

The HTTP client can now send gRPC calls over TLS using https:// or grpcs:// schemes, ensuring encrypted and authenticated communication.

8.3 Improvements to Swagger Codegen

The Swagger Codegen configuration dialog has been redesigned for easier editing. The configuration can now be accessed directly from the gutter without extra settings.

8.4 Swagger and OpenAPI Support in the HTTP Client

The HTTP client now understands Swagger and OpenAPI specifications, offering code‑completion for JSON request bodies based on the schema.

8.5 Redoc UI Preview for OpenAPI and Swagger Files

IDEA provides an integrated Redoc UI preview for YAML and JSON OpenAPI/Swagger files, allowing you to switch between Redoc and Swagger UI within the IDE.

8.6 JSON Body Completion in JavaScript

When writing JavaScript, the IDE now offers completion for JSON object keys, e.g., in fetch() or Axios calls, and includes support for Spring MVC endpoints.

8.7 JavaScript Import Support in the HTTP Client

You can now share JavaScript code for HTTP client request handling via imported modules.

8.8 PDF and HTML Preview of HTTP Client Responses

The HTTP client can render PDF and HTML responses directly in the result pane.

8.9 GraphQL and WebSocket Support in the HTTP Client CLI

The CLI version of the HTTP client now supports interacting with GraphQL APIs and establishing WebSocket connections for testing or automation.

8.10 Auto‑completion for Spring Boot Configuration Keys in VM Options

When adding a new Spring Boot run configuration, VM options that start with -D now suggest relevant configuration keys.

8.11 Spring Configuration Beans No Longer Require Annotation Processors

IDEA now provides code‑completion and validation for custom Spring configuration beans without needing an annotation processor.

8.12 New YAML “Norway Problem” Inspection

A new inspection highlights boolean‑style literals (true, false, on, off, yes, no) in YAML lists that are primarily strings, warning of potential misinterpretation and suggesting quoting.

8.13 AsyncAPI File Editing Support

AsyncAPI files now benefit from schema validation, endpoint view, and editor preview with code‑completion for references.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

DebuggingJavaspringgRPCIntelliJ IDEAProfiling
JavaEdge
Written by

JavaEdge

First‑line development experience at multiple leading tech firms; now a software architect at a Shanghai state‑owned enterprise and founder of Programming Yanxuan. Nearly 300k followers online; expertise in distributed system design, AIGC application development, and quantitative finance investing.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.