diffplug / diffplug/spotless

SQL query formatting issue. Hyphen enclosed in string treated as minus

Open
#1,133 2 comments 0 reactions 0 assignees View on GitHub
bug-unconfirmed
Dominant language
Java
Stars
5.6k
Forks
559
Avg merge
1d 13h
Merged PRs (30d)
34

Description

If you are submitting a **bug**, please include the following:

- [ Sql query format is not working as expected. There is no option to skip string enclosed in ` (apostrophe) . Certain tables with names including hypen - symbol are treaded as minus and adding space.] summary of problem
- [ ] gradle or maven version
- [ 2.12.1] spotless version
- [ ] operating system and version
- [ ] copy-paste your full Spotless configuration block(s), and a link to a public git repo that reproduces the problem if possible
- [ ] copy-paste the full content of any console errors emitted by `gradlew spotless[Apply/Check] --stacktrace`

If you're just submitting a feature request or question, no need for the above.

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.