eclipse-jdt / eclipse-jdt/eclipse.jdt.core

Improve formatting of text blocks by Checkstyle TextBlockGoogleStyleFormatting

Open
#5,140 3 comments 1 reaction 1 assignee Claimed by @inuyasha82 View on GitHub
Dominant language
Java
Stars
237
Forks
195
Avg merge
1d 12h
Merged PRs (30d)
47

Description

Hello!

We're using Checkstyle's `TextBlockGoogleStyleFormatting` and it would be nice Eclipse formatter would support it.

Currently we use 'Text block indendation: indent on column' which in this case caused undesired result

```
String hello =
"""
world
go
""";
```

-->
```
String hello =
"""
world
go
""";
```

which triggers Checkstyle `'"""' has incorrect indentation level 8, expected level should be 12.`

Could this 'column' formatter be improved?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.