Resources
Line markers for classpath resource paths
There are a handful of methods in the Java and Groovy DSLs, tag attributes in the XML and Spring XML DSLs,
and properties in the YAML DSL that accept resource path Strings instead of abstract resources.
These line markers aim to help with the navigation to these classpath (with or without having the classpath:
prefix specified), file (with the file:
prefix), and jar (with the jar:
prefix) resources.
The icon changes according to the referenced file’s type, and clicking on it opens the referenced file in a new editor tab.
Code folding for classpath and file system resources
In order to minimize having to see the boilerplate instantiation of resources (new ClassPathResource("...")
and new FileSystemResource("...")
), this code folding collapses the instantiation call into a version that would be passed in as the string variant of the resource path.
The folding is disabled by default, and can be enabled in Settings
/ Editor
/ General
/ Code Folding
.