8000 GitHub - Mengzuozhu/FluentFormatter: IntelliJ plugin FluentFormatter
[go: up one dir, main page]

Skip to content

Mengzuozhu/FluentFormatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fluent Formatter

中文文档

@Deprecated replaced by intellij-fluent-tool

Formats the Java code in a fluent style, and generates chained methods for the Java builder.

useDemo

Features

● Wrap the invocation of each chained method on a separate line

● Generate the all chained methods for the builder

Example

Before:

IntStream.range(1, 2).map(i -> i + 1).count(); 

After formatted:

IntStream.range(1, 2)
         .map(i -> i + 1)
         .count();

Usage

Fluent format

Select the code -> press Alt+Enter -> select Fluent format

Fluent build

Cursor at the code of Java builder -> press Alt+Enter -> select Fluent build

0