Skip to content

Arro 0.1.16

Choose a tag to compare

@PabloSensei PabloSensei released this 14 Nov 22:14

Arro 0.1.16

The biggest batch so far: Spring support, a database console, a profiler, JShell, a dependency analyzer, stack trace analysis and a live Actuator tab for Spring Boot apps.

New

  • Spring configuration files. application.properties and application.yml get completion, hover documentation, Ctrl+B and checks for unknown or deprecated keys and wrong boolean or enum values, from the configuration metadata of the jars and the build output on the class path.
  • Beans window and injection navigation. Components, configuration classes, @Bean methods and Spring Data repositories of the project; gutter marks on injection points and beans go to the candidates.
  • Endpoints window. Every @RequestMapping, @GetMapping and friends with its HTTP method and full path; a gutter mark on each handler; one click writes the request into an .http file of the HTTP client.
  • Spring Data JPA. Repository method names like findByLastNameStartingWith complete properties and operators from the entity, mark an unknown property and a wrong number of parameters, and Ctrl+B goes to the field. JPQL in @Query (text blocks too) is highlighted, completes entities and properties after an alias, checks them and the :name parameters.
  • Actuator tab for Spring Boot. A running Spring Boot app gets an Actuator tab next to its console with live Health, Beans, Mappings and Environment, a green dot when the app has started, a jump from a bean or handler to its code, and a hint when an endpoint is not exposed.
  • Message bundles. Keys in getMessage, ResourceBundle.getString, validation message = "{…}" and Thymeleaf #{…} go to their line in messages*.properties with Ctrl+B, complete, show every locale on hover, and warn when missing, with a Create property fix. Property files mark unused keys and missing translations; Find Usages and Rename work on a key.
  • Database window. JDBC data sources (PostgreSQL, MySQL, MariaDB, H2, SQLite and any driver jar), found from spring.datasource too; a schema tree, an SQL console with Ctrl+Enter and results in a grid.
  • Profiler. Run with Profiler records a Java Flight Recorder file: CPU and allocations as a flame graph, a call tree and a method list, Allocated Types by weight, and a thread timeline where a dragged range filters the graphs. Tests (Run Tests with Profiler) and Maven/Gradle tasks such as test, spring-boot:run and bootRun can be profiled too; opening a .jfr file works as well.
  • JShell console. JShell Console (View → Tool Windows or Find Action) opens a .jsh scratch per module on its class path: Ctrl+Enter runs the selection or the whole file, results show as $1 ==> 42, with Stop, Reset and completion from JShell.
  • Dependency Analyzer. The Maven and Gradle dependency tree with conflicts, the version that won, the path that brought each dependency, and an Exclude action.
  • Library sources. Download Sources for all libraries or one class, Choose Sources for a jar, and an option to fetch sources on import.
  • Analyze Stack Trace and thread dumps. Paste a stack trace or a jstack dump to get clickable frames, threads by state and a deadlock mark; Dump Threads in the Run window reads a running JVM with jcmd.
  • Debugger values inline. Variable values appear at the end of the lines during a debug session (can be turned off); Remote JVM Debug attaches to a running JVM.
  • Actions on Save. Reformat (whole file or changed lines) and optimize imports on save, per file mask.
  • Compare with Clipboard in the editor menu and Find Action.
  • Markdown preview pictures from the project and the web, and the preview mode of each file is remembered.

Improved

  • New tool window icons for Database, HTTP Client and Endpoints; the Switcher lists the new windows.
  • Search Everywhere and Go to Class on a small project answer in the same frame.

Fixed

  • Typing in a large merge result no longer eats memory: the editor counts the widest line once per frame and caches it.
  • The debugger adapter closes cleanly when its last session ends.
  • Linux and macOS: the whole test suite is green on both systems.

License: GPL-3.0-or-later. Arro is free and open-source software; see LICENSE.