This is the original formatting of my code:
LoadingCache<String, Map<K, V>> cache = CacheBuilder
.newBuilder()
.maximumSize(10000)
.concurrencyLevel(Runtime.getRuntime().availableProcessors())
.refreshAfterWrite(3, TimeUnit.HOURS)
When my cursor makes this selection and I ask VSCode to format, I get:
LoadingCache<String, Map<K, V>> cache = CacheBuilder.newBuilder().maximumSize(10000)
.concurrencyLevel(Runtime.getRuntime().availableProcessors()).refreshAfterWrite(3, TimeUnit.HOURS)
How do I tell VSCode to leave lines such as newBuilder
, maximumSize
, concurrencyLevel
alone in their own line?
By the way, I am using Google's style guide: https://github.com/google/styleguide/blob/gh-pages/eclipse-java-google-style.xml