Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

演算子の不要な改行 #14

Open
ma91n opened this issue Sep 14, 2022 · 0 comments
Open

演算子の不要な改行 #14

ma91n opened this issue Sep 14, 2022 · 0 comments

Comments

@ma91n
Copy link
Contributor

ma91n commented Sep 14, 2022

Version

$ usqlfmt -v
usqlfmt 0.1.4

As Is

なお、末尾の 1000 * 1000 の部分の改行だが、実行するたびにワンラインになったり改行されたりする。

SELECT
	1+	1
,	2
	-2
,	3/3
,	4*4
,	3%3
FROM
	users
LIMIT 1000
	*	1000
;

Want to be

SELECT
	1+1
,	2-2
,	3/3
,	4*4
,	3%3
FROM
	users
LIMIT 1000 * 1000
;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant